pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/emulators/zsnes Fix build on DragonrFly.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7ea7ce057876
branches:  trunk
changeset: 527930:7ea7ce057876
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Mon Apr 16 16:06:32 2007 +0000

description:
Fix build on DragonrFly.

diffstat:

 emulators/zsnes/distinfo         |   5 +++--
 emulators/zsnes/patches/patch-aa |  13 +++++++++++--
 emulators/zsnes/patches/patch-af |  12 ++++++++++++
 3 files changed, 26 insertions(+), 4 deletions(-)

diffs (55 lines):

diff -r 5c5e540e351c -r 7ea7ce057876 emulators/zsnes/distinfo
--- a/emulators/zsnes/distinfo  Mon Apr 16 15:42:03 2007 +0000
+++ b/emulators/zsnes/distinfo  Mon Apr 16 16:06:32 2007 +0000
@@ -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 -r 5c5e540e351c -r 7ea7ce057876 emulators/zsnes/patches/patch-aa
--- a/emulators/zsnes/patches/patch-aa  Mon Apr 16 15:42:03 2007 +0000
+++ b/emulators/zsnes/patches/patch-aa  Mon Apr 16 16:06:32 2007 +0000
@@ -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 -r 5c5e540e351c -r 7ea7ce057876 emulators/zsnes/patches/patch-af
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/zsnes/patches/patch-af  Mon Apr 16 16:06:32 2007 +0000
@@ -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"



Home | Main Index | Thread Index | Old Index