pkgsrc-WIP-changes archive

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

d2x-rebirth: Get it working on NetBSD 8.99.27!



Module Name:	pkgsrc-wip
Committed By:	Charlotte Koch <cfkoch%edgebsd.org@localhost>
Pushed By:	cfkoch
Date:		Mon Mar 4 23:10:54 2019 -0800
Changeset:	ae2d6774e47d43fe0ee0e88f583c8d838b1c82dd

Modified Files:
	d2x-rebirth/distinfo
Added Files:
	d2x-rebirth/patches/patch-include_physfsrwops.h

Log Message:
d2x-rebirth: Get it working on NetBSD 8.99.27!

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=ae2d6774e47d43fe0ee0e88f583c8d838b1c82dd

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

diffstat:
 d2x-rebirth/distinfo                            |  2 ++
 d2x-rebirth/patches/patch-include_physfsrwops.h | 40 +++++++++++++++++++++++++
 2 files changed, 42 insertions(+)

diffs:
diff --git a/d2x-rebirth/distinfo b/d2x-rebirth/distinfo
index 11f5dca3be..c8339dff5e 100644
--- a/d2x-rebirth/distinfo
+++ b/d2x-rebirth/distinfo
@@ -2,4 +2,6 @@ $NetBSD: distinfo,v 1.1 2015/08/19 19:11:02 yhardy Exp $
 
 SHA1 (d2x-rebirth_v0.58.1-src.tar.gz) = 2f8576da0ab445a1cd79663996b06b8c53ebb5c1
 RMD160 (d2x-rebirth_v0.58.1-src.tar.gz) = 0d5edf7becbe4114525d84fad33f5ae2e0fc21f4
+SHA512 (d2x-rebirth_v0.58.1-src.tar.gz) = 19281c8dc554d595f6c40cbef2f4921c6325cd736ec648cb1abf60ad6a339e59b882b8a1426987f7bcfb8413c78bbda9b6f7fa86a6ff8927550a37d0290873fd
 Size (d2x-rebirth_v0.58.1-src.tar.gz) = 1375376 bytes
+SHA1 (patch-include_physfsrwops.h) = 31496ca6262412a3f62945086236fb863dd16af7
diff --git a/d2x-rebirth/patches/patch-include_physfsrwops.h b/d2x-rebirth/patches/patch-include_physfsrwops.h
new file mode 100644
index 0000000000..c29d412944
--- /dev/null
+++ b/d2x-rebirth/patches/patch-include_physfsrwops.h
@@ -0,0 +1,40 @@
+$NetBSD$
+
+--- ./include/physfsrwops.h.orig	2019-03-04 22:58:02.523929348 -0800
++++ ./include/physfsrwops.h	2019-03-04 22:58:18.372226593 -0800
+@@ -44,7 +44,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);
++SDL_RWops *PHYSFSRWOPS_openRead(const char *fname);
+ 
+ /**
+  * Open a platform-independent filename for writing, and make it accessible
+@@ -56,7 +56,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);
++SDL_RWops *PHYSFSRWOPS_openWrite(const char *fname);
+ 
+ /**
+  * Open a platform-independent filename for appending, and make it accessible
+@@ -68,7 +68,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);
++SDL_RWops *PHYSFSRWOPS_openAppend(const char *fname);
+ 
+ /**
+  * Make a SDL_RWops from an existing PhysicsFS file handle. You should
+@@ -80,7 +80,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);
++SDL_RWops *PHYSFSRWOPS_makeRWops(PHYSFS_file *handle);
+ 
+ #ifdef __cplusplus
+ }


Home | Main Index | Thread Index | Old Index