diff options
Diffstat (limited to 'recipes/hfsutils/hfsutils-3.2.6/hfsutils-3.2.6-errno.patch')
-rw-r--r-- | recipes/hfsutils/hfsutils-3.2.6/hfsutils-3.2.6-errno.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/recipes/hfsutils/hfsutils-3.2.6/hfsutils-3.2.6-errno.patch b/recipes/hfsutils/hfsutils-3.2.6/hfsutils-3.2.6-errno.patch new file mode 100644 index 0000000000..6e25f794b2 --- /dev/null +++ b/recipes/hfsutils/hfsutils-3.2.6/hfsutils-3.2.6-errno.patch @@ -0,0 +1,13 @@ +diff -ruN hfsutils.orig/tclhfs.c hfsutils-3.2.6/tclhfs.c +--- hfsutils.orig/tclhfs.c 2003-03-31 17:34:55.000000000 +0200 ++++ hfsutils-3.2.6/tclhfs.c 2003-03-31 17:39:51.000000000 +0200 +@@ -43,8 +43,7 @@ + # include "charset.h" + # include "suid.h" + # include "version.h" +- +-extern int errno; ++# include <errno.h> + + # define ERROR(code, str) (hfs_error = (str), errno = (code)) + |