diff options
author | obache <obache@pkgsrc.org> | 2011-03-22 04:45:31 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2011-03-22 04:45:31 +0000 |
commit | 0baa901a38c8edf864b061f3ad64c21211b6f118 (patch) | |
tree | 879d1df11ae7b1ccc3e916d30345e20b7212f588 /shells | |
parent | 13b738be22428f3ae22687ef085d5a6e619da800 (diff) | |
download | pkgsrc-0baa901a38c8edf864b061f3ad64c21211b6f118.tar.gz |
remove patch-aa for DragonFly.
Upstream take care it whth different way in 4.2 and this patch broke it.
Diffstat (limited to 'shells')
-rw-r--r-- | shells/bash/distinfo | 3 | ||||
-rw-r--r-- | shells/bash/patches/patch-aa | 32 |
2 files changed, 1 insertions, 34 deletions
diff --git a/shells/bash/distinfo b/shells/bash/distinfo index 0d4304024ce..739b623c5a7 100644 --- a/shells/bash/distinfo +++ b/shells/bash/distinfo @@ -1,9 +1,8 @@ -$NetBSD: distinfo,v 1.23 2011/03/12 15:26:45 wiz Exp $ +$NetBSD: distinfo,v 1.24 2011/03/22 04:45:31 obache Exp $ SHA1 (bash-4.2.tar.gz) = 487840ab7134eb7901fbb2e49b0ee3d22de15cb8 RMD160 (bash-4.2.tar.gz) = df7ae51783f039a1234d3b720ffcf4bfa5d09673 Size (bash-4.2.tar.gz) = 7009201 bytes -SHA1 (patch-aa) = 907a2429a94591a354130b9e6fb3ded73897362f SHA1 (patch-af) = dfd1d1be3d822cfc3ae0fd21bb2bbd3e35b11f0d SHA1 (patch-ag) = 4da0a43f6b890482affff46b18eef4be67770e48 SHA1 (patch-ai) = 26825922898567841bed0bf62a8dee3bcc50cd75 diff --git a/shells/bash/patches/patch-aa b/shells/bash/patches/patch-aa deleted file mode 100644 index 19319813e0b..00000000000 --- a/shells/bash/patches/patch-aa +++ /dev/null @@ -1,32 +0,0 @@ -$NetBSD: patch-aa,v 1.6 2011/03/12 15:26:45 wiz Exp $ - ---- lib/sh/fpurge.c.orig 2010-12-22 14:32:58.000000000 +0000 -+++ lib/sh/fpurge.c -@@ -137,7 +137,7 @@ fpurge (FILE *fp) - extern int fpurge (FILE *); - # endif - int result = fpurge (fp); --# if defined __sferror || defined __DragonFly__ /* FreeBSD, NetBSD, OpenBSD, DragonFly, MacOS X, Cygwin */ -+# if defined __sferror /* FreeBSD, NetBSD, OpenBSD, DragonFly, MacOS X, Cygwin */ - if (result == 0) - /* Correct the invariants that fpurge broke. - <stdio.h> on BSD systems says: -@@ -147,6 +147,9 @@ fpurge (FILE *fp) - into the buffer, although they shouldn't be allowed to. */ - if ((fp_->_flags & __SRD) != 0) - fp_->_w = 0; -+#elif defined __DragonFly__ -+ if ((((struct __FILE_public *) fp_)->_flags & __SRD) != 0) -+ ((struct __FILE_public *) fp_)->_w = 0; - # endif - return result; - -@@ -165,7 +168,7 @@ fpurge (FILE *fp) - fp->_IO_save_base = NULL; - } - return 0; --# elif defined __sferror || defined __DragonFly__ /* FreeBSD, NetBSD, OpenBSD, DragonFly, MacOS X, Cygwin */ -+# elif defined __sferror /* FreeBSD, NetBSD, OpenBSD, MacOS X, Cygwin */ - fp_->_p = fp_->_bf._base; - fp_->_r = 0; - fp_->_w = ((fp_->_flags & (__SLBF | __SNBF | __SRD)) == 0 /* fully buffered and not currently reading? */ |