aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2007-12-21 18:01:25 +0800
committerpav <pav@FreeBSD.org>2007-12-21 18:01:25 +0800
commit01abb886e925a384f300e729ff6416874f1c4c45 (patch)
tree6735bf3ee0f2f12895b1b8267aeb6df8d0daa2dd
parentc1d01d39473954db91a3b4dee06862e0cf571eba (diff)
downloadfreebsd-ports-gnome-01abb886e925a384f300e729ff6416874f1c4c45.tar.gz
freebsd-ports-gnome-01abb886e925a384f300e729ff6416874f1c4c45.tar.zst
freebsd-ports-gnome-01abb886e925a384f300e729ff6416874f1c4c45.zip
- Fix build on FreeBSD 8.x
Submitted by: Wesley Shields <wxs@atarininja.org>
-rw-r--r--devel/py-bison/files/patch-setup.py12
-rw-r--r--games/dangerdeep/files/patch-SConstruct21
-rw-r--r--net/pppoa/files/patch-ab2
-rw-r--r--www/oops/files/patch-configure.in9
4 files changed, 25 insertions, 19 deletions
diff --git a/devel/py-bison/files/patch-setup.py b/devel/py-bison/files/patch-setup.py
index d17aeffc9978..0568d1ca08a8 100644
--- a/devel/py-bison/files/patch-setup.py
+++ b/devel/py-bison/files/patch-setup.py
@@ -1,25 +1,25 @@
---- setup.py.orig Sat Apr 24 04:05:41 2004
-+++ setup.py Sat Nov 5 18:22:47 2005
+--- ./setup.py.orig 2004-04-23 22:05:41.000000000 -0400
++++ ./setup.py 2007-12-20 11:34:57.000000000 -0500
@@ -24,6 +24,26 @@
extra_link_args = []
bison2pyscript = 'utils/bison2py'
bisondynlibModule = "src/c/bisondynlib-linux.c"
-+elif sys.platform == 'freebsd4':
++elif sys.platform == 'freebsd5':
+ libs = []
+ extra_link_args = []
+ bison2pyscript = 'utils/bison2py'
+ bisondynlibModule = "src/c/bisondynlib-linux.c"
-+elif sys.platform == 'freebsd5':
++elif sys.platform == 'freebsd6':
+ libs = []
+ extra_link_args = []
+ bison2pyscript = 'utils/bison2py'
+ bisondynlibModule = "src/c/bisondynlib-linux.c"
-+elif sys.platform == 'freebsd6':
++elif sys.platform == 'freebsd7':
+ libs = []
+ extra_link_args = []
+ bison2pyscript = 'utils/bison2py'
+ bisondynlibModule = "src/c/bisondynlib-linux.c"
-+elif sys.platform == 'freebsd7':
++elif sys.platform == 'freebsd8':
+ libs = []
+ extra_link_args = []
+ bison2pyscript = 'utils/bison2py'
diff --git a/games/dangerdeep/files/patch-SConstruct b/games/dangerdeep/files/patch-SConstruct
index 2bf86f0a0f89..5e74c5dc744d 100644
--- a/games/dangerdeep/files/patch-SConstruct
+++ b/games/dangerdeep/files/patch-SConstruct
@@ -1,6 +1,15 @@
---- SConstruct Thu Oct 12 17:14:02 2006
-+++ SConstruct Thu Oct 12 17:16:36 2006
-@@ -69,7 +69,7 @@
+--- SConstruct.orig 2007-06-11 14:29:13.000000000 -0400
++++ SConstruct 2007-12-20 20:52:35.000000000 -0500
+@@ -62,7 +62,7 @@
+ if (debug == 1):
+ env.Append(CCFLAGS = '-g')
+ env.Append(CPPDEFINES = ['DEBUG'])
+-elif (sys.platform == 'freebsd5') or (sys.platform == 'freebsd6') or (sys.platform == 'freebsd7'):
++elif (sys.platform == 'freebsd5') or (sys.platform == 'freebsd6') or (sys.platform == 'freebsd7') or (sys.platform == 'freebsd8'):
+ print "Compiling for FreeBSD Environment"
+ env = Environment(ENV = os.environ)
+ LOCALBASE = os.environ['LOCALBASE']
+@@ -70,7 +70,7 @@
SDL_CONFIG = os.environ['SDL_CONFIG']
env.Replace(CC = os.environ['CC'])
env.Replace(CXX = os.environ['CXX'])
@@ -9,7 +18,7 @@
libpath = [LOCALBASE + '/lib', X11BASE + '/lib']
gllibs = ['GL', 'GLU']
sdllibs = ['SDL_image']
-@@ -78,7 +78,7 @@
+@@ -79,7 +79,7 @@
cpuinfol = cpuinfof.readlines()
mmxsupported = False
ssesupported = False
@@ -18,8 +27,8 @@
if i == '1\n':
mmxsupported = True
ssesupported = True
-@@ -89,14 +89,15 @@
- osspecificsrc += ['water_sse.cpp']
+@@ -91,14 +91,15 @@
+ osspecificsrc += []
print 'Using x86 SSE/MMX optimizations.'
- env.Replace(CCFLAGS = os.environ['CFLAGS'])
diff --git a/net/pppoa/files/patch-ab b/net/pppoa/files/patch-ab
index 60357d00e278..e5b10bc2574e 100644
--- a/net/pppoa/files/patch-ab
+++ b/net/pppoa/files/patch-ab
@@ -5,7 +5,7 @@
;;
- *-freebsd5*)
-+ *-freebsd[567]*)
++ *-freebsd[5678]*)
st_compile="modem_run pppoa2 pppoa3"
THREAD_LIBS="-pthread"
if test "${ac_cv_header_semaphore_h+set}" = set; then
diff --git a/www/oops/files/patch-configure.in b/www/oops/files/patch-configure.in
index bfa29afc84fa..5ed6e25baba9 100644
--- a/www/oops/files/patch-configure.in
+++ b/www/oops/files/patch-configure.in
@@ -1,8 +1,5 @@
-
-$FreeBSD$
-
---- configure.in.orig
-+++ configure.in
+--- configure.in.orig 2004-11-23 00:20:04.000000000 -0500
++++ configure.in 2007-12-20 15:36:18.000000000 -0500
@@ -328,14 +328,17 @@
rel=`uname -r`
case "$rel" in
@@ -19,7 +16,7 @@ $FreeBSD$
+ 5.[[012]]*)
+ LIBS="$PTHREAD_LIBS $LEXLIB $LIBS"
+ ;;
-+ [[567]]*)
++ [[5678]]*)
+ CFLAGS="$CFLAGS $PTHREAD_CFLAGS $PTHREAD_LIBS"
+ ;;
+ *)