mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
26dacf7a2e
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
43 lines
1.9 KiB
Diff
43 lines
1.9 KiB
Diff
From: Markus Koschany <apo@debian.org>
|
|
Bug-Debian: https://bugs.debian.org/881589
|
|
|
|
Index: d2x-rebirth-0.58.1/include/physfsrwops.h
|
|
===================================================================
|
|
--- d2x-rebirth-0.58.1.orig/include/physfsrwops.h
|
|
+++ d2x-rebirth-0.58.1/include/physfsrwops.h
|
|
@@ -44,7 +44,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);
|
|
+PHYSFS_DECL SDL_RWops *PHYSFSRWOPS_openRead(const char *fname);
|
|
|
|
/**
|
|
* Open a platform-independent filename for writing, and make it accessible
|
|
@@ -56,7 +56,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);
|
|
+PHYSFS_DECL SDL_RWops *PHYSFSRWOPS_openWrite(const char *fname);
|
|
|
|
/**
|
|
* Open a platform-independent filename for appending, and make it accessible
|
|
@@ -68,7 +68,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);
|
|
+PHYSFS_DECL SDL_RWops *PHYSFSRWOPS_openAppend(const char *fname);
|
|
|
|
/**
|
|
* Make a SDL_RWops from an existing PhysicsFS file handle. You should
|
|
@@ -80,7 +80,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);
|
|
+PHYSFS_DECL SDL_RWops *PHYSFSRWOPS_makeRWops(PHYSFS_file *handle);
|
|
|
|
#ifdef __cplusplus
|
|
}
|