diff options
author | joerg <joerg@pkgsrc.org> | 2009-06-12 15:09:46 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2009-06-12 15:09:46 +0000 |
commit | 4663d7a72339a72303a10d16c51317c1da7efe50 (patch) | |
tree | 022a43bdb144e0bc7d4eadb1a275c94dd3eca1c9 /sysutils | |
parent | a11cbba03a558dad1b79833ff0892a859c9b8c5c (diff) | |
download | pkgsrc-4663d7a72339a72303a10d16c51317c1da7efe50.tar.gz |
Fix build on DragonFly. From YONETANI Tomokazu in PR 41366.
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/coreutils/distinfo | 3 | ||||
-rw-r--r-- | sysutils/coreutils/patches/patch-aj | 22 |
2 files changed, 24 insertions, 1 deletions
diff --git a/sysutils/coreutils/distinfo b/sysutils/coreutils/distinfo index 40231ec1a3c..c7924bd89f7 100644 --- a/sysutils/coreutils/distinfo +++ b/sysutils/coreutils/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.18 2009/05/17 23:11:21 dholland Exp $ +$NetBSD: distinfo,v 1.19 2009/06/12 15:09:46 joerg Exp $ SHA1 (coreutils-6.12.tar.gz) = 1bb297fdf8b38ca19ab5252c6179b1b2aecd020e RMD160 (coreutils-6.12.tar.gz) = 95b941657242cfc3f67d721e582a60a4090802ec @@ -10,3 +10,4 @@ SHA1 (patch-ad) = 145a88a6731fbec315037a140677f2fc763e5026 SHA1 (patch-ag) = 3e24b8e025a151eb7bed4c778a326da5eed09ded SHA1 (patch-ah) = 33fe73aac79731f980fcbe1afda4c64537aff742 SHA1 (patch-ai) = 6b05293d6d151ca28ed897c47a1dad729306b770 +SHA1 (patch-aj) = 436e0a871617a2450eac8bec2751419b05020b7d 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) |