summaryrefslogtreecommitdiff
path: root/devel/libhfs/patches/patch-ac
diff options
context:
space:
mode:
Diffstat (limited to 'devel/libhfs/patches/patch-ac')
-rw-r--r--devel/libhfs/patches/patch-ac15
1 files changed, 9 insertions, 6 deletions
diff --git a/devel/libhfs/patches/patch-ac b/devel/libhfs/patches/patch-ac
index 71c17680aa8..10267ea261f 100644
--- a/devel/libhfs/patches/patch-ac
+++ b/devel/libhfs/patches/patch-ac
@@ -1,15 +1,18 @@
-$NetBSD: patch-ac,v 1.3 1999/12/02 19:05:06 fredb Exp $
+$NetBSD: patch-ac,v 1.4 2005/12/15 22:14:15 joerg Exp $
---- libhfs/libhfs.h.orig Mon Nov 15 19:52:30 1999
-+++ libhfs/libhfs.h Mon Nov 15 19:52:30 1999
-@@ -19,8 +19,8 @@
+--- libhfs/libhfs.h.orig 2005-12-15 22:07:50.000000000 +0000
++++ libhfs/libhfs.h
+@@ -19,10 +19,9 @@
* Id: libhfs.h,v 1.7 1998/11/02 22:09:02 rob Exp
*/
-# include "hfs.h"
-# include "apple.h"
+-
+-extern int errno;
+# include <hfs.h>
+# include <apple.h>
++#include <errno.h>
- extern int errno;
-
+ # define ERROR(code, str) \
+ do { hfs_error = (str), errno = (code); goto fail; } while (0)