summaryrefslogtreecommitdiff
path: root/sysutils/xhfs
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-06-08 15:34:52 +0000
committerjoerg <joerg@pkgsrc.org>2006-06-08 15:34:52 +0000
commite799e6d1a2fcfd54fb876fd7379320e4dcd5805a (patch)
tree4aef21c530eb01ab2ab450e2d9cf14f8e85a2744 /sysutils/xhfs
parentf387b03ef2ea5c34fb2623e4b7f78dafc452e136 (diff)
downloadpkgsrc-e799e6d1a2fcfd54fb876fd7379320e4dcd5805a.tar.gz
Fix errno.
Diffstat (limited to 'sysutils/xhfs')
-rw-r--r--sysutils/xhfs/distinfo10
-rw-r--r--sysutils/xhfs/patches/patch-ac13
-rw-r--r--sysutils/xhfs/patches/patch-ad13
-rw-r--r--sysutils/xhfs/patches/patch-ae13
-rw-r--r--sysutils/xhfs/patches/patch-af13
-rw-r--r--sysutils/xhfs/patches/patch-ag11
-rw-r--r--sysutils/xhfs/patches/patch-ah13
-rw-r--r--sysutils/xhfs/patches/patch-ai13
-rw-r--r--sysutils/xhfs/patches/patch-aj13
9 files changed, 111 insertions, 1 deletions
diff --git a/sysutils/xhfs/distinfo b/sysutils/xhfs/distinfo
index 009abdfb585..b5178fe8f60 100644
--- a/sysutils/xhfs/distinfo
+++ b/sysutils/xhfs/distinfo
@@ -1,7 +1,15 @@
-$NetBSD: distinfo,v 1.3 2005/02/24 13:41:00 agc Exp $
+$NetBSD: distinfo,v 1.4 2006/06/08 15:34:52 joerg Exp $
SHA1 (hfsutils-3.2.6.tar.gz) = 6d71dfb2c93c0d8082972d39f3f75ae53a438d5d
RMD160 (hfsutils-3.2.6.tar.gz) = a8b8c0c6556f3be2b701baab80b933dc6691a6ea
Size (hfsutils-3.2.6.tar.gz) = 207697 bytes
SHA1 (patch-aa) = 1fd9844c74a980ae1348c551750c4e4a5aa5c29f
SHA1 (patch-ab) = ad0a03015ce1a0d484505f373b3d1bcc5412b432
+SHA1 (patch-ac) = 735d69552aa88b5cc8d4fa67b1beb0766851bd73
+SHA1 (patch-ad) = 8ab1cc21a8a728d29ab49f5b96d01141b325a39a
+SHA1 (patch-ae) = 0ef878024091cda74589c4ddddbf745bc341306b
+SHA1 (patch-af) = 0b0b661d6eafa7955d66ce7d0be2a75406408d14
+SHA1 (patch-ag) = daf03f998e2458ec185bfcf61e4e84a8bf11d965
+SHA1 (patch-ah) = d45f2999beb635ab45644f7e8af4c4f1eb0bbcad
+SHA1 (patch-ai) = bc225c9707f929d8695146d7b3546d3d8b379cb7
+SHA1 (patch-aj) = 0f3975375111a37fc580aded0e29909d5494c81a
diff --git a/sysutils/xhfs/patches/patch-ac b/sysutils/xhfs/patches/patch-ac
new file mode 100644
index 00000000000..15988e1a6e5
--- /dev/null
+++ b/sysutils/xhfs/patches/patch-ac
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.1 2006/06/08 15:34:52 joerg Exp $
+
+--- binhex.c.orig 2006-06-08 15:21:56.000000000 +0000
++++ binhex.c
+@@ -38,8 +38,6 @@ int dup(int);
+
+ const char *bh_error = "no error";
+
+-extern int errno;
+-
+ # define ERROR(code, str) (bh_error = (str), errno = (code))
+
+ static FILE *file; /* input/output file */
diff --git a/sysutils/xhfs/patches/patch-ad b/sysutils/xhfs/patches/patch-ad
new file mode 100644
index 00000000000..52273b88052
--- /dev/null
+++ b/sysutils/xhfs/patches/patch-ad
@@ -0,0 +1,13 @@
+$NetBSD: patch-ad,v 1.1 2006/06/08 15:34:52 joerg Exp $
+
+--- copyin.c.orig 2006-06-08 15:22:15.000000000 +0000
++++ copyin.c
+@@ -48,8 +48,6 @@ int dup(int);
+
+ const char *cpi_error = "no error";
+
+-extern int errno;
+-
+ # define ERROR(code, str) (cpi_error = (str), errno = (code))
+
+ # define MACB_BLOCKSZ 128
diff --git a/sysutils/xhfs/patches/patch-ae b/sysutils/xhfs/patches/patch-ae
new file mode 100644
index 00000000000..b0f1a0970f0
--- /dev/null
+++ b/sysutils/xhfs/patches/patch-ae
@@ -0,0 +1,13 @@
+$NetBSD: patch-ae,v 1.1 2006/06/08 15:34:52 joerg Exp $
+
+--- copyout.c.orig 2006-06-08 15:23:16.000000000 +0000
++++ copyout.c
+@@ -49,8 +49,6 @@ int dup(int);
+
+ const char *cpo_error = "no error";
+
+-extern int errno;
+-
+ # define ERROR(code, str) (cpo_error = (str), errno = (code))
+
+ # define MACB_BLOCKSZ 128
diff --git a/sysutils/xhfs/patches/patch-af b/sysutils/xhfs/patches/patch-af
new file mode 100644
index 00000000000..5eac2f3eef1
--- /dev/null
+++ b/sysutils/xhfs/patches/patch-af
@@ -0,0 +1,13 @@
+$NetBSD: patch-af,v 1.1 2006/06/08 15:34:52 joerg Exp $
+
+--- hcwd.c.orig 2006-06-08 15:25:19.000000000 +0000
++++ hcwd.c
+@@ -43,8 +43,6 @@ static mountent *mounts = 0;
+ static int mtabsz = 0, nmounts = 0;
+ static int curvol = -1, dirty = 0;
+
+-extern int errno;
+-
+ /*
+ * NAME: addent()
+ * DESCRIPTION: insert mount entry into table
diff --git a/sysutils/xhfs/patches/patch-ag b/sysutils/xhfs/patches/patch-ag
new file mode 100644
index 00000000000..2e6c109464e
--- /dev/null
+++ b/sysutils/xhfs/patches/patch-ag
@@ -0,0 +1,11 @@
+$NetBSD: patch-ag,v 1.1 2006/06/08 15:34:52 joerg Exp $
+
+--- hfsutil.h.orig 2006-06-08 15:28:08.000000000 +0000
++++ hfsutil.h
+@@ -20,5 +20,5 @@
+ */
+
+-extern int errno;
++#include <errno.h>
+
+ # define ERROR(code, str) (hfs_error = (str), errno = (code))
diff --git a/sysutils/xhfs/patches/patch-ah b/sysutils/xhfs/patches/patch-ah
new file mode 100644
index 00000000000..8c980698436
--- /dev/null
+++ b/sysutils/xhfs/patches/patch-ah
@@ -0,0 +1,13 @@
+$NetBSD: patch-ah,v 1.1 2006/06/08 15:34:52 joerg Exp $
+
+--- libhfs/libhfs.h.orig 2006-06-08 15:28:29.000000000 +0000
++++ libhfs/libhfs.h
+@@ -22,7 +22,7 @@
+ # include "hfs.h"
+ # include "apple.h"
+
+-extern int errno;
++#include <errno.h>
+
+ # define ERROR(code, str) \
+ do { hfs_error = (str), errno = (code); goto fail; } while (0)
diff --git a/sysutils/xhfs/patches/patch-ai b/sysutils/xhfs/patches/patch-ai
new file mode 100644
index 00000000000..e134924f021
--- /dev/null
+++ b/sysutils/xhfs/patches/patch-ai
@@ -0,0 +1,13 @@
+$NetBSD: patch-ai,v 1.1 2006/06/08 15:34:52 joerg Exp $
+
+--- librsrc/librsrc.h.orig 2006-06-08 15:28:41.000000000 +0000
++++ librsrc/librsrc.h
+@@ -21,7 +21,7 @@
+
+ # include "rsrc.h"
+
+-extern int errno;
++#include <errno.h>
+
+ # define ERROR(code, str) \
+ do { rsrc_error = (str), errno = (code); goto fail; } while (0)
diff --git a/sysutils/xhfs/patches/patch-aj b/sysutils/xhfs/patches/patch-aj
new file mode 100644
index 00000000000..828984b0c4f
--- /dev/null
+++ b/sysutils/xhfs/patches/patch-aj
@@ -0,0 +1,13 @@
+$NetBSD: patch-aj,v 1.1 2006/06/08 15:34:52 joerg Exp $
+
+--- tclhfs.c.orig 1998-11-02 22:08:32.000000000 +0000
++++ tclhfs.c
+@@ -44,7 +44,7 @@
+ # include "suid.h"
+ # include "version.h"
+
+-extern int errno;
++#include <errno.h>
+
+ # define ERROR(code, str) (hfs_error = (str), errno = (code))
+