pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/emulators/pearpc Fix errno. Add DragonFly support.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a7490604fbdf
branches:  trunk
changeset: 506193:a7490604fbdf
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu Jan 12 20:57:25 2006 +0000

description:
Fix errno. Add DragonFly support.

diffstat:

 emulators/pearpc/distinfo         |   5 ++++-
 emulators/pearpc/patches/patch-ae |  18 ++++++++++++++++++
 emulators/pearpc/patches/patch-af |  21 +++++++++++++++++++++
 emulators/pearpc/patches/patch-ag |  13 +++++++++++++
 4 files changed, 56 insertions(+), 1 deletions(-)

diffs (80 lines):

diff -r d06b1d69dfc4 -r a7490604fbdf emulators/pearpc/distinfo
--- a/emulators/pearpc/distinfo Thu Jan 12 20:53:50 2006 +0000
+++ b/emulators/pearpc/distinfo Thu Jan 12 20:57:25 2006 +0000
@@ -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-ab) = c8724e43d99476d5ccae8d8782dc8bf9705743ae
 SHA1 (patch-ac) = e6b52cf368391fe6d09722a6ba99e5b3933c5b03
 SHA1 (patch-ad) = 5932a40320c7783c8379d2af7f6d98a42707ff1b
+SHA1 (patch-ae) = 53dfb9a705296085bc1cdf707b9c491b0a2a4030
+SHA1 (patch-af) = dd2b1c23ab00313be04ca144fbceb3416b1d7d8f
+SHA1 (patch-ag) = 8ec459446fd666b99345d4a8963bcf47e35b0435
diff -r d06b1d69dfc4 -r a7490604fbdf emulators/pearpc/patches/patch-ae
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/pearpc/patches/patch-ae Thu Jan 12 20:57:25 2006 +0000
@@ -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 -r d06b1d69dfc4 -r a7490604fbdf emulators/pearpc/patches/patch-af
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/pearpc/patches/patch-af Thu Jan 12 20:57:25 2006 +0000
@@ -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 -r d06b1d69dfc4 -r a7490604fbdf emulators/pearpc/patches/patch-ag
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/pearpc/patches/patch-ag Thu Jan 12 20:57:25 2006 +0000
@@ -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"



Home | Main Index | Thread Index | Old Index