summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorabs <abs>2012-07-16 00:19:14 +0000
committerabs <abs>2012-07-16 00:19:14 +0000
commitf5326a9b5fddb5f8fc1c3b6875867b8e3cf6ba65 (patch)
treeed9da4cc6a9ddc7dde02db8614924e8be05a749a /emulators
parentf2f2a12c40c313c7e670caae9c22154d2787dc61 (diff)
downloadpkgsrc-f5326a9b5fddb5f8fc1c3b6875867b8e3cf6ba65.tar.gz
Fix the mkstemp() configure check - can now boot full Dreamcast CD images again. Bump PKGREVISION
Diffstat (limited to 'emulators')
-rw-r--r--emulators/gxemul/Makefile5
-rw-r--r--emulators/gxemul/distinfo3
-rw-r--r--emulators/gxemul/patches/patch-configure16
3 files changed, 20 insertions, 4 deletions
diff --git a/emulators/gxemul/Makefile b/emulators/gxemul/Makefile
index 2e552b7f0f2..bc1a7e24d13 100644
--- a/emulators/gxemul/Makefile
+++ b/emulators/gxemul/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.45 2012/06/23 19:26:28 dholland Exp $
-#
+# $NetBSD: Makefile,v 1.46 2012/07/16 00:19:14 abs Exp $
DISTNAME= gxemul-0.6.0
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= emulators
MASTER_SITES= http://gxemul.sourceforge.net/src/
diff --git a/emulators/gxemul/distinfo b/emulators/gxemul/distinfo
index 12d6e44fcae..27530bfecbe 100644
--- a/emulators/gxemul/distinfo
+++ b/emulators/gxemul/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.35 2012/02/06 05:37:40 matt Exp $
+$NetBSD: distinfo,v 1.36 2012/07/16 00:19:14 abs Exp $
SHA1 (gxemul-0.6.0.tar.gz) = aa37ad5f200eee045b1da2b1d3f651401cf474af
RMD160 (gxemul-0.6.0.tar.gz) = ac6291a5f8bc9c0d1988d3ce39750339fe90a8ce
@@ -9,3 +9,4 @@ SHA1 (patch-ad) = a8757e7397ec3cc301d02bdf93654f55d558d29f
SHA1 (patch-ae) = 19ef822c16f0f6dd50aea719e0bc797c39d1f9c0
SHA1 (patch-af) = 8304ff5d8f779ac60f8d416d27e0a183e0e47d94
SHA1 (patch-ag) = 9d13bf6f6e6038e114a45cfbd03e4e52ac60d2c7
+SHA1 (patch-configure) = b7cacc97ffdeb127be196a7d352ee82b673d4026
diff --git a/emulators/gxemul/patches/patch-configure b/emulators/gxemul/patches/patch-configure
new file mode 100644
index 00000000000..744dd46e6db
--- /dev/null
+++ b/emulators/gxemul/patches/patch-configure
@@ -0,0 +1,16 @@
+$NetBSD: patch-configure,v 1.1 2012/07/16 00:19:14 abs Exp $
+
+Fix the check to pickup mkstemp() on at least NetBSD
+
+--- configure.orig 2012-07-15 22:26:52.000000000 +0000
++++ configure
+@@ -705,7 +705,8 @@ rm -f _tests.cc _tests.o _tests
+ # mkstemp missing?
+ printf "checking for mkstemp... "
+ printf "#include <unistd.h>
+-int main(int argc, char *argv[]) { int x; char *y = \"abc\";
++#include <stdlib.h>
++int main(int argc, char *argv[]) { int x; char y[4] = \"abc\";
+ x = mkstemp(y); return 0;}\n" > _tests.cc
+ $CXX $CXXFLAGS _tests.cc -o _tests 2> /dev/null
+ if [ ! -x _tests ]; then