summaryrefslogtreecommitdiff
path: root/emulators/pearpc
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-01-12 20:57:25 +0000
committerjoerg <joerg@pkgsrc.org>2006-01-12 20:57:25 +0000
commit448730ef96ce4b55d8380ac1bbec8f5fcb69bd05 (patch)
treee62926103d7b781d3c6e0da4d5e7b8eda7fb1d70 /emulators/pearpc
parentd29c67b2e1864c71300d5d37b20c5c16e3de437d (diff)
downloadpkgsrc-448730ef96ce4b55d8380ac1bbec8f5fcb69bd05.tar.gz
Fix errno. Add DragonFly support.
Diffstat (limited to 'emulators/pearpc')
-rw-r--r--emulators/pearpc/distinfo5
-rw-r--r--emulators/pearpc/patches/patch-ae18
-rw-r--r--emulators/pearpc/patches/patch-af21
-rw-r--r--emulators/pearpc/patches/patch-ag13
4 files changed, 56 insertions, 1 deletions
diff --git a/emulators/pearpc/distinfo b/emulators/pearpc/distinfo
index 5a62d71718d..046388bff51 100644
--- a/emulators/pearpc/distinfo
+++ b/emulators/pearpc/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.5 2005/12/22 19:27:36 ghen Exp $
+$NetBSD: distinfo,v 1.6 2006/01/12 20:57:25 joerg Exp $
SHA1 (pearpc-0.4.tar.bz2) = 1cfa4f19f9a1de73c209a38d8fda174c0ebe6ad5
RMD160 (pearpc-0.4.tar.bz2) = 84c831b3ede69721d0fa48d71a30ee0e7ec512fc
@@ -7,3 +7,6 @@ SHA1 (patch-aa) = 104fce78006613853c15573971cdb691a08c6401
SHA1 (patch-ab) = c8724e43d99476d5ccae8d8782dc8bf9705743ae
SHA1 (patch-ac) = e6b52cf368391fe6d09722a6ba99e5b3933c5b03
SHA1 (patch-ad) = 5932a40320c7783c8379d2af7f6d98a42707ff1b
+SHA1 (patch-ae) = 53dfb9a705296085bc1cdf707b9c491b0a2a4030
+SHA1 (patch-af) = dd2b1c23ab00313be04ca144fbceb3416b1d7d8f
+SHA1 (patch-ag) = 8ec459446fd666b99345d4a8963bcf47e35b0435
diff --git a/emulators/pearpc/patches/patch-ae b/emulators/pearpc/patches/patch-ae
new file mode 100644
index 00000000000..b40ae7896be
--- /dev/null
+++ b/emulators/pearpc/patches/patch-ae
@@ -0,0 +1,18 @@
+$NetBSD: patch-ae,v 1.1 2006/01/12 20:57:25 joerg Exp $
+
+--- src/io/prom/fs/hfs/libhfs.h.orig 2006-01-12 20:20:19.000000000 +0000
++++ src/io/prom/fs/hfs/libhfs.h
+@@ -18,11 +18,11 @@
+ *
+ */
+
++#include <errno.h>
++
+ # include "hfs.h"
+ # include "apple.h"
+
+-extern int errno;
+-
+ # define ERROR(code, str) \
+ do { hfs_error = (str), errno = (code); goto fail; } while (0)
+
diff --git a/emulators/pearpc/patches/patch-af b/emulators/pearpc/patches/patch-af
new file mode 100644
index 00000000000..4d73beee78b
--- /dev/null
+++ b/emulators/pearpc/patches/patch-af
@@ -0,0 +1,21 @@
+$NetBSD: patch-af,v 1.1 2006/01/12 20:57:25 joerg Exp $
+
+--- src/io/prom/fs/hfsplus/libhfsp.h.orig 2006-01-12 20:29:55.000000000 +0000
++++ src/io/prom/fs/hfsplus/libhfsp.h
+@@ -23,6 +23,8 @@
+ *
+ */
+
++#include <errno.h>
++
+ #ifndef APPLE_H
+ # include "apple.h"
+ #endif
+@@ -30,7 +32,6 @@
+ # include "hfs.h"
+ # include "hfsp.h"
+
+-extern int errno;
+ /* Last error is eventually found here */
+ extern const char *hfsp_error;
+
diff --git a/emulators/pearpc/patches/patch-ag b/emulators/pearpc/patches/patch-ag
new file mode 100644
index 00000000000..034ab04c0a8
--- /dev/null
+++ b/emulators/pearpc/patches/patch-ag
@@ -0,0 +1,13 @@
+$NetBSD: patch-ag,v 1.1 2006/01/12 20:57:25 joerg Exp $
+
+--- configure.orig 2006-01-12 20:37:05.000000000 +0000
++++ configure
+@@ -1934,7 +1934,7 @@ linux* | gnu* | k*bsd*-gnu)
+ echo "${ECHO_T}*** GNU, building POSIX version. we need pthread and rt." >&6
+ PPC_LDADD="$PPC_LDADD -lpthread -lrt"
+ ;;
+-freebsd*)
++freebsd* | dragonfly*)
+ OSAPI_DIR=posix
+ if test "x$enable_ui" = "xno"; then
+ enable_ui="x11"