diff options
author | hubertf <hubertf@pkgsrc.org> | 2002-05-10 00:18:21 +0000 |
---|---|---|
committer | hubertf <hubertf@pkgsrc.org> | 2002-05-10 00:18:21 +0000 |
commit | 31895981690681853ec24375a3ad8406945de586 (patch) | |
tree | 51e4d5092c11783f61b4e1df5b13a7af797e3cbc /ham/yaesu | |
parent | ea0732de3a1749359ba71568e8d37c8d45b57182 (diff) | |
download | pkgsrc-31895981690681853ec24375a3ad8406945de586.tar.gz |
use /dev/tty0? instead of ttyE?
Diffstat (limited to 'ham/yaesu')
-rw-r--r-- | ham/yaesu/distinfo | 2 | ||||
-rw-r--r-- | ham/yaesu/patches/patch-ad | 18 |
2 files changed, 10 insertions, 10 deletions
diff --git a/ham/yaesu/distinfo b/ham/yaesu/distinfo index 900735c0113..a05340db479 100644 --- a/ham/yaesu/distinfo +++ b/ham/yaesu/distinfo @@ -4,4 +4,4 @@ Size (yaesu-0.12.tar.gz) = 24694 bytes SHA1 (patch-aa) = 45e9d3ad4f1078314c7d511b30b361ca3e1296dd SHA1 (patch-ab) = 8cbb28d281b0155fac1eb38f9e83ba764adc4f46 SHA1 (patch-ac) = 8445a04d1d341410d23f533ca34ea3a4841af400 -SHA1 (patch-ad) = 2c464c4610ce9340b3582c0daf6124de87bf2d5e +SHA1 (patch-ad) = 758bf2c35422c7ba410a65e25ea87965ce206b4f diff --git a/ham/yaesu/patches/patch-ad b/ham/yaesu/patches/patch-ad index 21a1968d3d1..f5782774c80 100644 --- a/ham/yaesu/patches/patch-ad +++ b/ham/yaesu/patches/patch-ad @@ -1,4 +1,4 @@ -$NetBSD: patch-ad,v 1.1.1.1 2002/05/08 00:02:39 hubertf Exp $ +$NetBSD: patch-ad,v 1.2 2002/05/10 00:18:21 hubertf Exp $ --- main.c.orig Sat Apr 13 21:07:41 2002 +++ main.c @@ -8,8 +8,8 @@ $NetBSD: patch-ad,v 1.1.1.1 2002/05/08 00:02:39 hubertf Exp $ case '0': - if ((fdSer = open("/dev/ttyS0", O_RDWR )) < 0) { - perror("open of /dev/ttyS0 failed!!!\n"); -+ if ((fdSer = open("/dev/ttyE0", O_RDWR )) < 0) { -+ perror("open of /dev/ttyE0 failed!!!\n"); ++ if ((fdSer = open("/dev/tty00", O_RDWR )) < 0) { ++ perror("open of /dev/tty00 failed!!!\n"); exit(3); } break; @@ -17,8 +17,8 @@ $NetBSD: patch-ad,v 1.1.1.1 2002/05/08 00:02:39 hubertf Exp $ case '1': - if ((fdSer = open("/dev/ttyS1", O_RDWR )) < 0) { - perror("open of /dev/ttyS1 failed!!!\n"); -+ if ((fdSer = open("/dev/ttyE1", O_RDWR )) < 0) { -+ perror("open of /dev/ttyE1 failed!!!\n"); ++ if ((fdSer = open("/dev/tty01", O_RDWR )) < 0) { ++ perror("open of /dev/tty01 failed!!!\n"); exit(3); } break; @@ -26,8 +26,8 @@ $NetBSD: patch-ad,v 1.1.1.1 2002/05/08 00:02:39 hubertf Exp $ case '2': - if ((fdSer = open("/dev/ttyS2", O_RDWR )) < 0) { - perror("open of /dev/ttyS2 failed"); -+ if ((fdSer = open("/dev/ttyE2", O_RDWR )) < 0) { -+ perror("open of /dev/ttyE2 failed"); ++ if ((fdSer = open("/dev/tty02", O_RDWR )) < 0) { ++ perror("open of /dev/tty02 failed"); exit(3); } break; @@ -35,8 +35,8 @@ $NetBSD: patch-ad,v 1.1.1.1 2002/05/08 00:02:39 hubertf Exp $ case '3': - if ((fdSer = open("/dev/ttyS3", O_RDWR )) < 0) { - perror("open of /dev/ttyS3 failed"); -+ if ((fdSer = open("/dev/ttyE3", O_RDWR )) < 0) { -+ perror("open of /dev/ttyE3 failed"); ++ if ((fdSer = open("/dev/tty03", O_RDWR )) < 0) { ++ perror("open of /dev/tty03 failed"); exit(3); } break; |