summaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authorminskim <minskim>2006-06-08 01:12:45 +0000
committerminskim <minskim>2006-06-08 01:12:45 +0000
commitd472820bff06e236626efc423617c32c9c5c1525 (patch)
tree2712e31b9dc1d0cdd9e6c4993ad825de9df2d6b8 /comms
parent1096fc98572f909675c1a18a9359016d34b7f901 (diff)
downloadpkgsrc-d472820bff06e236626efc423617c32c9c5c1525.tar.gz
Make this package build with gcc-4. Patch provided by John D. Baker in
PR pkg/33094.
Diffstat (limited to 'comms')
-rw-r--r--comms/minicom/distinfo3
-rw-r--r--comms/minicom/patches/patch-ai46
2 files changed, 48 insertions, 1 deletions
diff --git a/comms/minicom/distinfo b/comms/minicom/distinfo
index 69f72a2b1ed..13ab913f826 100644
--- a/comms/minicom/distinfo
+++ b/comms/minicom/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.7 2005/12/19 14:34:33 joerg Exp $
+$NetBSD: distinfo,v 1.8 2006/06/08 01:12:45 minskim Exp $
SHA1 (minicom-2.1.tar.gz) = 720273f6ee8db5fb2da4379ac610a520a31aba70
RMD160 (minicom-2.1.tar.gz) = 58121cf29991a92914acee855d6e86486c6d370d
@@ -11,3 +11,4 @@ SHA1 (patch-ae) = b037623c4e3ee4cbc8c73c4b04c6b7f77c689d38
SHA1 (patch-af) = 38905432b60a796742d43be1aed84ee2774bb222
SHA1 (patch-ag) = c8947fb6693d2508d7caa79916142af346e27cdd
SHA1 (patch-ah) = da65045ad1d02a7c005aba863a106472d05f5c1c
+SHA1 (patch-ai) = 5a1ecdea3287dc4d0b1c71bb88656fb729522081
diff --git a/comms/minicom/patches/patch-ai b/comms/minicom/patches/patch-ai
new file mode 100644
index 00000000000..0f044dcf90a
--- /dev/null
+++ b/comms/minicom/patches/patch-ai
@@ -0,0 +1,46 @@
+$NetBSD: patch-ai,v 1.1 2006/06/08 01:12:45 minskim Exp $
+
+--- src/window.c.orig 2003-05-16 20:06:26.000000000 +0000
++++ src/window.c
+@@ -62,7 +62,7 @@ static char *CE, *Al, *Dl, *AL, *DL;
+ static char *CS, *SF, *SR, *VB, *BL;
+ static char *VE, *VI, *KS, *KE;
+ static char *CD, *CL, *IC, *DC;
+-static char *BC, *CR, *NL;
++static char *mcBC, *CR, *NL;
+ #if ST_LINE
+ static char *TS, *FS, *DS;
+ #endif
+@@ -322,8 +322,8 @@ int x, y;
+ else if (NL != CNULL && x == 0 && x == curx && y == cury + 1)
+ outstr(NL);
+ #endif
+- else if (BC != CNULL && y == cury && x == curx - 1)
+- outstr(BC);
++ else if (mcBC != CNULL && y == cury && x == curx - 1)
++ outstr(mcBC);
+ else
+ outstr(tgoto(CM, x, y));
+ curx = x;
+@@ -1918,7 +1918,7 @@ int attr;
+ CL = tgetstr("cl", &_tptr);
+ IC = tgetstr("ic", &_tptr);
+ DC = tgetstr("dc", &_tptr);
+- BC = tgetstr("bc", &_tptr);
++ mcBC = tgetstr("bc", &_tptr);
+ CR = tgetstr("cr", &_tptr);
+ NL = tgetstr("nl", &_tptr);
+ AC = tgetstr("ac", &_tptr);
+@@ -1967,10 +1967,10 @@ int attr;
+ _has_am = tgetflag("am");
+ _mv_standout = tgetflag("ms");
+ if (tgetflag("bs")) {
+- if (BC == CNULL) BC = "\b";
++ if (mcBC == CNULL) mcBC = "\b";
+ }
+ else
+- BC = CNULL;
++ mcBC = CNULL;
+
+ /* Special IBM box-drawing characters */
+ D_UL = 201;