pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/coreutils Fix build on DragonFly. From YONETA...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/847c8b6a4ac6
branches:  trunk
changeset: 394569:847c8b6a4ac6
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Fri Jun 12 15:09:46 2009 +0000

description:
Fix build on DragonFly. From YONETANI Tomokazu in PR 41366.

diffstat:

 sysutils/coreutils/distinfo         |   3 ++-
 sysutils/coreutils/patches/patch-aj |  22 ++++++++++++++++++++++
 2 files changed, 24 insertions(+), 1 deletions(-)

diffs (40 lines):

diff -r bccd67a5c80c -r 847c8b6a4ac6 sysutils/coreutils/distinfo
--- a/sysutils/coreutils/distinfo       Fri Jun 12 14:50:48 2009 +0000
+++ b/sysutils/coreutils/distinfo       Fri Jun 12 15:09:46 2009 +0000
@@ -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-ag) = 3e24b8e025a151eb7bed4c778a326da5eed09ded
 SHA1 (patch-ah) = 33fe73aac79731f980fcbe1afda4c64537aff742
 SHA1 (patch-ai) = 6b05293d6d151ca28ed897c47a1dad729306b770
+SHA1 (patch-aj) = 436e0a871617a2450eac8bec2751419b05020b7d
diff -r bccd67a5c80c -r 847c8b6a4ac6 sysutils/coreutils/patches/patch-aj
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/coreutils/patches/patch-aj       Fri Jun 12 15:09:46 2009 +0000
@@ -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)



Home | Main Index | Thread Index | Old Index