summaryrefslogtreecommitdiff
path: root/chat/xchat/patches/patch-ac
diff options
context:
space:
mode:
Diffstat (limited to 'chat/xchat/patches/patch-ac')
-rw-r--r--chat/xchat/patches/patch-ac30
1 files changed, 30 insertions, 0 deletions
diff --git a/chat/xchat/patches/patch-ac b/chat/xchat/patches/patch-ac
new file mode 100644
index 00000000000..5e74fad256b
--- /dev/null
+++ b/chat/xchat/patches/patch-ac
@@ -0,0 +1,30 @@
+$NetBSD: patch-ac,v 1.1 2001/02/05 15:30:24 dmcmahill Exp $
+
+--- configure.in.orig Sun Dec 10 22:20:09 2000
++++ configure.in Mon Feb 5 09:43:34 2001
+@@ -304,4 +304,5 @@
+ AC_MSG_RESULT(ok)
+ AC_CHECK_LIB(pthread, pthread_create, LIBS="$LIBS -lpthread")
++ AC_CHECK_LIB(util, openpty, LIBS="$LIBS -lutil")
+ else
+ python=no
+@@ -505,11 +506,12 @@
+ GUI_CFLAGS=`cat cflags`
+
+-echo $GUI_LIBS > cflags
+-tr " " "\n" < cflags > cflags2
+-sort cflags2 > cflags
+-uniq cflags > cflags2
+-tr "\n" " " < cflags2 > cflags
+-GUI_LIBS=`cat cflags`
+-rm -f cflags cflags2
++dnl order matters on the link line....
++dnl echo $GUI_LIBS > cflags
++dnl tr " " "\n" < cflags > cflags2
++dnl sort cflags2 > cflags
++dnl uniq cflags > cflags2
++dnl tr "\n" " " < cflags2 > cflags
++dnl GUI_LIBS=`cat cflags`
++dnl rm -f cflags cflags2
+
+ fi