1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-04 11:23:46 +00:00

Band-aid over memory hungry gcc 4.2 when compiling xf86ScanPci.c.

Submitted by:	Michiel Boland ( michiel at boland dot org )
This commit is contained in:
Dejan Lesjak 2007-06-21 17:33:47 +00:00
parent 525a1c1cfb
commit 07da6fb1ec
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=194013
2 changed files with 15 additions and 0 deletions

View File

@ -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"

View File

@ -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@