diff options
author | B. Stack <bgstack15@gmail.com> | 2023-09-16 16:37:40 -0400 |
---|---|---|
committer | B. Stack <bgstack15@gmail.com> | 2023-09-16 16:37:40 -0400 |
commit | 8d605b77445be2a27b14666b75bf8995f591d01d (patch) | |
tree | 58da489c3ad3fc1ca131ccb4e7b061d479778ae2 /debian/patches/libphysfs-3.0.1.patch | |
parent | New upstream release [0.58.1] + changelog summary (diff) | |
download | d2x-rebirth-8d605b77445be2a27b14666b75bf8995f591d01d.tar.gz d2x-rebirth-8d605b77445be2a27b14666b75bf8995f591d01d.tar.bz2 d2x-rebirth-8d605b77445be2a27b14666b75bf8995f591d01d.zip |
bringing in updates to the package since then
Diffstat (limited to 'debian/patches/libphysfs-3.0.1.patch')
-rw-r--r-- | debian/patches/libphysfs-3.0.1.patch | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/debian/patches/libphysfs-3.0.1.patch b/debian/patches/libphysfs-3.0.1.patch new file mode 100644 index 0000000..082b8e9 --- /dev/null +++ b/debian/patches/libphysfs-3.0.1.patch @@ -0,0 +1,43 @@ +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 + } |