silc-client stable port information

Package: silc-client
Version: 1.1.8
Revision: 2
Maintainer: Corey Halpin
Source: http://silcnet.org/download/client/sources/%n-%v.tar.bz2
Source-MD5: 4219d96f6adc2eed406c6dbf8072ae90
Depends: <<
glib2-shlibs,
silc-toolkit-shlibs,
libiconv
<<
BuildDepends: <<
fink-package-precedence,
flag-sort,
glib2-dev,
libiconv-dev,
silc-toolkit
<<
# SetCPPFLAGS: -I/usr/include
# SetLDFLAGS: -L/usr/lib
SetCC: flag-sort gcc
SetCXX: flag-sort g++
ConfigureParams: <<
--with-iconv --without-pthreads --mandir='${prefix}/share/man' \
--with-docdir=%p/share/doc/%n --with-etcdir=%p/etc \
--with-helpdir=%p/share/%n/help --with-simdir=%p/lib/%n/modules \
--with-logsdir=%p/var/log --with-perl=no \
--enable-shared --enable-ipv6 --disable-asm
<<
CompileScript: <<
#!/bin/sh -ev
./configure %c
make
fink-package-precedence .
<<
InstallScript: <<
make -j1 install DESTDIR=%d INSTALLMAN1DIR=%p/share/man/man1 \
INSTALLMAN3DIR=%p/share/man/man3
<<
Description: Secure Internet Live Conferencing client
DescDetail: <<
The standard text-mode client for SILC, a multi-user distributed chat
system in which all communications are fully encrypted.
<<
DescPort: <<
Makefiles patched to permit compilation and installation under Fink.

irssi sometimes needs help finding its own config.h file.
<<
DescPackaging: <<
Must be deterministic about which perl version we link.

Some vanila C symbols look like C++-munged symbols.

asm disabled on intel because it doesn't build.
<<
License: GPL
Homepage: http://silcnet.org/

silc-client stable port .patch

diff -ru silc-client-1.1.5/apps/irssi/src/core/misc.h silc-client-1.1.5-patched/apps/irssi/src/core/misc.h
--- silc-client-1.1.5/apps/irssi/src/core/misc.h 2008-03-14 07:05:55.000000000 -0500
+++ silc-client-1.1.5-patched/apps/irssi/src/core/misc.h 2008-09-12 23:38:48.000000000 -0500
@@ -1,6 +1,10 @@
#ifndef __MISC_H
#define __MISC_H

+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
/* str should be type char[MAX_INT_STRLEN] */
#define ltoa(str, num) \
g_snprintf(str, sizeof(str), "%d", num)
diff -ru silc-client-1.1.5/apps/irssi/src/perl/module.h silc-client-1.1.5-patched/apps/irssi/src/perl/module.h
--- silc-client-1.1.5/apps/irssi/src/perl/module.h 2008-03-14 07:05:55.000000000 -0500
+++ silc-client-1.1.5-patched/apps/irssi/src/perl/module.h 2008-09-12 23:39:28.000000000 -0500
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#ifdef NEED_PERL_H
# include
# ifndef _SEM_SEMUN_UNDEFINED

silc-client _unstable_ port .patch