net-misc/lksctp-tools: fix installation of /usr/include/netinet/sctp.h
authorThomas Deutschmann <whissi@gentoo.org>
Wed, 10 Oct 2018 13:13:48 +0000 (15:13 +0200)
committerThomas Deutschmann <whissi@gentoo.org>
Wed, 10 Oct 2018 13:13:48 +0000 (15:13 +0200)
Closes: https://bugs.gentoo.org/667512
Package-Manager: Portage-2.3.50, Repoman-2.3.11
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
net-misc/lksctp-tools/files/lksctp-tools-1.0.18-install-sctp.h.patch [new file with mode: 0644]
net-misc/lksctp-tools/lksctp-tools-1.0.18-r1.ebuild [moved from net-misc/lksctp-tools/lksctp-tools-1.0.18.ebuild with 96% similarity]

diff --git a/net-misc/lksctp-tools/files/lksctp-tools-1.0.18-install-sctp.h.patch b/net-misc/lksctp-tools/files/lksctp-tools-1.0.18-install-sctp.h.patch
new file mode 100644 (file)
index 0000000..f831e6c
--- /dev/null
@@ -0,0 +1,11 @@
+https://github.com/sctp/lksctp-tools/commit/378560050a8f93786c590cc99a55461666205b61
+
+--- 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
similarity index 96%
rename from net-misc/lksctp-tools/lksctp-tools-1.0.18.ebuild
rename to net-misc/lksctp-tools/lksctp-tools-1.0.18-r1.ebuild
index 3f6e488746181819dede810096c2729d38d85308..8dff226ebe289240aff25a756f9242e766b9ef83 100644 (file)
@@ -25,6 +25,8 @@ WARNING_IP_SCTP="CONFIG_IP_SCTP:\tis not set when it should be."
 
 DOCS=( AUTHORS ChangeLog INSTALL NEWS README ROADMAP )
 
+PATCHES=( "${FILESDIR}"/${P}-install-sctp.h.patch )
+
 src_prepare() {
        default