While making the X server in xserver/hw/darwin/quartz/xpr/dri.c these errors are reported: dri.c: In function ‘DRIExtensionInit’: dri.c:271: warning: implicit declaration of function ‘AllocatePixmapPrivateIndex’ dri.c:271: warning: nested extern declaration of ‘AllocatePixmapPrivateIndex’ dri.c: In function ‘DRICreateSurface’: dri.c:425: error: ‘struct _Pixmap’ has no member named ‘devPrivates’ dri.c:450: error: ‘struct _Pixmap’ has no member named ‘devPrivates’ dri.c: In function ‘DRIDestroySurface’: dri.c:521: error: ‘struct _Pixmap’ has no member named ‘devPrivates’ dri.c: In function ‘DRIDrawablePrivDelete’: dri.c:555: error: ‘struct _Pixmap’ has no member named ‘devPrivates’ dri.c:579: error: ‘struct _Pixmap’ has no member named ‘devPrivates’ {standard input}:593:non-relocatable subtraction expression, "_DRIDrawablePrivResType" minus "L00000000005$pb" {standard input}:593:symbol: "_DRIDrawablePrivResType" can't be undefined in a subtraction expression {standard input}:592:non-relocatable subtraction expression, "_DRIDrawablePrivResType" minus "L00000000005$pb" {standard input}:592:symbol: "_DRIDrawablePrivResType" can't be undefined in a subtraction expression This patch makes it go away: 40,42d39 < #ifdef HAVE_XORG_CONFIG_H < #include <xorg-config.h> < #endif Mac OS X 10.4.8 GCC 4.0.1 Release 7.1.99.2
Created attachment 7672 [details] [review] Proposed patch to make xserver/hw/darwin/quartz/xpr/dri.c work on Mac OS X
This patch was originally written by Peter O'Gorman.
Sorry about the phenomenal bug spam, guys. Adding xorg-team@ to the QA contact so bugs don't get lost in future.
Building XDarwin with --disable-glx because GLX is not supported in XDarwin, I can't reproduce this. So let's assume this all my fault.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.