pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/SDL_sound SDL_sound: fix build with physfs-3.0.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/71457a6bee15
branches:  trunk
changeset: 372183:71457a6bee15
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Wed Nov 29 12:42:54 2017 +0000

description:
SDL_sound: fix build with physfs-3.0.1

diffstat:

 audio/SDL_sound/distinfo                              |   3 +-
 audio/SDL_sound/patches/patch-playsound_physfsrwops.h |  42 +++++++++++++++++++
 2 files changed, 44 insertions(+), 1 deletions(-)

diffs (58 lines):

diff -r 005c2349ecd2 -r 71457a6bee15 audio/SDL_sound/distinfo
--- a/audio/SDL_sound/distinfo  Wed Nov 29 12:39:05 2017 +0000
+++ b/audio/SDL_sound/distinfo  Wed Nov 29 12:42:54 2017 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.7 2015/11/03 01:12:23 agc Exp $
+$NetBSD: distinfo,v 1.8 2017/11/29 12:42:54 wiz Exp $
 
 SHA1 (SDL_sound-1.0.3.tar.gz) = 1984bc20b2c756dc71107a5a0a8cebfe07e58cb1
 RMD160 (SDL_sound-1.0.3.tar.gz) = 8e56daa71f827a4a22e7071a4e4f37c21dd96105
 SHA512 (SDL_sound-1.0.3.tar.gz) = 3e60671777d804e6104d7d441f4a29866492c9412040eea3fd2283c0914a0a1ebc550260631c2bf500e7d982e05a6f9feeda81e9eeef8257303750c1be582824
 Size (SDL_sound-1.0.3.tar.gz) = 1127100 bytes
+SHA1 (patch-playsound_physfsrwops.h) = bce6bed1ab1bc2fb36c84144eed3243d8d9e0122
diff -r 005c2349ecd2 -r 71457a6bee15 audio/SDL_sound/patches/patch-playsound_physfsrwops.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/SDL_sound/patches/patch-playsound_physfsrwops.h     Wed Nov 29 12:42:54 2017 +0000
@@ -0,0 +1,42 @@
+$NetBSD: patch-playsound_physfsrwops.h,v 1.1 2017/11/29 12:42:54 wiz Exp $
+
+Remove undefined __EXPORT__ keyword.
+
+--- playsound/physfsrwops.h.orig       2008-04-17 17:56:21.000000000 +0000
++++ playsound/physfsrwops.h
+@@ -39,7 +39,7 @@ extern "C" {
+  *  @return A valid SDL_RWops structure on success, NULL on error. Specifics
+  *           of the error can be gleaned from PHYSFS_getLastError().
+  */
+-__EXPORT__ SDL_RWops *PHYSFSRWOPS_openRead(const char *fname);
++SDL_RWops *PHYSFSRWOPS_openRead(const char *fname);
+ 
+ /**
+  * Open a platform-independent filename for writing, and make it accessible
+@@ -51,7 +51,7 @@ __EXPORT__ SDL_RWops *PHYSFSRWOPS_openRe
+  *  @return A valid SDL_RWops structure on success, NULL on error. Specifics
+  *           of the error can be gleaned from PHYSFS_getLastError().
+  */
+-__EXPORT__ SDL_RWops *PHYSFSRWOPS_openWrite(const char *fname);
++SDL_RWops *PHYSFSRWOPS_openWrite(const char *fname);
+ 
+ /**
+  * Open a platform-independent filename for appending, and make it accessible
+@@ -63,7 +63,7 @@ __EXPORT__ SDL_RWops *PHYSFSRWOPS_openWr
+  *  @return A valid SDL_RWops structure on success, NULL on error. Specifics
+  *           of the error can be gleaned from PHYSFS_getLastError().
+  */
+-__EXPORT__ SDL_RWops *PHYSFSRWOPS_openAppend(const char *fname);
++SDL_RWops *PHYSFSRWOPS_openAppend(const char *fname);
+ 
+ /**
+  * Make a SDL_RWops from an existing PhysicsFS file handle. You should
+@@ -75,7 +75,7 @@ __EXPORT__ SDL_RWops *PHYSFSRWOPS_openAp
+  *  @return A valid SDL_RWops structure on success, NULL on error. Specifics
+  *           of the error can be gleaned from PHYSFS_getLastError().
+  */
+-__EXPORT__ SDL_RWops *PHYSFSRWOPS_makeRWops(PHYSFS_file *handle);
++SDL_RWops *PHYSFSRWOPS_makeRWops(PHYSFS_file *handle);
+ 
+ #ifdef __cplusplus
+ }



Home | Main Index | Thread Index | Old Index