Module Name: src Committed By: riastradh Date: Tue Jul 23 07:52:06 UTC 2024
Modified Files: src/external/mit/xorg/server/drivers/xf86-video-nv: Makefile Log Message: xf86-video-nv: Don't fail on -Wpointer-sign with clang. Not sure why this isn't disabled by default (surely this very old code hasn't been clean for it in a long time?), but with any luck this should resolve clang build failures like: /home/source/ab/HEAD-llvm/xsrc/external/mit/xf86-video-nv/dist/src/nv_driver.c:1557:40: error: passing 'char *' to parameter of type 'CARD8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Werror,-Wpointer-sign] vgaHWSetMmioFuncs(VGAHWPTR(pScrn), (char *)pNv->IOAddress, 0); ^~~~~~~~~~~~~~~~~~~~~~ /home/builds/ab/HEAD-llvm/macppc/202407182350Z-dest/usr/X11R7/include/xorg/vgaHW.h:189:62: note: passing argument to parameter 'base' here extern _X_EXPORT void vgaHWSetMmioFuncs(vgaHWPtr hwp, CARD8 *base, int offset); ^ 1 error generated. --- nv_driver.pico --- *** Failed target: nv_driver.pico *** In directory: /home/source/ab/HEAD-llvm/src/external/mit/xorg/server/drivers/xf86-video-nv To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 \ src/external/mit/xorg/server/drivers/xf86-video-nv/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.