aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--games/gracer/Makefile2
-rw-r--r--games/gracer/distinfo2
-rw-r--r--games/gracer/files/patch-ab31
-rw-r--r--games/gracer/pkg-plist12
4 files changed, 22 insertions, 25 deletions
diff --git a/games/gracer/Makefile b/games/gracer/Makefile
index 244e2318ba2c..42342c246978 100644
--- a/games/gracer/Makefile
+++ b/games/gracer/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= gracer
-PORTVERSION= 0.1.4
+PORTVERSION= 0.1.5
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
diff --git a/games/gracer/distinfo b/games/gracer/distinfo
index 29249bba4e54..ccf233e0f6ac 100644
--- a/games/gracer/distinfo
+++ b/games/gracer/distinfo
@@ -1 +1 @@
-MD5 (gracer-0.1.4.tar.gz) = 22e1639a0e54f117cf8e6dde97753587
+MD5 (gracer-0.1.5.tar.gz) = b1bac84fdbe63c610d4b01bb57ca4d47
diff --git a/games/gracer/files/patch-ab b/games/gracer/files/patch-ab
index 5ab4d5b7db50..c3b805f5796d 100644
--- a/games/gracer/files/patch-ab
+++ b/games/gracer/files/patch-ab
@@ -1,23 +1,10 @@
-Index: src/sound.cxx
-@@ -30,6 +30,21 @@
- int Sound_Init (Tcl_Interp *interp)
- {
- sched = new slScheduler (8000);
-+ /*
-+ * check for sound working, otherwise we get a segfault in
-+ * sched->addSampleEnvelope below if /dev/dsp is not configured
-+ */
-+ if (sched->not_working()) {
-+#if 0
-+ /* XXX this gets a few
-+ * `gracer in free(): warning: junk pointer, too high to make sense.'
-+ * don't ask me why. So we'll just leak memory, it should only
-+ * be allocated once per process...
-+ */
-+ delete sched;
+Index: src/glhash.h
+@@ -709,6 +709,8 @@
+ {"all_attrib_bits", GL_ALL_ATTRIB_BITS},
+ {"client_pixel_store_bit", GL_CLIENT_PIXEL_STORE_BIT},
+ {"client_vertex_array_bit", GL_CLIENT_VERTEX_ARRAY_BIT},
++#ifdef GL_CLIENT_ALL_ATTRIB_BITS
+ {"client_all_attrib_bits", GL_CLIENT_ALL_ATTRIB_BITS},
+#endif
-+ sched = NULL;
-+ }
- if (sched) {
- sched->setSafetyMargin (0.2);
- }
+ {NULL, GL_NONE},
+ };
diff --git a/games/gracer/pkg-plist b/games/gracer/pkg-plist
index 1e52f992df7b..28d210f6c0c6 100644
--- a/games/gracer/pkg-plist
+++ b/games/gracer/pkg-plist
@@ -1,4 +1,5 @@
bin/gracer
+share/gracer/courses/cliff.jpg
share/gracer/courses/course1.grc
share/gracer/courses/course1.grs
share/gracer/courses/course2.grc
@@ -7,17 +8,25 @@ share/gracer/courses/course3.grc
share/gracer/courses/course3.grs
share/gracer/courses/course4.grc
share/gracer/courses/course4.grs
+share/gracer/courses/course5.grc
+share/gracer/courses/course5.grs
share/gracer/courses/grass.jpg
share/gracer/courses/road.jpg
+share/gracer/courses/road2.jpg
+share/gracer/images/icon.xpm
+share/gracer/images/mini-icon.xpm
share/gracer/license
+share/gracer/scenes/cement.png
share/gracer/scenes/font.grs
+share/gracer/scenes/grass.png
share/gracer/scenes/panel.grs
+share/gracer/scenes/rock.png
share/gracer/scenes/sky.grs
share/gracer/scenes/sky.jpg
share/gracer/scripts/cache.tcl
share/gracer/scripts/glut.tcl
-share/gracer/scripts/hiscore.tcl
share/gracer/scripts/gr.tcl
+share/gracer/scripts/hiscore.tcl
share/gracer/scripts/init.tcl
share/gracer/scripts/postinit.tcl
share/gracer/scripts/timestamp.tcl
@@ -66,5 +75,6 @@ share/gracer/vehicles/s2000/sbmu.dat
@dirrm share/gracer/sounds
@dirrm share/gracer/scripts
@dirrm share/gracer/scenes
+@dirrm share/gracer/images
@dirrm share/gracer/courses
@dirrm share/gracer