pkgsrc-Changes archive

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

CVS commit: pkgsrc/audio/SDL_sound



Module Name:    pkgsrc
Committed By:   wiz
Date:           Wed Nov 29 12:42:54 UTC 2017

Modified Files:
        pkgsrc/audio/SDL_sound: distinfo
Added Files:
        pkgsrc/audio/SDL_sound/patches: patch-playsound_physfsrwops.h

Log Message:
SDL_sound: fix build with physfs-3.0.1


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/audio/SDL_sound/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/audio/SDL_sound/patches/patch-playsound_physfsrwops.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/audio/SDL_sound/distinfo
diff -u pkgsrc/audio/SDL_sound/distinfo:1.7 pkgsrc/audio/SDL_sound/distinfo:1.8
--- pkgsrc/audio/SDL_sound/distinfo:1.7 Tue Nov  3 01:12:23 2015
+++ pkgsrc/audio/SDL_sound/distinfo     Wed Nov 29 12:42:54 2017
@@ -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

Added files:

Index: pkgsrc/audio/SDL_sound/patches/patch-playsound_physfsrwops.h
diff -u /dev/null pkgsrc/audio/SDL_sound/patches/patch-playsound_physfsrwops.h:1.1
--- /dev/null   Wed Nov 29 12:42:54 2017
+++ pkgsrc/audio/SDL_sound/patches/patch-playsound_physfsrwops.h        Wed Nov 29 12:42:54 2017
@@ -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