summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authoritojun <itojun@pkgsrc.org>2002-07-04 14:05:32 +0000
committeritojun <itojun@pkgsrc.org>2002-07-04 14:05:32 +0000
commit0cb6b8c41c557ab1c0632b38f4200c8379aa54b2 (patch)
tree08f3e07e341d33a47e579d54b0ca612c4d043e77 /x11
parent82eb1cbb519958efdf760e51eb92c77dd0f791d2 (diff)
downloadpkgsrc-0cb6b8c41c557ab1c0632b38f4200c8379aa54b2.tar.gz
use openpty() on netbsd. PR 17478
Diffstat (limited to 'x11')
-rw-r--r--x11/kterm/distinfo4
-rw-r--r--x11/kterm/patches/patch-ac14
-rw-r--r--x11/kterm/patches/patch-ad24
3 files changed, 41 insertions, 1 deletions
diff --git a/x11/kterm/distinfo b/x11/kterm/distinfo
index 2635a0f4ff2..3d04001791f 100644
--- a/x11/kterm/distinfo
+++ b/x11/kterm/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.9 2001/07/09 02:16:59 enami Exp $
+$NetBSD: distinfo,v 1.10 2002/07/04 14:05:32 itojun Exp $
SHA1 (kterm-6.2.0.tar.gz) = 23b612254e9f7c9f5e233a4bcacc651887a3f7ee
Size (kterm-6.2.0.tar.gz) = 200448 bytes
@@ -10,3 +10,5 @@ SHA1 (KTerm-BGP-Imlib-1.0.patch.gz) = e922ccbdda9b8bbca27210693ef0bdf8b5bf2da3
Size (KTerm-BGP-Imlib-1.0.patch.gz) = 8561 bytes
SHA1 (patch-aa) = eaf65b3832b493cf0354b504dc546f42f45af303
SHA1 (patch-ab) = 011b1fc5033f61784e57030c78f6cca5a82722d1
+SHA1 (patch-ac) = 802d5297744126e7f47a44a6deb917dce8cc491a
+SHA1 (patch-ad) = 455681475f9a3daca95d34f5da21858e7ee2aadb
diff --git a/x11/kterm/patches/patch-ac b/x11/kterm/patches/patch-ac
new file mode 100644
index 00000000000..771784602ad
--- /dev/null
+++ b/x11/kterm/patches/patch-ac
@@ -0,0 +1,14 @@
+$NetBSD: patch-ac,v 1.1 2002/07/04 14:05:33 itojun Exp $
+
+--- Imakefile.orig Fri Jul 12 14:01:04 1996
++++ Imakefile Thu Jul 4 23:03:03 2002
+@@ -23,6 +23,9 @@
+ PUCCPTYDDEF = -DPUCC_PTYD /* does not need to be setuid */
+ PTYLIB = -lpucc
+ #endif
++#ifdef NetBSDArchitecture
++ PTYLIB = -lutil
++#endif
+
+ OSMAJORVERSION = OSMajorVersion
+ OSMINORVERSION = OSMinorVersion
diff --git a/x11/kterm/patches/patch-ad b/x11/kterm/patches/patch-ad
new file mode 100644
index 00000000000..2255b6148a5
--- /dev/null
+++ b/x11/kterm/patches/patch-ad
@@ -0,0 +1,24 @@
+$NetBSD: patch-ad,v 1.1 2002/07/04 14:05:33 itojun Exp $
+
+--- main.c.orig Thu Jul 4 23:02:25 2002
++++ main.c Thu Jul 4 23:03:03 2002
+@@ -392,6 +392,10 @@
+ #include <locale.h>
+ #endif
+
++#ifdef __NetBSD__
++#include <util.h>
++#endif
++
+ #ifdef SYSV
+ extern char *ptsname();
+ #endif
+@@ -1719,7 +1723,7 @@
+ get_pty (pty)
+ int *pty;
+ {
+-#ifdef __osf__
++#if defined(__osf__) || defined(__NetBSD__)
+ int tty;
+ return (openpty(pty, &tty, ttydev, NULL, NULL));
+ #endif