summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorjoerg <joerg>2007-04-16 16:06:32 +0000
committerjoerg <joerg>2007-04-16 16:06:32 +0000
commita93ff5d01577ac5a8dab46b6233b6da4b8dbe47a (patch)
tree7f17a9da2f83d389e66ad5f21fae2a49218b546d /emulators
parent531ca67c2c72ddf08e43b90c79c3a2839eef5f10 (diff)
downloadpkgsrc-a93ff5d01577ac5a8dab46b6233b6da4b8dbe47a.tar.gz
Fix build on DragonrFly.
Diffstat (limited to 'emulators')
-rw-r--r--emulators/zsnes/distinfo5
-rw-r--r--emulators/zsnes/patches/patch-aa13
-rw-r--r--emulators/zsnes/patches/patch-af12
3 files changed, 26 insertions, 4 deletions
diff --git a/emulators/zsnes/distinfo b/emulators/zsnes/distinfo
index 26d53401625..81126765183 100644
--- a/emulators/zsnes/distinfo
+++ b/emulators/zsnes/distinfo
@@ -1,10 +1,11 @@
-$NetBSD: distinfo,v 1.12 2007/03/24 20:10:08 adam Exp $
+$NetBSD: distinfo,v 1.13 2007/04/16 16:06:32 joerg Exp $
SHA1 (zsnes151src.tar.bz2) = 03df35490870c9950d7010747d0546c8525c0362
RMD160 (zsnes151src.tar.bz2) = 337407bf7e5516bcd7bf310c7b17d6d12a948750
Size (zsnes151src.tar.bz2) = 1071712 bytes
-SHA1 (patch-aa) = 7e0f57c3208c5717c44c1ee9ccac6b5b5feebf9a
+SHA1 (patch-aa) = f564e61b3105594d935e4fb46c41f3d5d21f254e
SHA1 (patch-ab) = 2fa2fd6c4eb721d6588b9a72eb0dbf41c265c739
SHA1 (patch-ac) = 451e3a56da55d6d58ecc2c335b804ba374ed31e5
SHA1 (patch-ad) = 6244778c7f5c3c5d8c4f040760f8243161ae886d
SHA1 (patch-ae) = 81236ed52fe7095f6317f655374234ce17cf30dd
+SHA1 (patch-af) = f223476d4ef39a9fe9d60b827fc7c7e2d77f26ee
diff --git a/emulators/zsnes/patches/patch-aa b/emulators/zsnes/patches/patch-aa
index 4373ee67d1e..7b955eb30f4 100644
--- a/emulators/zsnes/patches/patch-aa
+++ b/emulators/zsnes/patches/patch-aa
@@ -1,7 +1,16 @@
-$NetBSD: patch-aa,v 1.6 2007/03/24 20:10:08 adam Exp $
+$NetBSD: patch-aa,v 1.7 2007/04/16 16:06:32 joerg Exp $
---- configure.orig 2007-01-25 01:51:21.000000000 +0100
+--- configure.orig 2007-01-25 00:51:21.000000000 +0000
+++ configure
+@@ -3422,7 +3422,7 @@ case x$target in
+ CFLAGS="$CFLAGS -D__BEOS__"
+ NFLAGS="$NFLAGS -D__BEOS__ -f elf -DELF"
+ ;;
+- *-*-*bsd*)
++ *-*-*bsd* | *-*-dragonfly*)
+ CFLAGS="$CFLAGS -D__BSDSDL__"
+ NFLAGS="$NFLAGS -D__BSDSDL__ -f elf -DELF"
+ ;;
@@ -5233,7 +5233,7 @@ echo "$as_me: WARNING: If you intend to
CFLAGS="$CFLAGS -O3 -fomit-frame-pointer -fprefetch-loop-arrays -fforce-addr $STRIP -D__RELEASE__"
NFLAGS="$NFLAGS -O99999999 -D__RELEASE__"
diff --git a/emulators/zsnes/patches/patch-af b/emulators/zsnes/patches/patch-af
new file mode 100644
index 00000000000..fad681b6755
--- /dev/null
+++ b/emulators/zsnes/patches/patch-af
@@ -0,0 +1,12 @@
+$NetBSD: patch-af,v 1.3 2007/04/16 16:06:32 joerg Exp $
+
+--- tools/depbuild.cpp.orig 2007-04-16 15:40:03.000000000 +0000
++++ tools/depbuild.cpp
+@@ -24,6 +24,7 @@ This program generates dependencies for
+ #include <iostream>
+ #include <string>
+ #include <cstdio>
++#include <unistd.h>
+ using namespace std;
+
+ #include "fileutil.h"