pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/emulators/BasiliskII Make this compile with gcc3.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5d11d11d65cb
branches:  trunk
changeset: 466774:5d11d11d65cb
user:      agc <agc%pkgsrc.org@localhost>
date:      Fri Jan 23 08:42:14 2004 +0000

description:
Make this compile with gcc3.

diffstat:

 emulators/BasiliskII/distinfo         |   3 ++-
 emulators/BasiliskII/patches/patch-ad |  22 ++++++++++++++++++++++
 2 files changed, 24 insertions(+), 1 deletions(-)

diffs (39 lines):

diff -r cea0d0626f9d -r 5d11d11d65cb emulators/BasiliskII/distinfo
--- a/emulators/BasiliskII/distinfo     Fri Jan 23 08:21:54 2004 +0000
+++ b/emulators/BasiliskII/distinfo     Fri Jan 23 08:42:14 2004 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.5 2003/10/12 21:11:52 wiz Exp $
+$NetBSD: distinfo,v 1.6 2004/01/23 08:42:14 agc Exp $
 
 SHA1 (BasiliskII_src_14032003.tar.bz2) = 935e00e1401fc5dfaad7ac7d54184265bab0aeb8
 Size (BasiliskII_src_14032003.tar.bz2) = 649594 bytes
 SHA1 (patch-aa) = e41d9a3a932bb312e2ea35372c4e46a45f0fcae9
 SHA1 (patch-ab) = 17c94164ece847bd5695e8fb79ff5132c3c53859
 SHA1 (patch-ac) = c74b28008032f8f31cbee1085d4873c36c7e71a5
+SHA1 (patch-ad) = 79b26444ea6c2b022ed219f04eb1ae45762cedfc
diff -r cea0d0626f9d -r 5d11d11d65cb emulators/BasiliskII/patches/patch-ad
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/BasiliskII/patches/patch-ad     Fri Jan 23 08:42:14 2004 +0000
@@ -0,0 +1,22 @@
+$NetBSD: patch-ad,v 1.1 2004/01/23 08:42:14 agc Exp $
+
+--- sshpty.c   2004/01/23 07:41:29     1.1
++++ sshpty.c   2004/01/23 07:52:50
+@@ -276,7 +276,7 @@
+               }
+               /* set tty modes to a sane state for broken clients */
+               if (tcgetattr(*ptyfd, &tio) < 0)
+-                      log("Getting tty modes for pty failed: %.100s", strerror(errno));
++                      error("Getting tty modes for pty failed: %.100s", strerror(errno));
+               else {
+                       tio.c_lflag |= (ECHO | ISIG | ICANON);
+                       tio.c_oflag |= (OPOST | ONLCR);
+@@ -284,7 +284,7 @@
+ 
+                       /* Set the new modes for the terminal. */
+                       if (tcsetattr(*ptyfd, TCSANOW, &tio) < 0)
+-                              log("Setting tty modes for pty failed: %.100s", strerror(errno));
++                              error("Setting tty modes for pty failed: %.100s", strerror(errno));
+               }
+ 
+               return 1;



Home | Main Index | Thread Index | Old Index