--- /dev/null
+--- SDL_sound-1.0.3/playsound/physfsrwops.h.orig 2008-04-17 19:56:21.000000000 +0200
++++ SDL_sound-1.0.3/playsound/physfsrwops.h 2020-12-28 19:11:16.822650378 +0100
+@@ -39,7 +39,7 @@
+ * @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);
++PHYSFS_DECL SDL_RWops *PHYSFSRWOPS_openRead(const char *fname);
+
+ /**
+ * Open a platform-independent filename for writing, and make it accessible
+@@ -51,7 +51,7 @@
+ * @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);
++PHYSFS_DECL SDL_RWops *PHYSFSRWOPS_openWrite(const char *fname);
+
+ /**
+ * Open a platform-independent filename for appending, and make it accessible
+@@ -63,7 +63,7 @@
+ * @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);
++PHYSFS_DECL SDL_RWops *PHYSFSRWOPS_openAppend(const char *fname);
+
+ /**
+ * Make a SDL_RWops from an existing PhysicsFS file handle. You should
+@@ -75,7 +75,7 @@
+ * @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);
++PHYSFS_DECL SDL_RWops *PHYSFSRWOPS_makeRWops(PHYSFS_file *handle);
+
+ #ifdef __cplusplus
+ }
Group: Libraries
Source0: http://www.icculus.org/SDL_sound/downloads/%{name}-%{version}.tar.gz
# Source0-md5: aa09cd52df85d29bee87a664424c94b5
+Patch0: %{name}-physfs.patch
URL: http://www.icculus.org/SDL_sound/
BuildRequires: SDL-devel >= 1.2.6
BuildRequires: autoconf
BuildRequires: libmodplug-devel
BuildRequires: libvorbis-devel >= 1:1.0-6
BuildRequires: libtool
-BuildRequires: physfs-devel >= 1.0.1
+BuildRequires: physfs-devel >= 3
BuildRequires: smpeg-devel >= 0.4.4-12
BuildRequires: speex-devel
Requires: SDL >= 1.2.6
%prep
%setup -q
+%patch0 -p1
-rm acinclude.m4
+%{__rm} acinclude.m4
%build
%{__libtoolize}