commit:     ab36c5dacec3cd210440834fe2de5766ee32e8cf
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 10 13:13:48 2018 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Wed Oct 10 13:13:48 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab36c5da

net-misc/lksctp-tools: fix installation of /usr/include/netinet/sctp.h

Closes: https://bugs.gentoo.org/667512
Package-Manager: Portage-2.3.50, Repoman-2.3.11
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>

 .../files/lksctp-tools-1.0.18-install-sctp.h.patch            | 11 +++++++++++
 ...sctp-tools-1.0.18.ebuild => lksctp-tools-1.0.18-r1.ebuild} |  2 ++
 2 files changed, 13 insertions(+)

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
index 00000000000..f831e6c30b3
--- /dev/null
+++ b/net-misc/lksctp-tools/files/lksctp-tools-1.0.18-install-sctp.h.patch
@@ -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

diff --git a/net-misc/lksctp-tools/lksctp-tools-1.0.18.ebuild 
b/net-misc/lksctp-tools/lksctp-tools-1.0.18-r1.ebuild
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 3f6e4887461..8dff226ebe2 100644
--- a/net-misc/lksctp-tools/lksctp-tools-1.0.18.ebuild
+++ b/net-misc/lksctp-tools/lksctp-tools-1.0.18-r1.ebuild
@@ -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
 

Reply via email to