Mon Jul 16 00:19:14 2012 UTC ()
Fix the mkstemp() configure check - can now boot full Dreamcast CD images again. Bump PKGREVISION


(abs)
diff -r1.45 -r1.46 pkgsrc/emulators/gxemul/Makefile
diff -r1.35 -r1.36 pkgsrc/emulators/gxemul/distinfo
diff -r0 -r1.1 pkgsrc/emulators/gxemul/patches/patch-configure

cvs diff -r1.45 -r1.46 pkgsrc/emulators/gxemul/Makefile (expand / switch to unified diff)

--- pkgsrc/emulators/gxemul/Makefile 2012/06/23 19:26:28 1.45
+++ pkgsrc/emulators/gxemul/Makefile 2012/07/16 00:19:14 1.46
@@ -1,18 +1,17 @@ @@ -1,18 +1,17 @@
1# $NetBSD: Makefile,v 1.45 2012/06/23 19:26:28 dholland Exp $ 1# $NetBSD: Makefile,v 1.46 2012/07/16 00:19:14 abs Exp $
2# 
3 2
4DISTNAME= gxemul-0.6.0 3DISTNAME= gxemul-0.6.0
5PKGREVISION= 1 4PKGREVISION= 2
6CATEGORIES= emulators 5CATEGORIES= emulators
7MASTER_SITES= http://gxemul.sourceforge.net/src/ 6MASTER_SITES= http://gxemul.sourceforge.net/src/
8 7
9MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
10HOMEPAGE= http://gxemul.sourceforge.net/ 9HOMEPAGE= http://gxemul.sourceforge.net/
11COMMENT= Framework for full-system computer architecture emulation 10COMMENT= Framework for full-system computer architecture emulation
12 11
13PKG_INSTALLATION_TYPES= overwrite pkgviews 12PKG_INSTALLATION_TYPES= overwrite pkgviews
14PKG_DESTDIR_SUPPORT= user-destdir 13PKG_DESTDIR_SUPPORT= user-destdir
15 14
16USE_TOOLS+= pax 15USE_TOOLS+= pax
17 16
18USE_LANGUAGES= c c++ 17USE_LANGUAGES= c c++

cvs diff -r1.35 -r1.36 pkgsrc/emulators/gxemul/distinfo (expand / switch to unified diff)

--- pkgsrc/emulators/gxemul/distinfo 2012/02/06 05:37:40 1.35
+++ pkgsrc/emulators/gxemul/distinfo 2012/07/16 00:19:14 1.36
@@ -1,11 +1,12 @@ @@ -1,11 +1,12 @@
1$NetBSD: distinfo,v 1.35 2012/02/06 05:37:40 matt Exp $ 1$NetBSD: distinfo,v 1.36 2012/07/16 00:19:14 abs Exp $
2 2
3SHA1 (gxemul-0.6.0.tar.gz) = aa37ad5f200eee045b1da2b1d3f651401cf474af 3SHA1 (gxemul-0.6.0.tar.gz) = aa37ad5f200eee045b1da2b1d3f651401cf474af
4RMD160 (gxemul-0.6.0.tar.gz) = ac6291a5f8bc9c0d1988d3ce39750339fe90a8ce 4RMD160 (gxemul-0.6.0.tar.gz) = ac6291a5f8bc9c0d1988d3ce39750339fe90a8ce
5Size (gxemul-0.6.0.tar.gz) = 3598795 bytes 5Size (gxemul-0.6.0.tar.gz) = 3598795 bytes
6SHA1 (patch-aa) = 6f2c0dc94606ba213bcc73527ea4bef997c89c45 6SHA1 (patch-aa) = 6f2c0dc94606ba213bcc73527ea4bef997c89c45
7SHA1 (patch-ab) = ebd64a2b56cd4140522c567b90dcbfb9440b9db2 7SHA1 (patch-ab) = ebd64a2b56cd4140522c567b90dcbfb9440b9db2
8SHA1 (patch-ad) = a8757e7397ec3cc301d02bdf93654f55d558d29f 8SHA1 (patch-ad) = a8757e7397ec3cc301d02bdf93654f55d558d29f
9SHA1 (patch-ae) = 19ef822c16f0f6dd50aea719e0bc797c39d1f9c0 9SHA1 (patch-ae) = 19ef822c16f0f6dd50aea719e0bc797c39d1f9c0
10SHA1 (patch-af) = 8304ff5d8f779ac60f8d416d27e0a183e0e47d94 10SHA1 (patch-af) = 8304ff5d8f779ac60f8d416d27e0a183e0e47d94
11SHA1 (patch-ag) = 9d13bf6f6e6038e114a45cfbd03e4e52ac60d2c7 11SHA1 (patch-ag) = 9d13bf6f6e6038e114a45cfbd03e4e52ac60d2c7
 12SHA1 (patch-configure) = b7cacc97ffdeb127be196a7d352ee82b673d4026

File Added: pkgsrc/emulators/gxemul/patches/Attic/patch-configure
$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