d0c05b67f4
2. Honour SDL_CONFIG makevar. 3. Bump PORTREVISION due to (1).
43 lines
763 B
Text
43 lines
763 B
Text
|
|
$FreeBSD$
|
|
|
|
--- gemdropx.c.orig Tue Dec 28 11:54:17 1999
|
|
+++ gemdropx.c Thu Feb 8 18:04:42 2001
|
|
@@ -26,7 +26,7 @@
|
|
#include <sys/types.h>
|
|
#include <sys/time.h>
|
|
#include <unistd.h>
|
|
-#include <SDL/SDL.h>
|
|
+#include <SDL.h>
|
|
|
|
#ifndef NOJOYSTICK
|
|
#include <sys/stat.h>
|
|
@@ -36,7 +36,7 @@
|
|
#endif
|
|
|
|
#ifndef NOSOUND
|
|
-#include <mixer.h>
|
|
+#include <SDL_mixer.h>
|
|
#endif
|
|
|
|
#include "data/images/nothing.xbm"
|
|
@@ -281,6 +281,7 @@
|
|
SDL_GetError());
|
|
exit(1);
|
|
}
|
|
+ atexit(SDL_Quit);
|
|
|
|
|
|
/* Set the size of the window: */
|
|
@@ -2231,9 +2232,11 @@
|
|
(JS_VERSION & 0x0000FF));
|
|
#endif
|
|
|
|
+#ifndef NOSOUND
|
|
SDL_VERSION(&sdlver);
|
|
printf("SDL version %d.%d.%d\n\n", sdlver.major,
|
|
sdlver.minor, sdlver.patch);
|
|
+#endif
|
|
|
|
exit(0);
|
|
}
|