On Thu, May 10, 2018 at 12:42:24PM -0400, Adam Jackson wrote: > Lots of Present, DRI3 modifier, and buildsystem fixes. Thanks to > everyone who contributed to this release!
I've updated the pkgsrc package, but now lots of drivers don't build. xf86-video-tseng-1.2.5: tseng_driver.c: In function 'TsengPreInit': tseng_driver.c:1041:10: error: 'struct _ScrnInfoRec' has no member named 'maxHValue' pScrn->maxHValue = Tseng_HMAX; ^~ tseng_driver.c:1042:10: error: 'struct _ScrnInfoRec' has no member named 'maxVValue' pScrn->maxVValue = Tseng_VMAX; ^~ tseng_driver.c:1136:17: error: 'struct _ScrnInfoRec' has no member named 'maxHValue' NULL, 32, pScrn->maxHValue, 8*pTseng->Bytesperpixel, /* H limits */ ^~ tseng_driver.c:1137:10: error: 'struct _ScrnInfoRec' has no member named 'maxVValue' 0, pScrn->maxVValue, /* V limits */ ^~ tseng_driver.c: In function 'TsengMapMem': tseng_driver.c:1659:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] pTseng->MMioBase = pTseng->FbBase; ^ *** [tseng_driver.lo] Error code 1 xf86-video-sis-0.10.9: sis_driver.c: In function 'SiSPrintModes': sis_driver.c:2741:39: error: 'struct _ScrnInfoRec' has no member named 'virtualFrom'; did you mean 'virtualX'? xf86DrvMsg(pScrn->scrnIndex, pScrn->virtualFrom, "Virtual size is %dx%d " ^~ xf86-video-savage-2.3.9: savage_driver.c: In function 'SavagePreInit': savage_driver.c:1236:13: warning: implicit declaration of function 'xf86DisableRandR' [-Wimplicit-function-declaration] xf86DisableRandR(); ^~~~~~~~~~~~~~~~ savage_driver.c:2037:10: error: 'struct _ScrnInfoRec' has no member named 'maxHValue' pScrn->maxHValue = 2048 << 3; /* 11 bits of h_total 8-pixel units */ ^~ savage_driver.c:2038:10: error: 'struct _ScrnInfoRec' has no member named 'maxVValue' pScrn->maxVValue = 2048; /* 11 bits of v_total */ ^~ *** [savage_driver.lo] Error code 1 xf86-video-s3virge-1.10.7: CC s3v_driver.lo s3v_driver.c: In function 'S3VPreInit': s3v_driver.c:741:12: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if ((s = xf86GetOptValString(ps3v->Options, OPTION_ROTATE))) { ^ s3v_driver.c:1215:8: error: 'struct _ScrnInfoRec' has no member named 'maxHValue' pScrn->maxHValue = 2048; ^~ s3v_driver.c:1216:8: error: 'struct _ScrnInfoRec' has no member named 'maxVValue' pScrn->maxVValue = 2048; ^~ xf86-video-rendition-4.2.6: rendition.c: In function 'renditionPreInit': rendition.c:723:20: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if ((in_string = xf86GetOptValString(pRendition->Options, OPTION_ROTATE))){ ^ rendition.c:816:16: error: 'struct _ScrnInfoRec' has no member named 'maxHValue' pScreenInfo->maxHValue = MAX_HTOTAL; ^~ rendition.c:817:16: error: 'struct _ScrnInfoRec' has no member named 'maxVValue' pScreenInfo->maxVValue = MAX_VTOTAL; ^~ *** [rendition.lo] Error code 1 xf86-video-r128-6.10.2: In file included from /usr/include/amd64/ansi.h:39:0, from /usr/include/string.h:36, from r128_driver.c:65: ../config.h:103:18: error: expected declaration specifiers or '...' before '__builtin_constant_p' #define bswap_64 bswap64 ^ /scratch/x11/xf86-video-r128/work/.buildlink/include/xorg/misc.h:300:1: note: in expansion of macro 'bswap_64' bswap_64(uint64_t x) ^~~~~~~~ ../config.h:100:18: error: expected declaration specifiers or '...' before '__builtin_constant_p' #define bswap_32 bswap32 ^ /scratch/x11/xf86-video-r128/work/.buildlink/include/xorg/misc.h:319:1: note: in expansion of macro 'bswap_32' bswap_32(uint32_t x) ^~~~~~~~ ../config.h:97:18: error: expected declaration specifiers or '...' before '__builtin_constant_p' #define bswap_16 bswap16 ^ /scratch/x11/xf86-video-r128/work/.buildlink/include/xorg/misc.h:363:1: note: in expansion of macro 'bswap_16' bswap_16(uint16_t x) ^~~~~~~~ xf86-video-mach64-6.9.5: atipreinit.c: In function 'ATIPreInit': atipreinit.c:2255:16: error: 'struct _ScrnInfoRec' has no member named 'maxHValue' pScreenInfo->maxHValue = (MaxBits(CRTC_H_TOTAL) + 1) << 3; ^~ atipreinit.c:2268:20: error: 'struct _ScrnInfoRec' has no member named 'maxHValue' pScreenInfo->maxHValue >>= 1; ^~ atipreinit.c:2271:16: error: 'struct _ScrnInfoRec' has no member named 'maxVValue' pScreenInfo->maxVValue = MaxBits(CRTC_V_TOTAL) + 1; ^~ xf86-video-ati-18.0.1: In file included from /usr/include/amd64/ansi.h:39:0, from /usr/include/unistd.h:66, from ati.h:26, from atimodule.c:27: ../config.h:135:18: error: expected declaration specifiers or '...' before '__builtin_constant_p' #define bswap_64 bswap64 ^ /scratch/x11/xf86-video-ati/work/.buildlink/include/xorg/misc.h:300:1: note: in expansion of macro 'bswap_64' bswap_64(uint64_t x) ^~~~~~~~ ../config.h:132:18: error: expected declaration specifiers or '...' before '__builtin_constant_p' #define bswap_32 bswap32 ^ /scratch/x11/xf86-video-ati/work/.buildlink/include/xorg/misc.h:319:1: note: in expansion of macro 'bswap_32' bswap_32(uint32_t x) ^~~~~~~~ ../config.h:129:18: error: expected declaration specifiers or '...' before '__builtin_constant_p' #define bswap_16 bswap16 ^ /scratch/x11/xf86-video-ati/work/.buildlink/include/xorg/misc.h:363:1: note: in expansion of macro 'bswap_16' bswap_16(uint16_t x) ^~~~~~~~ xf86-video-amdgpu-18.0.1: In file included from /usr/include/stdint.h:35:0, from amdgpu_probe.h:39, from amdgpu_misc.c:27: ../config.h:141:18: error: expected declaration specifiers or '...' before '__builtin_constant_p' #define bswap_64 bswap64 ^ /scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:300:1: note: in expansion of macro 'bswap_64' bswap_64(uint64_t x) ^~~~~~~~ ../config.h:138:18: error: expected declaration specifiers or '...' before '__builtin_constant_p' #define bswap_32 bswap32 ^ /scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:319:1: note: in expansion of macro 'bswap_32' bswap_32(uint32_t x) ^~~~~~~~ ../config.h:135:18: error: expected declaration specifiers or '...' before '__builtin_constant_p' #define bswap_16 bswap16 ^ /scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:363:1: note: in expansion of macro 'bswap_16' bswap_16(uint16_t x) ^~~~~~~~ xf86-input-mouse-1.9.2: --- mouse.lo --- mouse.c: In function 'InitProtocols': mouse.c:824:5: error: implicit declaration of function 'xf86GetOS' [-Werror=implicit-function-declaration] xf86GetOS(&osname, NULL, NULL, NULL); ^~~~~~~~~ mouse.c:824:5: warning: nested extern declaration of 'xf86GetOS' [-Wnested-externs] cc1: some warnings being treated as errors *** [mouse.lo] Error code 1 xf86-video-intel-2.99.917: checking whether to include DRI1 support... no configure: error: DRI1 requested but prerequisites not found *** Error code 1 Are patches for these available? Thanks, Thomas _______________________________________________ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: https://lists.x.org/mailman/listinfo/xorg-devel