diff options
author | Dejan Lesjak <lesi@FreeBSD.org> | 2007-06-21 17:33:47 +0000 |
---|---|---|
committer | Dejan Lesjak <lesi@FreeBSD.org> | 2007-06-21 17:33:47 +0000 |
commit | 07da6fb1ecfff30641c6e83296e687a35648a056 (patch) | |
tree | 44fb450c29c13359d35d6c62276081eb4ab6e028 /x11-servers | |
parent | 525a1c1cfba6585e11d6511e0a9fc1006211509c (diff) | |
download | ports-07da6fb1ecfff30641c6e83296e687a35648a056.tar.gz ports-07da6fb1ecfff30641c6e83296e687a35648a056.zip |
Notes
Diffstat (limited to 'x11-servers')
-rw-r--r-- | x11-servers/xorg-server/Makefile | 4 | ||||
-rw-r--r-- | x11-servers/xorg-server/files/extra-patch-gcc42 | 11 |
2 files changed, 15 insertions, 0 deletions
diff --git a/x11-servers/xorg-server/Makefile b/x11-servers/xorg-server/Makefile index ed0461620aa5..cb2ba615090e 100644 --- a/x11-servers/xorg-server/Makefile +++ b/x11-servers/xorg-server/Makefile @@ -89,6 +89,10 @@ MAN1+= scanpci.1 PLIST_SUB+= AMD64_I386="@comment " .endif +.if ${OSVERSION} > 700042 +EXTRA_PATCHES= ${PATCHDIR}/extra-patch-gcc42 +.endif + .if !defined(NO_SUID_XSERVER) || ${NO_SUID_XSERVER} == NO pre-everything:: @${ECHO_MSG} "By default, the X Server installs as a set-user-id root binary. When run by" diff --git a/x11-servers/xorg-server/files/extra-patch-gcc42 b/x11-servers/xorg-server/files/extra-patch-gcc42 new file mode 100644 index 000000000000..4bf5a81558a4 --- /dev/null +++ b/x11-servers/xorg-server/files/extra-patch-gcc42 @@ -0,0 +1,11 @@ +--- hw/xfree86/scanpci/Makefile.in.orig Wed Jun 20 12:50:37 2007 ++++ hw/xfree86/scanpci/Makefile.in Wed Jun 20 12:50:57 2007 +@@ -132,7 +132,7 @@ + CCDEPMODE = @CCDEPMODE@ + CFB_FALSE = @CFB_FALSE@ + CFB_TRUE = @CFB_TRUE@ +-CFLAGS = @CFLAGS@ ++CFLAGS = @CFLAGS@ -O0 + COMPILEDDEFAULTFONTPATH = @COMPILEDDEFAULTFONTPATH@ + COMPOSITE_FALSE = @COMPOSITE_FALSE@ + COMPOSITE_TRUE = @COMPOSITE_TRUE@ |