summaryrefslogtreecommitdiff
path: root/net-misc/lksctp-tools/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /net-misc/lksctp-tools/files
reinit the tree, so we can have metadata
Diffstat (limited to 'net-misc/lksctp-tools/files')
-rw-r--r--net-misc/lksctp-tools/files/lksctp-tools-1.0.13-build.patch30
-rw-r--r--net-misc/lksctp-tools/files/lksctp-tools-1.0.8-prefix.patch13
2 files changed, 43 insertions, 0 deletions
diff --git a/net-misc/lksctp-tools/files/lksctp-tools-1.0.13-build.patch b/net-misc/lksctp-tools/files/lksctp-tools-1.0.13-build.patch
new file mode 100644
index 000000000000..919bb1728aee
--- /dev/null
+++ b/net-misc/lksctp-tools/files/lksctp-tools-1.0.13-build.patch
@@ -0,0 +1,30 @@
+From 2f2ba4e271b91535860705ca5911a3a6e1f64121 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Diego=20Elio=20Petten=C3=B2?= <flameeyes@flameeyes.eu>
+Date: Sat, 23 Feb 2013 23:08:49 -0800
+Subject: [PATCH lksctp-tools] build: fix out-of-tree build of withsctp.
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+
+Signed-off-by: Diego Elio Pettenò <flameeyes@flameeyes.eu>
+---
+ src/withsctp/Makefile.am | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/withsctp/Makefile.am b/src/withsctp/Makefile.am
+index e091049..cecf606 100644
+--- a/src/withsctp/Makefile.am
++++ b/src/withsctp/Makefile.am
+@@ -10,7 +10,7 @@ include $(top_srcdir)/Makefile.rules
+ bin_PROGRAMS = checksctp
+ bin_SCRIPTS = withsctp
+
+-AM_CPPFLAGS=-I../include
++AM_CPPFLAGS=-I$(top_srcdir)/src/include
+ pkglib_LTLIBRARIES = libwithsctp.la
+ libwithsctp_la_SOURCES = sctp_load_libs.c sctp_socket.c sctp_bind.c \
+ sctp_sockopt.c sctp_socket.h
+--
+1.8.1.2
+
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