diff options
author | Mike Frysinger <vapier@gentoo.org> | 2008-03-16 09:18:26 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2008-03-16 09:18:26 +0000 |
commit | 0c2651e368a9f0e932d694dafffca41006a47cdd (patch) | |
tree | 0086718ba4eb0dde58670f5f17793548826c46ee /net-misc/lksctp-tools/files | |
parent | stable x86, bug 213465 (diff) | |
download | gentoo-2-0c2651e368a9f0e932d694dafffca41006a47cdd.tar.gz gentoo-2-0c2651e368a9f0e932d694dafffca41006a47cdd.tar.bz2 gentoo-2-0c2651e368a9f0e932d694dafffca41006a47cdd.zip |
Version bump and fix withsctp #181602.
(Portage version: 2.2_pre2)
Diffstat (limited to 'net-misc/lksctp-tools/files')
-rw-r--r-- | net-misc/lksctp-tools/files/lksctp-tools-1.0.8-as-needed.patch | 30 | ||||
-rw-r--r-- | net-misc/lksctp-tools/files/lksctp-tools-1.0.8-prefix.patch | 13 |
2 files changed, 43 insertions, 0 deletions
diff --git a/net-misc/lksctp-tools/files/lksctp-tools-1.0.8-as-needed.patch b/net-misc/lksctp-tools/files/lksctp-tools-1.0.8-as-needed.patch new file mode 100644 index 000000000000..3c862357e719 --- /dev/null +++ b/net-misc/lksctp-tools/files/lksctp-tools-1.0.8-as-needed.patch @@ -0,0 +1,30 @@ +fix static linking as well as --as-needed + +http://sourceforge.net/tracker/index.php?func=detail&aid=1517981&group_id=26529&atid=387572 + +--- lksctp-tools-1.0.6/src/apps/Makefile.in ++++ lksctp-tools-1.0.6/src/apps/Makefile.in +@@ -8,8 +8,8 @@ + INCLUDES = -I. -I$(top_srcdir)/src/include -I$(top_srcdir)/src/testlib + AM_CFLAGS = -g -Wall -Wstrict-prototypes -Wimplicit-function-declaration + AM_LDFLAGS = +-LDADD = $(top_builddir)/src/lib/libsctp.la \ +- $(top_builddir)/src/testlib/libsctputil.la ++LDADD = $(top_builddir)/src/testlib/libsctputil.la \ ++ $(top_builddir)/src/lib/libsctp.la + + # programs to be installed with the distriubution + bin_PROGRAMS = sctp_darn sctp_test +--- lksctp-tools-1.0.6/src/func_tests/Makefile.in ++++ lksctp-tools-1.0.6/src/func_tests/Makefile.in +@@ -8,8 +8,8 @@ + INCLUDES = -I. -I$(top_srcdir)/src/include -I$(top_srcdir)/src/testlib + AM_CFLAGS = -g -Wall -Wstrict-prototypes -Wimplicit-function-declaration + AM_LDFLAGS = -lpthread +-LDADD = $(top_builddir)/src/lib/libsctp.la \ +- $(top_builddir)/src/testlib/libsctputil.la ++LDADD = $(top_builddir)/src/testlib/libsctputil.la \ ++ $(top_builddir)/src/lib/libsctp.la + + V6FLAGS = -DCONFIG_IPV6=1 -DTEST_V6=1 ${DEFS} ${INCLUDES} ${CFLAGS} + diff --git a/net-misc/lksctp-tools/files/lksctp-tools-1.0.8-prefix.patch b/net-misc/lksctp-tools/files/lksctp-tools-1.0.8-prefix.patch new file mode 100644 index 000000000000..6e5808468d50 --- /dev/null +++ b/net-misc/lksctp-tools/files/lksctp-tools-1.0.8-prefix.patch @@ -0,0 +1,13 @@ +default @bindir@ expands to ${exec_prefix}/bin and default @exec_prefix@ +expands to ${prefix} + +--- src/withsctp/withsctp.in ++++ src/withsctp/withsctp.in +@@ -1,5 +1,7 @@ + #!/bin/sh + # -*- sh -*- ++prefix=@prefix@ ++exec_prefix=@exec_prefix@ + LIBDIR=@libdir@/@PACKAGE@ + BINDIR=@bindir@ + export LD_PRELOAD=${LIBDIR}/libwithsctp.so.1.0.6 |