summaryrefslogtreecommitdiff
path: root/chat/silc-client/patches
diff options
context:
space:
mode:
authorsalo <salo@pkgsrc.org>2004-06-11 10:05:06 +0000
committersalo <salo@pkgsrc.org>2004-06-11 10:05:06 +0000
commit1e88075dc397c2d52339146e7739000f4faa73be (patch)
tree9419084703bbfed10e58a81dca0b35ac81f2acee /chat/silc-client/patches
parent4cf2fa0735ca011a179c7f6d90b4eac6615086ec (diff)
downloadpkgsrc-1e88075dc397c2d52339146e7739000f4faa73be.tar.gz
Add patches from silc cvs repository.
Should fix build on Darwin/Mac OS X.
Diffstat (limited to 'chat/silc-client/patches')
-rw-r--r--chat/silc-client/patches/patch-ad38
-rw-r--r--chat/silc-client/patches/patch-ae15
-rw-r--r--chat/silc-client/patches/patch-af15
3 files changed, 68 insertions, 0 deletions
diff --git a/chat/silc-client/patches/patch-ad b/chat/silc-client/patches/patch-ad
new file mode 100644
index 00000000000..21a5d47e798
--- /dev/null
+++ b/chat/silc-client/patches/patch-ad
@@ -0,0 +1,38 @@
+$NetBSD: patch-ad,v 1.1 2004/06/11 10:05:06 salo Exp $
+
+--- configure.orig Wed Jan 14 14:28:30 2004
++++ configure Wed Jun 9 10:22:17 2004
+@@ -10456,9 +10456,16 @@
+
+ fi
+ if test $ac_cv_header_regex_h = yes; then
++
++ cat >>confdefs.h <<\_ACEOF
++#define HAVE_REGEX 1
++_ACEOF
++
+ have_regex=1
++
+ else
+ have_regex=0
++
+ fi
+
+
+@@ -10563,9 +10570,16 @@
+ echo "$as_me:$LINENO: result: $ac_cv_func_getopt_long" >&5
+ echo "${ECHO_T}$ac_cv_func_getopt_long" >&6
+ if test $ac_cv_func_getopt_long = yes; then
++
++ cat >>confdefs.h <<\_ACEOF
++#define HAVE_GETOPT_LONG 1
++_ACEOF
++
+ have_getopt_long=1
++
+ else
+ have_getopt_long=0
++
+ fi
+
+
diff --git a/chat/silc-client/patches/patch-ae b/chat/silc-client/patches/patch-ae
new file mode 100644
index 00000000000..b2bd5aa8ec0
--- /dev/null
+++ b/chat/silc-client/patches/patch-ae
@@ -0,0 +1,15 @@
+$NetBSD: patch-ae,v 1.1 2004/06/11 10:05:06 salo Exp $
+
+--- includes/silcdefs.h.in.orig Wed Jan 14 14:33:17 2004
++++ includes/silcdefs.h.in Wed Jun 9 10:22:31 2004
+@@ -42,6 +42,10 @@
+ #undef SILC_MP_GMP
+ #undef SILC_MP_NSS_MPI
+
++/* contrib library */
++#undef HAVE_REGEX
++#undef HAVE_GETOPT_LONG
++
+ /* Redefs for SOCKS5 library */
+ /* macros/curses checks */
+ #undef HAS_CURSES
diff --git a/chat/silc-client/patches/patch-af b/chat/silc-client/patches/patch-af
new file mode 100644
index 00000000000..ec3b7946c8e
--- /dev/null
+++ b/chat/silc-client/patches/patch-af
@@ -0,0 +1,15 @@
+$NetBSD: patch-af,v 1.1 2004/06/11 10:05:06 salo Exp $
+
+--- lib/contrib/Makefile.in.orig 2004-02-29 16:10:01.000000000 +0100
++++ lib/contrib/Makefile.in 2004-06-11 11:31:45.000000000 +0200
+@@ -287,7 +298,9 @@
+ target_os = @target_os@
+ target_vendor = @target_vendor@
+ AUTOMAKE_OPTIONS = 1.0 no-dependencies foreign
+-noinst_LTLIBRARIES = libcontrib.la
++@HAVE_GETOPT_LONG_FALSE@noinst_LTLIBRARIES = libcontrib.la
++@HAVE_GETOPT_LONG_TRUE@@HAVE_REGEX_FALSE@noinst_LTLIBRARIES = libcontrib.la
++@HAVE_GETOPT_LONG_TRUE@@HAVE_REGEX_TRUE@noinst_LTLIBRARIES =
+ @HAVE_GETOPT_LONG_FALSE@GETOPT = getopt.c getopt1.c
+ @HAVE_GETOPT_LONG_TRUE@GETOPT =
+ @HAVE_REGEX_FALSE@REGEX = regex.c