diff options
Diffstat (limited to 'games/quake3/files/patch-code-Construct')
-rw-r--r-- | games/quake3/files/patch-code-Construct | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/games/quake3/files/patch-code-Construct b/games/quake3/files/patch-code-Construct new file mode 100644 index 000000000000..21b6c1d5ab76 --- /dev/null +++ b/games/quake3/files/patch-code-Construct @@ -0,0 +1,58 @@ +--- code/Construct Mon Aug 15 23:56:27 2005 ++++ ../../work/quake3-1.32b/code/Construct Sun Aug 28 23:13:56 2005 +@@ -19,8 +19,8 @@ + use Cons_gcc; + + # defaults +-$config = 'debug'; +-$do_smp = 1; ++$config = 'release'; ++$do_smp = 0; + $do_masterserver = 0; + $do_authserver = 0; + $do_authport = 0; +@@ -63,9 +63,9 @@ + else + { + # libc .. do the little magic! +- $libc_cmd = '/lib/libc.so.6 |grep "GNU C "|grep version|awk -F "version " \'{ print $2 }\'|cut -b -3'; +- $libc = `$libc_cmd`; +- chop ($libc); ++ # $libc_cmd = '/lib/libc.so.6 |grep "GNU C "|grep version|awk -F "version " \'{ print $2 }\'|cut -b -3'; ++ # $libc = `$libc_cmd`; ++ # chop ($libc); + } + + if ($DO_WIN32 eq 1) +@@ -227,7 +227,7 @@ + # build the config directory + $CONFIG_DIR = $config . '-' . $cpu . '-' . $OS . '-' . $libc; + +-$COMMON_CFLAGS = '-pipe -fsigned-char '; ++$COMMON_CFLAGS = '-pipe -fsigned-char -I/usr/local/include -L/usr/local/lib -I/usr/X11R6/include -L/usr/X11R6/lib '; + + if ($config eq 'debug') + { +@@ -237,7 +237,7 @@ + } + else + { +- $BASE_CFLAGS = $COMMON_CFLAGS . '-DNDEBUG -O6 -mcpu=pentiumpro -march=pentium -fomit-frame-pointer -ffast-math -malign-loops=2 -malign-jumps=2 -malign-functions=2 -fno-strict-aliasing -fstrength-reduce '; ++ $BASE_CFLAGS = $COMMON_CFLAGS . '-DNDEBUG -O6 -march=pentiumpro -march=pentium -fomit-frame-pointer -ffast-math -falign-loops=2 -falign-jumps=2 -falign-functions=2 -fno-strict-aliasing -fstrength-reduce '; + $BSPC_BASE_CFLAGS = $BASE_CFLAGS . '-DLINUX -DBSPC -Dstricmp=strcasecmp '; + } + +@@ -287,11 +287,11 @@ + system("mkdir qvmtools 2>/dev/null"); + if (@_[0] eq 'q3lcc') + { +- system("cd ../lcc ; make all ; cp /tmp/lcc ../code/qvmtools/q3lcc ; cp /tmp/rcc ../code/qvmtools/q3rcc ; cp /tmp/cpp ../code/qvmtools/q3cpp"); ++ system("cd ../lcc ; gmake all ; cp ../lcc/build/lcc ../code/qvmtools/q3lcc ; cp ../lcc/build/rcc ../code/qvmtools/q3rcc ; cp ../lcc/build/cpp ../code/qvmtools/q3cpp"); + } + elsif (@_[0] eq 'q3asm') + { +- system("cd ../q3asm ; make ; cp q3asm ../code/qvmtools"); ++ system("cd ../q3asm ; gmake ; cp q3asm ../code/qvmtools"); + } + else + { |