summaryrefslogtreecommitdiff
path: root/chat/silc-client/patches
diff options
context:
space:
mode:
authorhubertf <hubertf>2001-11-29 16:17:43 +0000
committerhubertf <hubertf>2001-11-29 16:17:43 +0000
commit49438b685fe052d353fcf07959eef11d83d29cff (patch)
treedf814b43464c9b2a5393e0aad115e2a8b5ee01b1 /chat/silc-client/patches
parentb321c3ad086c68e50f4d315d1f43a9eb5c620908 (diff)
downloadpkgsrc-49438b685fe052d353fcf07959eef11d83d29cff.tar.gz
Add silc-client-0.6.6:
Client for the Secure Internet Live Conferencing (SILC) Submitted by Lubomir Sedlacik <salo@Xtrmntr.org> in PR 14543
Diffstat (limited to 'chat/silc-client/patches')
-rw-r--r--chat/silc-client/patches/patch-aa51
-rw-r--r--chat/silc-client/patches/patch-ab15
2 files changed, 66 insertions, 0 deletions
diff --git a/chat/silc-client/patches/patch-aa b/chat/silc-client/patches/patch-aa
new file mode 100644
index 00000000000..3b97501b3fb
--- /dev/null
+++ b/chat/silc-client/patches/patch-aa
@@ -0,0 +1,51 @@
+$NetBSD: patch-aa,v 1.1.1.1 2001/11/29 16:17:43 hubertf Exp $
+
+--- Makefile.in.orig Sun Nov 11 17:56:53 2001
++++ Makefile.in Tue Nov 13 20:49:34 2001
+@@ -512,24 +512,13 @@
+
+ install-dirs:
+ -mkdir -p $(etcdir)
+- -mkdir -p $(modulesdir)
+ -mkdir -p $(helpdir)
+ -mkdir -p $(docdir)
+- -mkdir -p $(logsdir)
+-
+-generate-server-key:
+- -@if test '!' -f $(etcdir)/silcd.pub ; then \
+- $(sbindir)/silcd -C $(etcdir); \
+- fi
+-
+-sim-install:
+- -cp -fR $(srcdir)/lib/silcsim/modules/*.so $(modulesdir)/
+
+ doc-install:
+ $(INSTALL_DATA) $(srcdir)/doc/CodingStyle $(docdir)/
+ $(INSTALL_DATA) $(srcdir)/doc/FAQ $(docdir)/
+- $(INSTALL_DATA) $(srcdir)/doc/example_* $(docdir)/
+- $(INSTALL_DATA) $(srcdir)/doc/*.txt $(docdir)/
++ $(INSTALL_DATA) $(srcdir)/doc/example_silc.conf $(docdir)/silc.conf.default
+ $(INSTALL_DATA) $(srcdir)/COPYING $(docdir)/
+ $(INSTALL_DATA) $(srcdir)/CHANGES $(docdir)/
+ $(INSTALL_DATA) $(srcdir)/CREDITS $(docdir)/
+@@ -538,18 +527,13 @@
+ $(INSTALL_DATA) $(srcdir)/TODO $(docdir)/
+
+ etc-install:
+- -@if test '!' -f $(etcdir)/silcd.conf ; then \
+- $(INSTALL_DATA) $(srcdir)/doc/example_silcd.conf \
+- $(etcdir)/silcd.conf; \
+- chmod go= $(etcdir)/silcd.conf; \
+- fi
+ -@if test '!' -f $(etcdir)/silc.conf ; then \
+ $(INSTALL_DATA) $(srcdir)/doc/example_silc.conf \
+ $(etcdir)/silc.conf; \
+ fi
+
+-@SILC_DIST_CLIENT_TRUE@install-data-hook: install-dirs sim-install doc-install etc-install
+-@SILC_DIST_CLIENT_FALSE@install-data-hook: install-dirs generate-server-key sim-install doc-install etc-install
++@SILC_DIST_CLIENT_TRUE@install-data-hook: install-dirs doc-install etc-install
++@SILC_DIST_CLIENT_FALSE@install-data-hook: install-dirs generate-server-key doc-install etc-install
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
diff --git a/chat/silc-client/patches/patch-ab b/chat/silc-client/patches/patch-ab
new file mode 100644
index 00000000000..e87d2ae60d1
--- /dev/null
+++ b/chat/silc-client/patches/patch-ab
@@ -0,0 +1,15 @@
+$NetBSD: patch-ab,v 1.1.1.1 2001/11/29 16:17:43 hubertf Exp $
+
+--- lib/silcmath/mpi/mpi-priv.h.orig Sat Nov 24 20:06:50 2001
++++ lib/silcmath/mpi/mpi-priv.h Sat Nov 24 20:07:51 2001
+@@ -242,3 +242,10 @@
+ /* }}} */
+ #endif
+
++#if ! (2 < __GNUC__ || (2 == __GNUC__ && 95 <= __GNUC_MINOR__))
++# if defined restrict || 199901L <= __STDC_VERSION__
++# define __restrict restrict
++# else
++# define __restrict
++# endif
++#endif