summaryrefslogtreecommitdiff
path: root/sysutils/coreutils/patches/patch-aj
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/coreutils/patches/patch-aj')
-rw-r--r--sysutils/coreutils/patches/patch-aj22
1 files changed, 22 insertions, 0 deletions
diff --git a/sysutils/coreutils/patches/patch-aj b/sysutils/coreutils/patches/patch-aj
new file mode 100644
index 00000000000..2a54394b445
--- /dev/null
+++ b/sysutils/coreutils/patches/patch-aj
@@ -0,0 +1,22 @@
+$NetBSD: patch-aj,v 1.3 2009/06/12 15:09:46 joerg Exp $
+
+--- lib/stdio-impl.h 2008-05-14 21:53:25 +0900
++++ lib/stdio-impl.h 2009-03-11 18:57:26 +0900
+@@ -35,7 +35,7 @@
+ struct { unsigned char *_base; int _size; } _ub; \
+ int _ur; \
+ unsigned char _ubuf[3]; \
+- unsigned cahr _nbuf[1]; \
++ unsigned char _nbuf[1]; \
+ struct { unsigned char *_base; int _size; } _lb; \
+ int _blksize; \
+ fpos_t _offset; \
+@@ -60,7 +60,7 @@
+ };
+ # define fp_ub ((struct __sfileext *) fp->_ext._base)->_ub
+ # else /* FreeBSD, DragonFly, MacOS X, Cygwin */
+-# define fp_ub fp->_ub
++# define fp_ub fp_->_ub
+ # endif
+
+ # define HASUB(fp) (fp_ub._base != NULL)