summaryrefslogtreecommitdiff
path: root/emulators/freesci/files
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-10-03 13:51:20 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-10-03 13:51:20 +0000
commitef229c587156d1557d14cda80f1066aa3968c84b (patch)
tree46605d71d57e4d23efaf608a7cd6c887644005d4 /emulators/freesci/files
parent- Use the correct patch, I forgot to sync dir before commit. (diff)
Update Port: emulators/freesci
- Update to latest release - Remove dependancy on libpng - Add switches for SDL, GGI and DirectFB support - Use X11 renderer as default - portlint Note: Since ScummVM is in games, this port should probably go to games to. It is not directly an emulator, but an game-data interpreter (just like ScummVM) PR: ports/51731 Submitted by: Ulrich Spoerlein <q@uni.de> Approved by: maintainer timeout
Notes
Notes: svn path=/head/; revision=90129
Diffstat (limited to 'emulators/freesci/files')
-rw-r--r--emulators/freesci/files/patch-src::gdx::drivers::directfb_driver.c11
-rw-r--r--emulators/freesci/files/patch-src::sound::pcmout_oss.c18
-rw-r--r--emulators/freesci/files/patch-src::sound::pcmout_sdl.c35
3 files changed, 64 insertions, 0 deletions
diff --git a/emulators/freesci/files/patch-src::gdx::drivers::directfb_driver.c b/emulators/freesci/files/patch-src::gdx::drivers::directfb_driver.c
new file mode 100644
index 000000000000..bd2109f29518
--- /dev/null
+++ b/emulators/freesci/files/patch-src::gdx::drivers::directfb_driver.c
@@ -0,0 +1,11 @@
+--- src/gfx/drivers/directfb_driver.c.orig Thu Feb 20 17:37:19 2003
++++ src/gfx/drivers/directfb_driver.c Thu Feb 20 17:37:46 2003
+@@ -611,7 +611,7 @@
+
+ switch (pixel_format) {
+
+- case DSPF_RGB15:
++ case DSPF_ARGB1555:
+ *bytespp = 2;
+ *rm = 5; _rs = 10;
+ *gm = 5; _gs = 5;
diff --git a/emulators/freesci/files/patch-src::sound::pcmout_oss.c b/emulators/freesci/files/patch-src::sound::pcmout_oss.c
new file mode 100644
index 000000000000..41333d03d40b
--- /dev/null
+++ b/emulators/freesci/files/patch-src::sound::pcmout_oss.c
@@ -0,0 +1,18 @@
+--- src/sound/pcmout_oss.c.orig Thu Feb 20 20:52:48 2003
++++ src/sound/pcmout_oss.c Thu Feb 20 21:02:06 2003
+@@ -75,6 +75,15 @@
+ return -1;
+ }
+
++/* Some OSS don't define the native endian */
++#ifndef AFMT_S16_NE
++ #if defined __i386__ || defined __alpha__
++ #define AFMT_S16_NE AFMT_S16_LE
++ #elif defined __mips__
++ #define AFMT_S16_NE AFMT_S16_BE
++ #endif
++ /* FIXME are these correct? */
++#endif
+ i = AFMT_S16_NE; /* Use NATIVE endian format... */
+ if (ioctl (oss_fd, SNDCTL_DSP_SETFMT, &i)) {
+ fprintf(stderr, "[PCM-OSS] Failed to set device output format\n");
diff --git a/emulators/freesci/files/patch-src::sound::pcmout_sdl.c b/emulators/freesci/files/patch-src::sound::pcmout_sdl.c
new file mode 100644
index 000000000000..eb10e313d6a6
--- /dev/null
+++ b/emulators/freesci/files/patch-src::sound::pcmout_sdl.c
@@ -0,0 +1,35 @@
+--- src/gfx/drivers/sdl_driver.c.orig Tue Feb 4 21:12:10 2003
++++ src/gfx/drivers/sdl_driver.c Tue Feb 4 21:16:42 2003
+@@ -45,7 +45,7 @@
+
+ #ifndef _MSC_VER
+ # include <sys/time.h>
+-# include <SDL/SDL.h>
++# include <SDL11/SDL.h>
+ #else
+ # include <SDL.h>
+ #endif
+--- src/sound/thread_ss_sdl.c.orig Tue Feb 4 21:15:31 2003
++++ src/sound/thread_ss_sdl.c Tue Feb 4 21:16:25 2003
+@@ -32,8 +32,8 @@
+ #ifdef HAVE_SDL
+
+ #ifndef _MSC_VER
+-# include <SDL/SDL.h>
+-# include <SDL/SDL_thread.h>
++# include <SDL11/SDL.h>
++# include <SDL11/SDL_thread.h>
+ # include <sys/timeb.h>
+ #else
+ # include <SDL.h>
+--- src/sound/pcmout_sdl.c.orig Tue Feb 4 21:15:37 2003
++++ src/sound/pcmout_sdl.c Tue Feb 4 21:16:32 2003
+@@ -23,7 +23,7 @@
+
+ #ifndef _MSC_VER
+ # include <sys/time.h>
+-# include <SDL/SDL.h>
++# include <SDL11/SDL.h>
+ #else
+ # include <SDL.h>
+ #endif