Update to version 0.1.5

PR: 27992
Submitted by: MAINTAINER
This commit is contained in:
Kevin Lo 2001-06-10 15:28:45 +00:00
parent 54da4e9934
commit af3dbff27a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=43766
4 changed files with 22 additions and 25 deletions

View file

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

View file

@ -1 +1 @@
MD5 (gracer-0.1.4.tar.gz) = 22e1639a0e54f117cf8e6dde97753587
MD5 (gracer-0.1.5.tar.gz) = b1bac84fdbe63c610d4b01bb57ca4d47

View file

@ -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},
};

View file

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