pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/misc/dialog Unbreak build on NetBSD, C says that stdio...
details: https://anonhg.NetBSD.org/pkgsrc/rev/b0f9e32ce313
branches: trunk
changeset: 502701:b0f9e32ce313
user: joerg <joerg%pkgsrc.org@localhost>
date: Tue Nov 08 14:42:10 2005 +0000
description:
Unbreak build on NetBSD, C says that stdio is not a modificable lvalue.
Infact, the LHS is not needed at all.
diffstat:
misc/dialog/distinfo | 4 ++--
misc/dialog/patches/patch-aa | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diffs (30 lines):
diff -r a5f8b6842382 -r b0f9e32ce313 misc/dialog/distinfo
--- a/misc/dialog/distinfo Tue Nov 08 14:14:36 2005 +0000
+++ b/misc/dialog/distinfo Tue Nov 08 14:42:10 2005 +0000
@@ -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 -r a5f8b6842382 -r b0f9e32ce313 misc/dialog/patches/patch-aa
--- a/misc/dialog/patches/patch-aa Tue Nov 08 14:14:36 2005 +0000
+++ b/misc/dialog/patches/patch-aa Tue Nov 08 14:42:10 2005 +0000
@@ -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 @@
&& (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);
}
Home |
Main Index |
Thread Index |
Old Index