pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/emulators/dgen Make this build with gcc4.
details: https://anonhg.NetBSD.org/pkgsrc/rev/49374a60e4b4
branches: trunk
changeset: 522129:49374a60e4b4
user: xtraeme <xtraeme%pkgsrc.org@localhost>
date: Sun Dec 03 17:07:41 2006 +0000
description:
Make this build with gcc4.
diffstat:
emulators/dgen/Makefile | 4 ++--
emulators/dgen/distinfo | 3 ++-
emulators/dgen/patches/patch-ab | 12 ++++++++++++
3 files changed, 16 insertions(+), 3 deletions(-)
diffs (46 lines):
diff -r afcff5785314 -r 49374a60e4b4 emulators/dgen/Makefile
--- a/emulators/dgen/Makefile Sun Dec 03 17:00:39 2006 +0000
+++ b/emulators/dgen/Makefile Sun Dec 03 17:07:41 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2006/06/12 16:28:06 wiz Exp $
+# $NetBSD: Makefile,v 1.16 2006/12/03 17:07:41 xtraeme Exp $
#
DISTNAME= dgen-sdl-1.23
@@ -25,7 +25,7 @@
BUILDLINK_TRANSFORM+= rm:-fno-rtti
.include "../../mk/compiler.mk"
-.if !empty(CC_VERSION:Mgcc-3*)
+.if !empty(CC_VERSION:Mgcc-[34]*)
BUILDLINK_TRANSFORM+= 'opt:-m\(align-loops.*\):-f\1'
BUILDLINK_TRANSFORM+= 'opt:-m\(align-jumps.*\):-f\1'
BUILDLINK_TRANSFORM+= 'opt:-m\(align-functions.*\):-f\1'
diff -r afcff5785314 -r 49374a60e4b4 emulators/dgen/distinfo
--- a/emulators/dgen/distinfo Sun Dec 03 17:00:39 2006 +0000
+++ b/emulators/dgen/distinfo Sun Dec 03 17:07:41 2006 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.3 2006/04/28 12:49:20 joerg Exp $
+$NetBSD: distinfo,v 1.4 2006/12/03 17:07:41 xtraeme Exp $
SHA1 (dgen-sdl-1.23.tar.gz) = c37096e5dd7c9f2c2c75496769d6d2b610a3a488
RMD160 (dgen-sdl-1.23.tar.gz) = ca5ac81b4c8436a63e8d776b182735ad63ffa77a
Size (dgen-sdl-1.23.tar.gz) = 340556 bytes
SHA1 (patch-aa) = c51dcde41d11df29aa7342fcd325d8022b6e4bd7
+SHA1 (patch-ab) = 7bc1285bc7654540cc802472dc049d4cd252faf1
diff -r afcff5785314 -r 49374a60e4b4 emulators/dgen/patches/patch-ab
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/dgen/patches/patch-ab Sun Dec 03 17:07:41 2006 +0000
@@ -0,0 +1,12 @@
+$NetBSD: patch-ab,v 1.1 2006/12/03 17:07:41 xtraeme Exp $
+
+--- musa/m68kmake.c.orig 2006-12-03 17:59:13.000000000 +0100
++++ musa/m68kmake.c 2006-12-03 17:59:35.000000000 +0100
+@@ -1029,6 +1029,7 @@
+ fprintf(filep, "/* ========================= OPCODE TABLE BUILDER ========================= */\n");
+ fprintf(filep, "/* ======================================================================== */\n\n");
+
++ fprintf(filep, "#include <sys/types.h>\n\n");
+ fprintf(filep, "#include \"m68kops.h\"\n");
+ fprintf(filep, "#include \"m68kcpu.h\"\n");
+ fprintf(filep, "#include <stdlib.h>\n\n");
Home |
Main Index |
Thread Index |
Old Index