summaryrefslogtreecommitdiff
path: root/games/crossfire-server
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2013-03-12 11:39:49 +0000
committerwiz <wiz@pkgsrc.org>2013-03-12 11:39:49 +0000
commit2d697d664e202e455f84d1619e7d9eb82924816d (patch)
treedd3e917170b9d6c3413d7341b47a8e75bbb98316 /games/crossfire-server
parent626153e855341c080a56284cdc061a8ee0f07787 (diff)
downloadpkgsrc-2d697d664e202e455f84d1619e7d9eb82924816d.tar.gz
redefinition of PointerBarrier.
gcc 4.6 won't complain about that, but earlier versions do: http://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=ce3765bf44e49ef0568a1ad4a0b7f807591d6412 gcc 4.6 with -pedantic-errors shows: /opt/xorg/include/X11/extensions/XInput2.h:172:13: error: redefinition of typedef ‘PointerBarrier’ [-pedantic] In file included from test.c:1:0: /opt/xorg/include/X11/extensions/Xfixes.h:255:13: note: previous declaration of ‘PointerBarrier’ was here PointerBarriers is defined in XFixes.h and here. So hook onto the only thing we can in Xfixes.h and use that to figure out if we need to typedef ourselves. XFIXES_MAJOR is defined in xfixeswire.h, so we can't hook onto it directly. Adding this ifdef here means we have include order dependency of XFixes.h before XInput2.h unless we add a similar ifdef to the fixes headers. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> --- Nasty, but can't think of a better way atm.
Diffstat (limited to 'games/crossfire-server')
0 files changed, 0 insertions, 0 deletions