summaryrefslogtreecommitdiffstats
path: root/games/gltron/files
diff options
context:
space:
mode:
authoranholt <anholt@FreeBSD.org>2003-05-06 23:11:24 +0000
committeranholt <anholt@FreeBSD.org>2003-05-06 23:11:24 +0000
commit7c598492f90adf22c729c5857760379108cd856f (patch)
treec269778c4a6786261ab095651f45dfc23108a418 /games/gltron/files
parentea318526e69c5b7ae8229c83ef067ae60b68d5db (diff)
downloadFreeBSD-ports-7c598492f90adf22c729c5857760379108cd856f.zip
FreeBSD-ports-7c598492f90adf22c729c5857760379108cd856f.tar.gz
Update to 0.62.
PR: ports/51855 Submitted by: Ports Fury
Diffstat (limited to 'games/gltron/files')
-rw-r--r--games/gltron/files/patch-Makefile.in14
-rw-r--r--games/gltron/files/patch-ad160
-rw-r--r--games/gltron/files/patch-gltron.c27
3 files changed, 0 insertions, 201 deletions
diff --git a/games/gltron/files/patch-Makefile.in b/games/gltron/files/patch-Makefile.in
deleted file mode 100644
index 3ee216a..0000000
--- a/games/gltron/files/patch-Makefile.in
+++ /dev/null
@@ -1,14 +0,0 @@
-
-$FreeBSD$
-
---- Makefile.in 2001/04/27 18:30:04 1.1
-+++ Makefile.in 2001/04/27 18:31:32
-@@ -20,7 +20,7 @@
-
- CC = @CC@
-
--CFLAGS = -c @CFLAGS@ @INCS@
-+CFLAGS = -c @CFLAGS@ @INCS@ -DPREFIX=\"@prefix@\"
- LIBS = @LIBS@
-
- # fix these later
diff --git a/games/gltron/files/patch-ad b/games/gltron/files/patch-ad
deleted file mode 100644
index 2d5a41a..0000000
--- a/games/gltron/files/patch-ad
+++ /dev/null
@@ -1,160 +0,0 @@
-
-$FreeBSD$
-
---- configure.orig Thu Apr 12 23:27:42 2001
-+++ configure Fri Apr 27 21:44:23 2001
-@@ -536,7 +536,7 @@
-
-
-
--LIBS='-L/usr/X11R6/lib'
-+LIBS="$LIBS $LDFLAGS"
-
- # Extract the first word of "gcc", so it can be a program name with args.
- set dummy gcc; ac_word=$2
-@@ -972,7 +972,7 @@
- fi
-
-
--CFLAGS=""
-+CFLAGS="$CFLAGS $CPPFLAGS"
-
- # Check whether --enable-warn or --disable-warn was given.
- if test "${enable_warn+set}" = set; then
-@@ -1023,7 +1023,7 @@
- fi
-
- if test "x$enable_optimize" ; then
-- CFLAGS="$CFLAGS -O$enable_optimize"
-+ CFLAGS="$CFLAGS"
- fi
-
- # Check whether --enable-network or --disable-network was given.
-@@ -1042,7 +1042,7 @@
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- ac_save_LIBS="$LIBS"
--LIBS="-lSDL_net $LIBS"
-+LIBS="$LIBS -lSDL_net"
- cat > conftest.$ac_ext <<EOF
- #line 1048 "configure"
- #include "confdefs.h"
-@@ -1072,7 +1072,7 @@
- #define $ac_tr_lib 1
- EOF
-
-- LIBS="-lSDL_net $LIBS"
-+ LIBS="$LIBS -lSDL_net"
-
- else
- echo "$ac_t""no" 1>&6
-@@ -1147,7 +1147,7 @@
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- ac_save_LIBS="$LIBS"
--LIBS="-lX11 $LIBS"
-+LIBS="$LIBS -lX11"
- cat > conftest.$ac_ext <<EOF
- #line 1153 "configure"
- #include "confdefs.h"
-@@ -1177,7 +1177,7 @@
- #define $ac_tr_lib 1
- EOF
-
-- LIBS="-lX11 $LIBS"
-+ LIBS="$LIBS -lX11"
-
- else
- echo "$ac_t""no" 1>&6
-@@ -1191,7 +1191,7 @@
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- ac_save_LIBS="$LIBS"
--LIBS="-lGL $LIBS"
-+LIBS="$LIBS -lGL"
- cat > conftest.$ac_ext <<EOF
- #line 1197 "configure"
- #include "confdefs.h"
-@@ -1221,7 +1221,7 @@
- #define $ac_tr_lib 1
- EOF
-
-- LIBS="-lGL $LIBS"
-+ LIBS="$LIBS -lGL"
-
- else
- echo "$ac_t""no" 1>&6
-@@ -1229,14 +1229,14 @@
- fi
-
-
--echo $ac_n "checking for main in -lSDL""... $ac_c" 1>&6
--echo "configure:1234: checking for main in -lSDL" >&5
-+echo $ac_n "checking for main in -lSDL-1.1""... $ac_c" 1>&6
-+echo "configure:1234: checking for main in -lSDL-1.1" >&5
- ac_lib_var=`echo SDL'_'main | sed 'y%./+-%__p_%'`
- if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- ac_save_LIBS="$LIBS"
--LIBS="-lSDL $LIBS"
-+LIBS="$LIBS -lSDL-1.1 ${PTHREAD_LIBS}"
- cat > conftest.$ac_ext <<EOF
- #line 1242 "configure"
- #include "confdefs.h"
-@@ -1262,8 +1262,8 @@
- echo "$ac_t""yes" 1>&6
- ${LN_S} -f system_sdl.c system.c ; \
- ${LN_S} -f system_sdl.h system.h ; \
--LIBS="$LIBS `sdl-config --libs`" ; \
--CFLAGS="$CFLAGS `sdl-config --cflags`" ; \
-+LIBS="$LIBS `$SDL_CONFIG --libs`" ; \
-+CFLAGS="$CFLAGS `$SDL_CONFIG --cflags`" ; \
- HAVE_SDL=1
- else
- echo "$ac_t""no" 1>&6
-@@ -1274,7 +1274,7 @@
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- ac_save_LIBS="$LIBS"
--LIBS="-lglut $LIBS"
-+LIBS="$LIBS -lglut"
- cat > conftest.$ac_ext <<EOF
- #line 1280 "configure"
- #include "confdefs.h"
-@@ -1320,7 +1320,7 @@
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- ac_save_LIBS="$LIBS"
--LIBS="-lSDL_mixer $LIBS"
-+LIBS="-L$ac_default_prefix/lib -lSDL_mixer -lsmpeg $LIBS"
- cat > conftest.$ac_ext <<EOF
- #line 1326 "configure"
- #include "confdefs.h"
-@@ -1357,7 +1357,7 @@
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- ac_save_LIBS="$LIBS"
--LIBS="-lmikmod $LIBS"
-+LIBS="$LIBS -lmikmod"
- cat > conftest.$ac_ext <<EOF
- #line 1363 "configure"
- #include "confdefs.h"
-@@ -1445,7 +1445,7 @@
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- ac_save_LIBS="$LIBS"
--LIBS="-lpng $LIBS"
-+LIBS="$LIBS -lpng"
- cat > conftest.$ac_ext <<EOF
- #line 1451 "configure"
- #include "confdefs.h"
-@@ -1475,7 +1475,7 @@
- #define $ac_tr_lib 1
- EOF
-
-- LIBS="-lpng $LIBS"
-+ LIBS="$LIBS -lpng"
-
- else
- echo "$ac_t""no" 1>&6
diff --git a/games/gltron/files/patch-gltron.c b/games/gltron/files/patch-gltron.c
deleted file mode 100644
index 22aa490..0000000
--- a/games/gltron/files/patch-gltron.c
+++ /dev/null
@@ -1,27 +0,0 @@
-
-$FreeBSD$
-
---- gltron.c.orig Sun Apr 15 16:23:13 2001
-+++ gltron.c Fri Apr 27 21:33:07 2001
-@@ -3,6 +3,8 @@
- Copyright (C) 1999 by Andreas Umbach <marvin@dataway.ch>
- */
-
-+#include <unistd.h>
-+
- #include "gltron.h"
-
- /* todo: define the globals where I need them */
-@@ -98,7 +100,11 @@
- SystemInit(&argc, argv);
-
- #ifndef CURRENT_EQ_DATA_DIR
-- goto_installpath(argv[0]);
-+/* goto_installpath(argv[0]);*/
-+ if (chdir(PREFIX "/share/gltron") != 0) {
-+ fprintf(stderr, "gltron: can't chdir into data directory");
-+ exit(1);
-+ }
- #endif
-
- /* initialize artpack list before loading settigns! */
OpenPOWER on IntegriCloud