public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/hardened-dev:musl commit in: sys-process/lsof/files/, sys-process/lsof/
@ 2015-02-28 23:21 Anthony G. Basile
  0 siblings, 0 replies; only message in thread
From: Anthony G. Basile @ 2015-02-28 23:21 UTC (permalink / raw
  To: gentoo-commits

commit:     3f9babf9bb444d6d335ef1b7a78bd55073b94c14
Author:     Cato Auestad <cato <AT> cato <DOT> ninja>
AuthorDate: Sat Feb 28 23:22:07 2015 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Sat Feb 28 23:22:44 2015 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/hardened-dev.git;a=commit;h=3f9babf9

sys-process/lsof: fix bug #541727

Package-Manager: portage-2.2.14
Manifest-Sign-Key: 0xF52D4BBA
Signed-off-by: Anthony G. Basile <blueness <AT> gentoo.org>

---
 sys-process/lsof/files/lsof-4.87-remove-glibc-check.patch | 15 +++++++++++++++
 sys-process/lsof/lsof-4.87-r99.ebuild                     |  2 +-
 2 files changed, 16 insertions(+), 1 deletion(-)

diff --git a/sys-process/lsof/files/lsof-4.87-remove-glibc-check.patch b/sys-process/lsof/files/lsof-4.87-remove-glibc-check.patch
new file mode 100644
index 0000000..1e121cb
--- /dev/null
+++ b/sys-process/lsof/files/lsof-4.87-remove-glibc-check.patch
@@ -0,0 +1,15 @@
+--- a/lsof_4.87_src/dialects/linux/dlsof.h	2015-02-28 22:37:00.731421615 +0000
++++ b/lsof_4.87_src/dialects/linux/dlsof.h	2015-02-28 22:37:57.585422124 +0000
+@@ -49,12 +49,7 @@
+ #include <setjmp.h>
+ #include <unistd.h>
+ #include <netinet/in.h>
+-
+-# if	defined(GLIBCV) || defined(__UCLIBC__)
+ #include <netinet/tcp.h>
+-# else	/* !defined(GLIBCV) && !defined(__UCLIBC__) */
+-#include <linux/tcp.h>
+-# endif	/* defined(GLIBCV) || defined(__UCLIBC__) */
+ 
+ # if	!defined(HASNORPC_H)
+ #include <rpc/rpc.h>
\ No newline at end of file

diff --git a/sys-process/lsof/lsof-4.87-r99.ebuild b/sys-process/lsof/lsof-4.87-r99.ebuild
index 9cda930..dd3753b 100644
--- a/sys-process/lsof/lsof-4.87-r99.ebuild
+++ b/sys-process/lsof/lsof-4.87-r99.ebuild
@@ -31,7 +31,7 @@ src_unpack() {
 }
 
 src_prepare() {
-	epatch "${FILESDIR}"/${PN}-4.85-fix-missing-netinet_tcp_h.patch #for musl
+	epatch "${FILESDIR}"/${PN}-4.87-remove-glibc-check.patch #for musl
 	epatch "${FILESDIR}"/${PN}-4.85-cross.patch #432120
 	# convert `test -r header.h` into a compile test
 	sed -i -r \


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2015-02-28 23:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-28 23:21 [gentoo-commits] proj/hardened-dev:musl commit in: sys-process/lsof/files/, sys-process/lsof/ Anthony G. Basile

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox