freebsd-ports/graphics/drm_info
Jan Beich 704a601ca6 graphics/drm_info: unbreak build after r561311
tables.c:247:7: error: duplicate case value '0'
        case DRM_FORMAT_MOD_LINEAR:
             ^
/usr/local/include/libdrm/drm_fourcc.h:422:31: note: expanded from macro 'DRM_FORMAT_MOD_LINEAR'
#define DRM_FORMAT_MOD_LINEAR   fourcc_mod_code(NONE, 0)
                                ^
/usr/local/include/libdrm/drm_fourcc.h:370:2: note: expanded from macro 'fourcc_mod_code'
        ((((__u64)DRM_FORMAT_MOD_VENDOR_## vendor) << 56) | ((val) & 0x00ffffffffffffffULL))
        ^
tables.c:245:7: note: previous case defined here
        case DRM_FORMAT_MOD_LINEAR:
             ^
/usr/local/include/libdrm/drm_fourcc.h:422:31: note: expanded from macro 'DRM_FORMAT_MOD_LINEAR'
#define DRM_FORMAT_MOD_LINEAR   fourcc_mod_code(NONE, 0)
                                ^
/usr/local/include/libdrm/drm_fourcc.h:370:2: note: expanded from macro 'fourcc_mod_code'
        ((((__u64)DRM_FORMAT_MOD_VENDOR_## vendor) << 56) | ((val) & 0x00ffffffffffffffULL))
        ^
tables.c:251:7: error: duplicate case value '288230376151711746'
        case DRM_FORMAT_MOD_SAMSUNG_16_16_TILE:
             ^
/usr/local/include/libdrm/drm_fourcc.h:552:43: note: expanded from macro 'DRM_FORMAT_MOD_SAMSUNG_16_16_TILE'
#define DRM_FORMAT_MOD_SAMSUNG_16_16_TILE       fourcc_mod_code(SAMSUNG, 2)
                                                ^
/usr/local/include/libdrm/drm_fourcc.h:370:2: note: expanded from macro 'fourcc_mod_code'
        ((((__u64)DRM_FORMAT_MOD_VENDOR_## vendor) << 56) | ((val) & 0x00ffffffffffffffULL))
        ^
tables.c:241:7: note: previous case defined here
        case DRM_FORMAT_MOD_SAMSUNG_16_16_TILE:
             ^
/usr/local/include/libdrm/drm_fourcc.h:552:43: note: expanded from macro 'DRM_FORMAT_MOD_SAMSUNG_16_16_TILE'
#define DRM_FORMAT_MOD_SAMSUNG_16_16_TILE       fourcc_mod_code(SAMSUNG, 2)
                                                ^
/usr/local/include/libdrm/drm_fourcc.h:370:2: note: expanded from macro 'fourcc_mod_code'
        ((((__u64)DRM_FORMAT_MOD_VENDOR_## vendor) << 56) | ((val) & 0x00ffffffffffffffULL))
        ^

Reported by:	pkg-fallout
2021-01-15 06:57:37 +00:00
..
distinfo graphics/drm_info: unbreak build after r561311 2021-01-15 06:57:37 +00:00
Makefile graphics/drm_info: unbreak build after r561311 2021-01-15 06:57:37 +00:00
pkg-descr