linc1 stable port information

Package: linc1
Version: 1.0.3
Revision: 1024
Depends: <<
%N-shlibs (= %v-%r),
glib2-shlibs (>= 2.12.0-1),
libgettext3-shlibs,
libiconv
<<
BuildDepends: <<
fink (>= 0.24.12-1),
gettext-bin,
gettext-tools,
glib2-dev (>= 2.12.0-1),
gtk-doc (>= 1.1-1),
libgettext3-dev,
libiconv-dev,
openjade (>= 1.3.2-1028),
pkgconfig
<<
Source: mirror:gnome:sources/linc/1.0/linc-%v.tar.bz2
Source-MD5: 29f01b7e3e6045395e369d988573d517
PatchFile: %n.patch
PatchFile-MD5: c92344660ea15c7c474ac4a0abfce6c1
SetCFLAGS: -Os
SetLDFLAGS: -lresolv
ConfigureParams: --without-ssl --disable-gtk-doc --disable-dependency-tracking
CompileScript: <<
./configure %c
perl -pi -e 's/-flat_namespace//; s/-undefined suppress//' libtool
make
<<
InstallScript: make install DESTDIR=%d
BuildDependsOnly: True
SplitOff: <<
Package: %N-shlibs
Depends: glib2-shlibs (>= 2.12.0-1), libgettext3-shlibs, libiconv
Files: lib/liblinc.*.dylib
Shlibs: %p/lib/liblinc.1.dylib 2.0.0 %n (>= 0.5.4-2)
DocFiles: AUTHORS COPYING ChangeLog MAINTAINERS NEWS README TODO
<<
DocFiles: AUTHORS COPYING ChangeLog MAINTAINERS NEWS README TODO
Description: Network client/server library
DescDetail: <<
linc is a library that eases the task of writing networked servers &
clients. It takes care of connection initiation and maintenance, and the
details of various transports. It is used by ORBit2 to handle message
transmission/receipt.
<<
DescPort: <<
- Make sure to get system's own socklen_t
- Some .sgml have errors that break gtk-doc generation
- Disabled SSL support.
- Fix .m4 quoting.
<<
License: LGPL
Maintainer: The Gnome Core Team
Homepage: http://www.gnome.org

linc1 stable port .patch

diff -Naur linc-1.0.3-old/include/linc/linc-protocol.h linc-1.0.3/include/linc/linc-protocol.h
--- linc-1.0.3-old/include/linc/linc-protocol.h Fri Jun 20 07:31:21 2003
+++ linc-1.0.3/include/linc/linc-protocol.h Tue Oct 14 10:20:14 2003
@@ -14,11 +14,11 @@

#include

+#include
G_BEGIN_DECLS

#include
#include
-#include
#include

/* socklen_t seems rather un-portable */
diff -Nurd -x'*~' linc-1.0.3.orig/linc.m4 linc-1.0.3/linc.m4
--- linc-1.0.3.orig/linc.m4 2001-03-14 00:12:41.000000000 -0500
+++ linc-1.0.3/linc.m4 2005-11-11 01:12:04.000000000 -0500
@@ -1,4 +1,4 @@
-AC_DEFUN(AM_PATH_LINC,
+AC_DEFUN([AM_PATH_LINC],
[dnl
dnl Get the cflags and libs from the linc-config script
dnl
diff -Naur linc-1.0.3-old/src/linc-protocols.c linc-1.0.3/src/linc-protocols.c
--- linc-1.0.3-old/src/linc-protocols.c Fri Jun 20 07:31:13 2003
+++ linc-1.0.3/src/linc-protocols.c Tue Oct 14 10:20:14 2003
@@ -11,6 +11,7 @@
*/
#include
#include "linc-compat.h"
+#include
#include
#include
#include
@@ -609,7 +610,7 @@
/* FIXME: is IN6ADDR_ANY_INIT exported on Mac OS X ? */
/* on Mac OS X 10.1 inaddr6_any isn't exported by libc */
#ifndef in6addr_any
- static const struct in6_addr in6addr_any = { { { 0 } } };
+ const struct in6_addr in6addr_any = { { { 0 } } };
#endif

static gboolean

linc1 _unstable_ port .patch