summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorjoerg <joerg>2005-12-03 17:16:52 +0000
committerjoerg <joerg>2005-12-03 17:16:52 +0000
commit05f721bc9d19e94f412ca07d77e7247a2fc1a918 (patch)
tree66ef197411c2349106b490e717ea66e9bdb25dde /emulators
parentc9cde685219c6cd4f33b635b80628458dab340f7 (diff)
downloadpkgsrc-05f721bc9d19e94f412ca07d77e7247a2fc1a918.tar.gz
GCC 3.4+ fix: label at end of compound statement.
Diffstat (limited to 'emulators')
-rw-r--r--emulators/x48/distinfo4
-rw-r--r--emulators/x48/patches/patch-ae31
2 files changed, 18 insertions, 17 deletions
diff --git a/emulators/x48/distinfo b/emulators/x48/distinfo
index 3ac7a5a8b4c..c3cbde2416c 100644
--- a/emulators/x48/distinfo
+++ b/emulators/x48/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.2 2005/02/23 18:49:22 agc Exp $
+$NetBSD: distinfo,v 1.3 2005/12/03 17:16:52 joerg Exp $
SHA1 (x48_041.tar.gz) = 7b166ab4a7570b0617a0d8d01d0938b6ae372ab6
RMD160 (x48_041.tar.gz) = e41b32bd2b38c4163e4a1aae0776048b0c372637
@@ -7,5 +7,5 @@ SHA1 (patch-aa) = 75af6f30b4e43d09212a50972957655f5bb4c837
SHA1 (patch-ab) = 8053d3173be2b68f7ddb18b4bdebfe384f0336e2
SHA1 (patch-ac) = ee5784614db4bf00c047e819aaa0f272d3bf9bce
SHA1 (patch-ad) = c1f98b7672fe96ab8e203081dfedd6cf96075cfa
-SHA1 (patch-ae) = ba5a6be04dc16182fadd19977cdc359891c5138c
+SHA1 (patch-ae) = 29ec4f1495ab23d520883eebd51356b394c7143f
SHA1 (patch-af) = 60adc15ae8c20528892cbcaa029a3dd206a7edca
diff --git a/emulators/x48/patches/patch-ae b/emulators/x48/patches/patch-ae
index eda2f9c257d..f82ee24b98b 100644
--- a/emulators/x48/patches/patch-ae
+++ b/emulators/x48/patches/patch-ae
@@ -1,6 +1,6 @@
-$NetBSD: patch-ae,v 1.1.1.1 2001/04/27 14:56:27 agc Exp $
+$NetBSD: patch-ae,v 1.2 2005/12/03 17:16:52 joerg Exp $
---- src/serial.c.orig Sun Feb 4 18:32:56 2001
+--- src/serial.c.orig 1999-06-28 22:12:29.000000000 +0000
+++ src/serial.c
@@ -69,7 +69,7 @@
#include <fcntl.h>
@@ -20,7 +20,7 @@ $NetBSD: patch-ae,v 1.1.1.1 2001/04/27 14:56:27 agc Exp $
#include <sys/termios.h>
#endif
-@@ -129,6 +131,9 @@
+@@ -129,6 +131,9 @@ serial_init()
#else
int c;
#endif
@@ -30,7 +30,7 @@ $NetBSD: patch-ae,v 1.1.1.1 2001/04/27 14:56:27 agc Exp $
int n;
char tty_dev_name[128];
struct termios ttybuf;
-@@ -200,6 +205,51 @@
+@@ -200,6 +205,51 @@ serial_init()
}
while ((wire_fd < 0) && (errno != ENOENT));
#else /* LINUX */
@@ -82,7 +82,7 @@ $NetBSD: patch-ae,v 1.1.1.1 2001/04/27 14:56:27 agc Exp $
/*
* Here we go for SUNOS, HPUX
*/
-@@ -231,6 +281,7 @@
+@@ -231,14 +281,16 @@ serial_init()
c++;
}
while ((wire_fd < 0) && (errno != ENOENT));
@@ -90,7 +90,8 @@ $NetBSD: patch-ae,v 1.1.1.1 2001/04/27 14:56:27 agc Exp $
#endif /* LINUX */
#endif /* SOLARIS */
#endif /* IRIX */
-@@ -238,7 +289,7 @@
++ ;
+ }
if (ttyp >= 0)
{
@@ -99,7 +100,7 @@ $NetBSD: patch-ae,v 1.1.1.1 2001/04/27 14:56:27 agc Exp $
if (tcgetattr(ttyp, &ttybuf) < 0)
#else
if (ioctl(ttyp, TCGETS, (char *)&ttybuf) < 0)
-@@ -263,7 +314,7 @@
+@@ -263,7 +315,7 @@ serial_init()
if (ttyp >= 0)
{
@@ -108,7 +109,7 @@ $NetBSD: patch-ae,v 1.1.1.1 2001/04/27 14:56:27 agc Exp $
if (tcsetattr(ttyp, TCSANOW, &ttybuf) < 0)
#else
if (ioctl(ttyp, TCSETS, (char *)&ttybuf) < 0)
-@@ -291,7 +342,7 @@
+@@ -291,7 +343,7 @@ serial_init()
if (ir_fd >= 0)
{
@@ -117,7 +118,7 @@ $NetBSD: patch-ae,v 1.1.1.1 2001/04/27 14:56:27 agc Exp $
if (tcgetattr(ir_fd, &ttybuf) < 0)
#else
if (ioctl(ir_fd, TCGETS, (char *)&ttybuf) < 0)
-@@ -315,7 +366,7 @@
+@@ -315,7 +367,7 @@ serial_init()
if (ir_fd >= 0)
{
@@ -126,7 +127,7 @@ $NetBSD: patch-ae,v 1.1.1.1 2001/04/27 14:56:27 agc Exp $
if (tcsetattr(ir_fd, TCSANOW, &ttybuf) < 0)
#else
if (ioctl(ir_fd, TCSETS, (char *)&ttybuf) < 0)
-@@ -344,7 +395,7 @@
+@@ -344,7 +396,7 @@ int baud;
if (ir_fd >= 0)
{
@@ -135,7 +136,7 @@ $NetBSD: patch-ae,v 1.1.1.1 2001/04/27 14:56:27 agc Exp $
if (tcgetattr(ir_fd, &ttybuf) < 0)
#else
if (ioctl(ir_fd, TCGETS, (char *)&ttybuf) < 0)
-@@ -358,6 +409,10 @@
+@@ -358,6 +410,10 @@ int baud;
}
}
@@ -146,7 +147,7 @@ $NetBSD: patch-ae,v 1.1.1.1 2001/04/27 14:56:27 agc Exp $
ttybuf.c_cflag &= ~CBAUD;
baud &= 0x7;
-@@ -404,9 +459,11 @@
+@@ -404,9 +460,11 @@ int baud;
ttybuf.c_cflag |= B9600;
}
@@ -159,7 +160,7 @@ $NetBSD: patch-ae,v 1.1.1.1 2001/04/27 14:56:27 agc Exp $
if (tcsetattr(ir_fd, TCSANOW, &ttybuf) < 0)
#else
if (ioctl(ir_fd, TCSETS, (char *)&ttybuf) < 0)
-@@ -422,7 +479,7 @@
+@@ -422,7 +480,7 @@ int baud;
if (ttyp >= 0)
{
@@ -168,7 +169,7 @@ $NetBSD: patch-ae,v 1.1.1.1 2001/04/27 14:56:27 agc Exp $
if (tcgetattr(ttyp, &ttybuf) < 0)
#else
if (ioctl(ttyp, TCGETS, (char *)&ttybuf) < 0)
-@@ -437,6 +494,9 @@
+@@ -437,6 +495,9 @@ int baud;
}
}
@@ -178,7 +179,7 @@ $NetBSD: patch-ae,v 1.1.1.1 2001/04/27 14:56:27 agc Exp $
ttybuf.c_cflag &= ~CBAUD;
baud &= 0x7;
-@@ -482,10 +542,11 @@
+@@ -482,10 +543,11 @@ int baud;
fprintf(stderr, "%s: can\'t set baud rate, using 9600\n", progname);
ttybuf.c_cflag |= B9600;
}