Wed Nov 29 12:42:54 2017 UTC ()
SDL_sound: fix build with physfs-3.0.1


(wiz)
diff -r1.7 -r1.8 pkgsrc/audio/SDL_sound/distinfo
diff -r0 -r1.1 pkgsrc/audio/SDL_sound/patches/patch-playsound_physfsrwops.h

cvs diff -r1.7 -r1.8 pkgsrc/audio/SDL_sound/distinfo (expand / switch to unified diff)

--- pkgsrc/audio/SDL_sound/distinfo 2015/11/03 01:12:23 1.7
+++ pkgsrc/audio/SDL_sound/distinfo 2017/11/29 12:42:54 1.8
@@ -1,6 +1,7 @@ @@ -1,6 +1,7 @@
1$NetBSD: distinfo,v 1.7 2015/11/03 01:12:23 agc Exp $ 1$NetBSD: distinfo,v 1.8 2017/11/29 12:42:54 wiz Exp $
2 2
3SHA1 (SDL_sound-1.0.3.tar.gz) = 1984bc20b2c756dc71107a5a0a8cebfe07e58cb1 3SHA1 (SDL_sound-1.0.3.tar.gz) = 1984bc20b2c756dc71107a5a0a8cebfe07e58cb1
4RMD160 (SDL_sound-1.0.3.tar.gz) = 8e56daa71f827a4a22e7071a4e4f37c21dd96105 4RMD160 (SDL_sound-1.0.3.tar.gz) = 8e56daa71f827a4a22e7071a4e4f37c21dd96105
5SHA512 (SDL_sound-1.0.3.tar.gz) = 3e60671777d804e6104d7d441f4a29866492c9412040eea3fd2283c0914a0a1ebc550260631c2bf500e7d982e05a6f9feeda81e9eeef8257303750c1be582824 5SHA512 (SDL_sound-1.0.3.tar.gz) = 3e60671777d804e6104d7d441f4a29866492c9412040eea3fd2283c0914a0a1ebc550260631c2bf500e7d982e05a6f9feeda81e9eeef8257303750c1be582824
6Size (SDL_sound-1.0.3.tar.gz) = 1127100 bytes 6Size (SDL_sound-1.0.3.tar.gz) = 1127100 bytes
 7SHA1 (patch-playsound_physfsrwops.h) = bce6bed1ab1bc2fb36c84144eed3243d8d9e0122

File Added: pkgsrc/audio/SDL_sound/patches/patch-playsound_physfsrwops.h
$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
 }