From ea3d942005038b7e6f296ea3d5913cb0b0cd4df7 Mon Sep 17 00:00:00 2001 From: joerg Date: Fri, 24 Mar 2006 19:38:08 +0000 Subject: Fix errno. --- sysutils/hfsutils/distinfo | 7 ++++++- sysutils/hfsutils/patches/patch-ab | 11 +++++++++++ sysutils/hfsutils/patches/patch-ac | 13 +++++++++++++ sysutils/hfsutils/patches/patch-ad | 13 +++++++++++++ sysutils/hfsutils/patches/patch-ae | 13 +++++++++++++ sysutils/hfsutils/patches/patch-af | 13 +++++++++++++ 6 files changed, 69 insertions(+), 1 deletion(-) create mode 100644 sysutils/hfsutils/patches/patch-ab create mode 100644 sysutils/hfsutils/patches/patch-ac create mode 100644 sysutils/hfsutils/patches/patch-ad create mode 100644 sysutils/hfsutils/patches/patch-ae create mode 100644 sysutils/hfsutils/patches/patch-af (limited to 'sysutils') diff --git a/sysutils/hfsutils/distinfo b/sysutils/hfsutils/distinfo index 9a4f943e3fd..7255ef67132 100644 --- a/sysutils/hfsutils/distinfo +++ b/sysutils/hfsutils/distinfo @@ -1,6 +1,11 @@ -$NetBSD: distinfo,v 1.3 2005/02/24 13:40:54 agc Exp $ +$NetBSD: distinfo,v 1.4 2006/03/24 19:38:08 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) = bcd686f431220aafb994b4870974ae3157287b46 +SHA1 (patch-ab) = 8439ad5500d9bb2d61b13ffcd0be88d05c394f6f +SHA1 (patch-ac) = 252462cd8f6a79b7b20823eabe331e01746fb5ce +SHA1 (patch-ad) = 31a06f3ea3ff915e4067815f644d6d94d6d66947 +SHA1 (patch-ae) = 9d7ff81323f845194e8ae553d73938274a13ac20 +SHA1 (patch-af) = 9db9e9c63d47452386bd3e14190333f123087668 diff --git a/sysutils/hfsutils/patches/patch-ab b/sysutils/hfsutils/patches/patch-ab new file mode 100644 index 00000000000..5bfd46cf717 --- /dev/null +++ b/sysutils/hfsutils/patches/patch-ab @@ -0,0 +1,11 @@ +$NetBSD: patch-ab,v 1.1 2006/03/24 19:38:08 joerg Exp $ + +--- hfsutil.h.orig 2006-03-24 19:09:05.000000000 +0000 ++++ hfsutil.h +@@ -20,5 +20,5 @@ + */ + +-extern int errno; ++#include + + # define ERROR(code, str) (hfs_error = (str), errno = (code)) diff --git a/sysutils/hfsutils/patches/patch-ac b/sysutils/hfsutils/patches/patch-ac new file mode 100644 index 00000000000..ef4988d81ee --- /dev/null +++ b/sysutils/hfsutils/patches/patch-ac @@ -0,0 +1,13 @@ +$NetBSD: patch-ac,v 1.1 2006/03/24 19:38:08 joerg Exp $ + +--- hcwd.c.orig 2006-03-24 19:09:35.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/hfsutils/patches/patch-ad b/sysutils/hfsutils/patches/patch-ad new file mode 100644 index 00000000000..b3ebb4d37be --- /dev/null +++ b/sysutils/hfsutils/patches/patch-ad @@ -0,0 +1,13 @@ +$NetBSD: patch-ad,v 1.1 2006/03/24 19:38:08 joerg Exp $ + +--- binhex.c.orig 2006-03-24 19:16:23.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/hfsutils/patches/patch-ae b/sysutils/hfsutils/patches/patch-ae new file mode 100644 index 00000000000..54958568756 --- /dev/null +++ b/sysutils/hfsutils/patches/patch-ae @@ -0,0 +1,13 @@ +$NetBSD: patch-ae,v 1.1 2006/03/24 19:38:08 joerg Exp $ + +--- copyin.c.orig 2006-03-24 19:19:27.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/hfsutils/patches/patch-af b/sysutils/hfsutils/patches/patch-af new file mode 100644 index 00000000000..cc70fb16a9c --- /dev/null +++ b/sysutils/hfsutils/patches/patch-af @@ -0,0 +1,13 @@ +$NetBSD: patch-af,v 1.1 2006/03/24 19:38:08 joerg Exp $ + +--- copyout.c.orig 2006-03-24 19:24:34.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 -- cgit v1.2.3