diff options
author | xtraeme <xtraeme@pkgsrc.org> | 2006-12-03 17:07:41 +0000 |
---|---|---|
committer | xtraeme <xtraeme@pkgsrc.org> | 2006-12-03 17:07:41 +0000 |
commit | 0b3700795febd292c900dd7c3781a4e55565d4e2 (patch) | |
tree | 45ac41449fd62e8bfae7f89358a653266c2b73c0 /emulators | |
parent | 4c746db70df52a229b0b020655ddc0166feeeef4 (diff) | |
download | pkgsrc-0b3700795febd292c900dd7c3781a4e55565d4e2.tar.gz |
Make this build with gcc4.
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/dgen/Makefile | 4 | ||||
-rw-r--r-- | emulators/dgen/distinfo | 3 | ||||
-rw-r--r-- | emulators/dgen/patches/patch-ab | 12 |
3 files changed, 16 insertions, 3 deletions
diff --git a/emulators/dgen/Makefile b/emulators/dgen/Makefile index e6c41bc2e4b..290fc9f42c2 100644 --- a/emulators/dgen/Makefile +++ b/emulators/dgen/Makefile @@ -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:-march=pentium 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 --git a/emulators/dgen/distinfo b/emulators/dgen/distinfo index 94f6f0fe94b..145a98727e7 100644 --- a/emulators/dgen/distinfo +++ b/emulators/dgen/distinfo @@ -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 --git a/emulators/dgen/patches/patch-ab b/emulators/dgen/patches/patch-ab new file mode 100644 index 00000000000..59ec8c7966d --- /dev/null +++ b/emulators/dgen/patches/patch-ab @@ -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"); |