summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorbad <bad@pkgsrc.org>1999-12-22 14:59:43 +0000
committerbad <bad@pkgsrc.org>1999-12-22 14:59:43 +0000
commit279bac89305f2f9264934b58a4ea9de61585d525 (patch)
tree4ad472b132b3e6d8ca0775cb5462d6b396539702 /databases
parent101584b12c3c938abe18343a2d2e90ef6bb4eb90 (diff)
downloadpkgsrc-279bac89305f2f9264934b58a4ea9de61585d525.tar.gz
Defuzz patch-ac (again, but entirely my fault).
Diffstat (limited to 'databases')
-rw-r--r--databases/mysql-client/files/patch-sum3
-rw-r--r--databases/mysql-client/patches/patch-ac35
2 files changed, 1 insertions, 37 deletions
diff --git a/databases/mysql-client/files/patch-sum b/databases/mysql-client/files/patch-sum
index 9adb2eb2533..edb2ebca9dc 100644
--- a/databases/mysql-client/files/patch-sum
+++ b/databases/mysql-client/files/patch-sum
@@ -1,6 +1,5 @@
-$NetBSD: patch-sum,v 1.3 1999/12/13 20:31:52 bad Exp $
+$NetBSD: patch-sum,v 1.4 1999/12/22 14:59:43 bad Exp $
MD5 (patch-aa) = 9c60a2b8c672ac49a009def9ceadaf6a
MD5 (patch-ab) = de2ca559bf97dcd386e31bdf5e8ecd31
-MD5 (patch-ac) = 3143642509578a72e2c3a276943bd340
MD5 (patch-ad) = 1a91e8b2a16c7100e41213ae560df4c3
diff --git a/databases/mysql-client/patches/patch-ac b/databases/mysql-client/patches/patch-ac
deleted file mode 100644
index 09e95350eb1..00000000000
--- a/databases/mysql-client/patches/patch-ac
+++ /dev/null
@@ -1,35 +0,0 @@
-$NetBSD: patch-ac,v 1.3 1999/12/13 20:31:52 bad Exp $
-
---- client/get_password.c.orig Sun Jun 14 16:26:27 1998
-+++ client/get_password.c Sun Jun 14 19:25:24 1998
-@@ -18,8 +18,8 @@
- #include <termio.h>
- #define TERMIO struct termio
- #else
--#include <sgtty.h>
--#define TERMIO struct sgttyb
-+#include <termios.h>
-+#define TERMIO struct termios
- #endif
- #ifdef alpha_linux_port
- #include <asm/ioctls.h> /* QQ; Fix this in configure */
-@@ -92,13 +92,14 @@
- get_password(buff,sizeof(buff)-1,fileno(stdin),isatty(fileno(stdout)));
- ioctl(fileno(stdin),(int) TCSETA, &org);
- #else
-- gtty(fileno(stdin), &org);
-+ tcgetattr(fileno(stdin), &org);
- tmp=org;
-- tmp.sg_flags &= ~ECHO;
-- tmp.sg_flags |= RAW;
-- stty(fileno(stdin), &tmp);
-+ tmp.c_lflag &= ~(ECHO | ISIG | ICANON);
-+ tmp.c_cc[VMIN] = 1;
-+ tmp.c_cc[VTIME]= 0;
-+ tcsetattr(fileno(stdin), TCSAFLUSH, &tmp);
- get_password(buff,sizeof(buff)-1,fileno(stdin),isatty(fileno(stdout)));
-- stty(fileno(stdin), &org);
-+ tcsetattr(fileno(stdin), TCSAFLUSH, &org);
- #endif
- if (isatty(fileno(stdout)))
- fputc('\n',stdout);