aboutsummaryrefslogtreecommitdiffstats
path: root/main/lsof/fix-includes.patch
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2013-10-28 14:22:59 +0000
committerTimo Teräs <timo.teras@iki.fi>2013-10-28 14:23:09 +0000
commit448c51ff5279c72a2f9c7381d724540537f1ffd4 (patch)
tree63da28100a7ef3db94426880bc96eb683e4b20d1 /main/lsof/fix-includes.patch
parent290d2c96afe07e951b14793f9aa1f1953f37b911 (diff)
downloadaports-448c51ff5279c72a2f9c7381d724540537f1ffd4.tar.bz2
aports-448c51ff5279c72a2f9c7381d724540537f1ffd4.tar.xz
main/lsof: fix musl build
Diffstat (limited to 'main/lsof/fix-includes.patch')
-rw-r--r--main/lsof/fix-includes.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/main/lsof/fix-includes.patch b/main/lsof/fix-includes.patch
new file mode 100644
index 0000000000..6bcc2d5641
--- /dev/null
+++ b/main/lsof/fix-includes.patch
@@ -0,0 +1,15 @@
+--- lsof_4.87_src/dialects/linux/dlsof.h
++++ lsof_4.87_src/dialects/linux/dlsof.h
+@@ -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>