aboutsummaryrefslogtreecommitdiffstats
path: root/main/lksctp-tools/header-install.patch
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-05-12 09:17:32 -0300
committerFrancesco Colista <fcolista@alpinelinux.org>2019-05-28 07:21:31 +0000
commit6cbdf20d83ad6bbd3ce99c8f86ab2cde7aff4244 (patch)
tree2bb2fc7fa431c4e7bfa54d19c01b5f6b7dc5a792 /main/lksctp-tools/header-install.patch
parent0b04368fef83aec9820cc0c7a8e9be24efeab1a1 (diff)
downloadaports-6cbdf20d83ad6bbd3ce99c8f86ab2cde7aff4244.tar.bz2
aports-6cbdf20d83ad6bbd3ce99c8f86ab2cde7aff4244.tar.xz
main/lksctp-tools: upgrade to 1.0.18
Diffstat (limited to 'main/lksctp-tools/header-install.patch')
-rw-r--r--main/lksctp-tools/header-install.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/main/lksctp-tools/header-install.patch b/main/lksctp-tools/header-install.patch
new file mode 100644
index 0000000000..4cc1db493a
--- /dev/null
+++ b/main/lksctp-tools/header-install.patch
@@ -0,0 +1,33 @@
+From 378560050a8f93786c590cc99a55461666205b61 Mon Sep 17 00:00:00 2001
+From: Xin Long <lucien.xin@gmail.com>
+Date: Fri, 24 Aug 2018 01:13:32 +0800
+Subject: [PATCH] build: fix netinet/sctp.h not to be installed
+
+After libcnetinet_HEADERS was set to sctp.h.in, netinet/sctp.h can
+no longer be installed into ${includedir}.
+
+Since "AC_CONFIG_HEADERS([src/include/netinet/sctp.h])" is already
+added into configure.ac, there's no need to generate sctp.h by
+automake.
+
+So we simply set libcnetinet_HEADERS back to sctp.h.
+
+Fixes: 9607dd85e70a ("netinet/sctp.h: dynamically build based on system setup")
+Signed-off-by: Xin Long <lucien.xin@gmail.com>
+Signed-off-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
+---
+ src/include/netinet/Makefile.am | 3 +--
+ 1 file changed, 1 insertion(+), 2 deletions(-)
+
+diff --git a/src/include/netinet/Makefile.am b/src/include/netinet/Makefile.am
+index ca0aac2..965db8c 100644
+--- a/src/include/netinet/Makefile.am
++++ b/src/include/netinet/Makefile.am
+@@ -11,5 +11,4 @@ libcnetinetdir = $(includedir)/netinet
+ # API.
+ include_HEADERS =
+
+-libcnetinet_HEADERS = sctp.h.in
+-BUILT_SOURCES = sctp.h
++libcnetinet_HEADERS = sctp.h
+