summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorryoon <ryoon@pkgsrc.org>2012-09-28 16:30:16 +0000
committerryoon <ryoon@pkgsrc.org>2012-09-28 16:30:16 +0000
commit775a3ae3bba9efbdbe7bf890e51c39fcf692ff30 (patch)
tree3b7a6a957a71c8ec314c4fdc94712ddf6b9639cf /emulators
parent8a21212973628b85efa89d6b0ebd5da84e76143c (diff)
downloadpkgsrc-775a3ae3bba9efbdbe7bf890e51c39fcf692ff30.tar.gz
Fix build on NetBSD.
Thank you, tsutsui@. I have check the build on Gentoo Linux/i386, DragonFly/i386 3.0.1, and NetBSD/amd64 6.99.11.
Diffstat (limited to 'emulators')
-rw-r--r--emulators/aranym/distinfo3
-rw-r--r--emulators/aranym/patches/patch-src_uae__cpu_fpu_fpu__mpfr.cpp17
2 files changed, 19 insertions, 1 deletions
diff --git a/emulators/aranym/distinfo b/emulators/aranym/distinfo
index 50fc4792793..bb9467b4e0e 100644
--- a/emulators/aranym/distinfo
+++ b/emulators/aranym/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.9 2012/04/15 02:05:28 ryoon Exp $
+$NetBSD: distinfo,v 1.10 2012/09/28 16:30:16 ryoon Exp $
SHA1 (aranym_0.9.13.orig.tar.gz) = fa06e8204eef848c16411e4fbfdc2a19c64599c5
RMD160 (aranym_0.9.13.orig.tar.gz) = c6e7303b56d8c63b836e573755cf592f935bb85e
@@ -11,3 +11,4 @@ SHA1 (patch-ac) = 8899894456b01c84efd9f96f553750c87df7c21a
SHA1 (patch-ad) = bb8d6b2ecd0c0066f3032a0ef196a1adb51d1786
SHA1 (patch-ae) = 6c7ab7cf17bb9da5944c9a09474079bcfe7e7f43
SHA1 (patch-configure.ac) = 528076ace6ef57332e051109ccbd07eda6eaed72
+SHA1 (patch-src_uae__cpu_fpu_fpu__mpfr.cpp) = c492c198a746d62470112b7a7367692d47e16b61
diff --git a/emulators/aranym/patches/patch-src_uae__cpu_fpu_fpu__mpfr.cpp b/emulators/aranym/patches/patch-src_uae__cpu_fpu_fpu__mpfr.cpp
new file mode 100644
index 00000000000..4449d8bda37
--- /dev/null
+++ b/emulators/aranym/patches/patch-src_uae__cpu_fpu_fpu__mpfr.cpp
@@ -0,0 +1,17 @@
+$NetBSD: patch-src_uae__cpu_fpu_fpu__mpfr.cpp,v 1.1 2012/09/28 16:30:16 ryoon Exp $
+
+On NetBSD, MPFR_USE_INTMAX_T is not defined in mpfr.h.
+On ather platform (Gentoo Linux and DragonFly at least),
+MPFR_USE_INTMAX_T is defined.
+
+--- src/uae_cpu/fpu/fpu_mpfr.cpp.orig 2012-03-20 16:48:10.000000000 +0000
++++ src/uae_cpu/fpu/fpu_mpfr.cpp
+@@ -18,6 +18,8 @@
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
++#define MPFR_USE_INTMAX_T 1
++
+ #include "sysdeps.h"
+ #include <cstdio>
+ #include "memory.h"