[fenix] 53/127: Added patch fxi_sdl_mixer_use_rwops.patch
Peter Pentchev
roam at ringlet.net
Thu Dec 17 14:39:34 UTC 2015
This is an automated email from the git hooks/post-receive script.
roam-guest pushed a commit to branch master
in repository fenix.
commit 1a2358ad125d35c5d6d25019d73582cdebdb269d
Author: Miriam Ruiz <miriam at debian.org>
Date: Tue Aug 28 13:41:24 2007 +0000
Added patch fxi_sdl_mixer_use_rwops.patch
---
debian/changelog | 4 +++-
debian/patches/fxi_sdl_mixer_use_rwops.patch | 27 +++++++++++++++++++++++++++
debian/patches/series | 1 +
3 files changed, 31 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index bd00bde..5e714df 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,7 +2,9 @@ fenix (0.92a.dfsg1-2) UNRELEASED; urgency=low
[ Miriam Ruiz ]
* Added new patch to correct FTBFS problem. Closes: #438607
- * Added patch for missing function prototype definition in fxi/src/i_func.c
+ * Added patch fxi_pal.pathc for missing function prototype definition
+ in fxi/src/i_func.c and fxi_sdl_mixer_use_rwops.patch to use the
+ Mix_LoadMUS_RW() function.
Thanks to Dann Frazier <dannf at debian.org>. Closes: #437735
* Added copyright and license to patches.
diff --git a/debian/patches/fxi_sdl_mixer_use_rwops.patch b/debian/patches/fxi_sdl_mixer_use_rwops.patch
new file mode 100644
index 0000000..24bc421
--- /dev/null
+++ b/debian/patches/fxi_sdl_mixer_use_rwops.patch
@@ -0,0 +1,27 @@
+# Copyright (C) 2007 Miriam Ruiz <little_miry at yahoo.es>
+# Licensed under the GPL, see /usr/share/common-licenses/GPL
+# Thanks to Dann Frazier <dannf at debian.org>
+# See http://bugs.debian.org/437735
+
+# From SDL_mixer.h:
+#
+# #ifdef USE_RWOPS /* This hasn't been hooked into music.c yet */
+# /* Load a music file from an SDL_RWop object (MikMod-specific currently)
+# Matt Campbell (matt at campbellhome.dhs.org) April 2000 */
+# extern DECLSPEC Mix_Music * SDLCALL Mix_LoadMUS_RW(SDL_RWops *rw);
+# #endif
+
+Index: fenix-0.92a.dfsg1/fxi/inc/sound.h
+===================================================================
+--- fenix-0.92a.dfsg1.orig/fxi/inc/sound.h 2007-08-28 13:36:39.000000000 +0000
++++ fenix-0.92a.dfsg1/fxi/inc/sound.h 2007-08-28 13:37:18.000000000 +0000
+@@ -27,7 +27,8 @@
+ #ifndef __SOUND_H
+ #define __SOUND_H
+
+-#include "SDL_mixer.h"
++#define USE_RWOPS
++#include <SDL/SDL_mixer.h>
+
+ void sound_init ();
+ void sound_close ();
diff --git a/debian/patches/series b/debian/patches/series
index ab38069..7ba3836 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -16,3 +16,4 @@ fxi_apptitle.patch
0.92a_to_cvs-20070713.1513.patch
endianess.patch
fxi_pal.patch
+fxi_sdl_mixer_use_rwops.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/fenix.git
More information about the Pkg-games-commits
mailing list