summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2005-11-08 14:42:10 +0000
committerjoerg <joerg@pkgsrc.org>2005-11-08 14:42:10 +0000
commitca9979bfc9ec4c2300694150c50189c82ad0a29e (patch)
treea2d6c1d3f634a73095c57f769a725291784f75f7 /misc
parentf875afa92eaebd1b1e1145a4419ecc5ae8ab6b0d (diff)
downloadpkgsrc-ca9979bfc9ec4c2300694150c50189c82ad0a29e.tar.gz
Unbreak build on NetBSD, C says that stdio is not a modificable lvalue.
Infact, the LHS is not needed at all.
Diffstat (limited to 'misc')
-rw-r--r--misc/dialog/distinfo4
-rw-r--r--misc/dialog/patches/patch-aa4
2 files changed, 4 insertions, 4 deletions
diff --git a/misc/dialog/distinfo b/misc/dialog/distinfo
index 881e1a7ba9c..309f6a7f916 100644
--- a/misc/dialog/distinfo
+++ b/misc/dialog/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.8 2005/11/08 13:20:45 joerg Exp $
+$NetBSD: distinfo,v 1.9 2005/11/08 14:42:10 joerg Exp $
SHA1 (dialog-1.0-20050911.tgz) = 96c11fb4a98d5f9f074d8339fe2bad501e0f5786
RMD160 (dialog-1.0-20050911.tgz) = 9fe5698fd2dda5cd2391302d39b081abf6f86ab8
Size (dialog-1.0-20050911.tgz) = 307686 bytes
-SHA1 (patch-aa) = f1603548145704ea9ef4ff539ce6ec650f1fd8d3
+SHA1 (patch-aa) = b732f91c113e45b7baab2f557f2719154a5ed0a1
diff --git a/misc/dialog/patches/patch-aa b/misc/dialog/patches/patch-aa
index 0a1096bbb71..a981132d511 100644
--- a/misc/dialog/patches/patch-aa
+++ b/misc/dialog/patches/patch-aa
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.11 2005/11/08 13:20:45 joerg Exp $
+$NetBSD: patch-aa,v 1.12 2005/11/08 14:42:10 joerg Exp $
--- util.c.orig 2005-11-08 13:00:19.000000000 +0000
+++ util.c
@@ -7,7 +7,7 @@ $NetBSD: patch-aa,v 1.11 2005/11/08 13:20:45 joerg Exp $
&& (fd2 = dup(fileno(stdin))) >= 0) {
dialog_state.pipe_input = fdopen(fd2, "r");
- *stdin = *freopen(device, "r", stdin);
-+ stdin = freopen(device, "r", stdin);
++ freopen(device, "r", stdin);
if (fileno(stdin) != 0) /* some functions may read fd #0 */
(void) dup2(fileno(stdin), 0);
}