diff options
author | wiz <wiz@pkgsrc.org> | 2017-11-29 12:42:54 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2017-11-29 12:42:54 +0000 |
commit | 4ccad42995f0e621dee5594c67eda6850f1b60f6 (patch) | |
tree | 36211f2d66934168bd549f60e4bf1c35e70cc6cd /audio | |
parent | 9e3deeade30424f41562572c330031a9725c8e85 (diff) | |
download | pkgsrc-4ccad42995f0e621dee5594c67eda6850f1b60f6.tar.gz |
SDL_sound: fix build with physfs-3.0.1
Diffstat (limited to 'audio')
-rw-r--r-- | audio/SDL_sound/distinfo | 3 | ||||
-rw-r--r-- | audio/SDL_sound/patches/patch-playsound_physfsrwops.h | 42 |
2 files changed, 44 insertions, 1 deletions
diff --git a/audio/SDL_sound/distinfo b/audio/SDL_sound/distinfo index 3b8e1d9a33c..5c4b05bf6ae 100644 --- a/audio/SDL_sound/distinfo +++ b/audio/SDL_sound/distinfo @@ -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 --git a/audio/SDL_sound/patches/patch-playsound_physfsrwops.h b/audio/SDL_sound/patches/patch-playsound_physfsrwops.h new file mode 100644 index 00000000000..3214340569d --- /dev/null +++ b/audio/SDL_sound/patches/patch-playsound_physfsrwops.h @@ -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 + } |