summaryrefslogtreecommitdiff
path: root/emulators/generator
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2009-10-29 17:58:50 +0000
committerjoerg <joerg@pkgsrc.org>2009-10-29 17:58:50 +0000
commit1e48f6cedac951b5a80ccc269460fec2bdbf5a4f (patch)
tree62c82a573191d17a8ee447a64d268e3ce9bc59ef /emulators/generator
parent2cf96a18c2c0b0d9b1ab96cffa07055b1a010d8a (diff)
downloadpkgsrc-1e48f6cedac951b5a80ccc269460fec2bdbf5a4f.tar.gz
Fix build with newer GCC versions. DESTDIR ready. No MAKE_JOBS.
Diffstat (limited to 'emulators/generator')
-rw-r--r--emulators/generator/Makefile5
-rw-r--r--emulators/generator/distinfo3
-rw-r--r--emulators/generator/patches/patch-ah13
3 files changed, 19 insertions, 2 deletions
diff --git a/emulators/generator/Makefile b/emulators/generator/Makefile
index 1df5bb6f1ff..444a053677a 100644
--- a/emulators/generator/Makefile
+++ b/emulators/generator/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2006/06/12 16:28:06 wiz Exp $
+# $NetBSD: Makefile,v 1.22 2009/10/29 17:58:50 joerg Exp $
#
DISTNAME= generator-0.35
@@ -10,6 +10,9 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.squish.net/generator/
COMMENT= Sega Mega drive genesis emulator
+PKG_DESTDIR_SUPPORT= user-destdir
+MAKE_JOBS_SAFE= no
+
GNU_CONFIGURE= yes
.if (${MACHINE_ARCH} == "i386")
diff --git a/emulators/generator/distinfo b/emulators/generator/distinfo
index 297ee2eaaea..6dbf8913c54 100644
--- a/emulators/generator/distinfo
+++ b/emulators/generator/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.8 2007/10/10 22:09:48 rillig Exp $
+$NetBSD: distinfo,v 1.9 2009/10/29 17:58:50 joerg Exp $
SHA1 (generator-0.35.tar.gz) = a61138579efd97028d3a69c54c3c6fcd0a3d74ab
RMD160 (generator-0.35.tar.gz) = 6b448018b8ed0fd9755ddb850f48892304d12e78
@@ -9,3 +9,4 @@ SHA1 (patch-ac) = 7467437c39f7df56a261a330d8f021c0d9c0381b
SHA1 (patch-ae) = 4e689421fe66aa7f635191e9f0100cd98daf8a76
SHA1 (patch-af) = ef1c72b6da1ae93209a13b6836d5a85f66ffa51c
SHA1 (patch-ag) = 2837e5f931326b1ac4fb7b045c05a81d809693e4
+SHA1 (patch-ah) = 4e76b9cd2fd377dee83273bafe930bec77b9bef1
diff --git a/emulators/generator/patches/patch-ah b/emulators/generator/patches/patch-ah
new file mode 100644
index 00000000000..81b17799169
--- /dev/null
+++ b/emulators/generator/patches/patch-ah
@@ -0,0 +1,13 @@
+$NetBSD: patch-ah,v 1.1 2009/10/29 17:58:50 joerg Exp $
+
+--- cmz80/z80stb.h.orig 2009-10-29 18:37:09.000000000 +0100
++++ cmz80/z80stb.h
+@@ -128,8 +128,6 @@ void CallbackMemWriteWord(WORD wAddr, WO
+ /* inline */ BYTE Srl(BYTE b);
+ /* inline */ BYTE Sla(BYTE b);
+ /* inline */ BYTE Sra(BYTE b);
+-/* inline */ BYTE Inc(BYTE b);
+-/* inline */ BYTE Dec(BYTE b);
+
+ /* inline */ WORD Add_2(WORD wArg1, WORD wArg2);
+ /* inline */ WORD Adc_2(WORD wArg1, WORD wArg2);