When making the X server in xserver/hw/xprint/ddxInit.c these errors are reported: ddxInit.c: In function ‘PointerProc’: ddxInit.c:161: warning: ‘miPointerGetMotionBufferSize’ is deprecated (declared at ../../include/../mi/ mipointer.h:105) ddxInit.c:161: error: too few arguments to function ‘InitPointerDeviceStruct’ ddxInit.c: At top level: ddxInit.c:210: warning: no previous prototype for ‘DarwinHandleGUI’ ddxInit.c:214: warning: no previous prototype for ‘DarwinGlxExtensionInit’ ddxInit.c:220: warning: no previous prototype for ‘DarwinGlxWrapInitVisuals’ ddxInit.c:294: warning: no previous prototype for ‘ChangePointerDevice’ ddxInit.c:334: warning: no previous prototype for ‘ChangeKeyboardDevice’ {standard input}:103:non-relocatable subtraction expression, "_printModMap" minus "L00000000002 $pb" {standard input}:103:symbol: "_printModMap" can't be undefined in a subtraction expression {standard input}:102:non-relocatable subtraction expression, "_printModMap" minus "L00000000002 $pb" {standard input}:102:symbol: "_printModMap" can't be undefined in a subtraction expression {standard input}:91:non-relocatable subtraction expression, "_printKeyMap" minus "L00000000002$pb" {standard input}:91:symbol: "_printKeyMap" can't be undefined in a subtraction expression {standard input}:90:non-relocatable subtraction expression, "_printKeyMap" minus "L00000000002$pb" {standard input}:90:symbol: "_printKeyMap" can't be undefined in a subtraction expression make[3]: *** [Xprt-ddxInit.o] Error 1 This patch corrects it: 161c161,162 < miPointerGetMotionBufferSize()); --- > miPointerGetMotionBufferSize(), > 2); Mac OS X 10.4.8 GCC 4.0.1 Release 7.1.99.2
Created attachment 7668 [details] [review] Proposed patch to make xserver/hw/xprint/ddxInit.c work on Mac OS X
it's still broken in a few ways, but has been fixed otherwise
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.