summaryrefslogtreecommitdiffstats
path: root/package/lsof/lsof-uclibc.patch
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-11-29 12:59:56 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-11-29 12:59:56 +0000
commitaca398bb7fa956dc44e1442969c4a2a425780997 (patch)
tree56df479912077facf17cdc483d2cb02c34a7d122 /package/lsof/lsof-uclibc.patch
parentd41f2f350e220447e3c3dfe5a66e2b6bfe0a9c23 (diff)
downloadbuildroot-novena-aca398bb7fa956dc44e1442969c4a2a425780997.tar.gz
buildroot-novena-aca398bb7fa956dc44e1442969c4a2a425780997.zip
- compile against the cross toolchain, not the host
Diffstat (limited to 'package/lsof/lsof-uclibc.patch')
-rw-r--r--package/lsof/lsof-uclibc.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/lsof/lsof-uclibc.patch b/package/lsof/lsof-uclibc.patch
new file mode 100644
index 000000000..80a46da6f
--- /dev/null
+++ b/package/lsof/lsof-uclibc.patch
@@ -0,0 +1,12 @@
+diff -ru lsof_4.77.orig/lsof_4.77_src/dialects/linux/dlsof.h lsof_4.77/lsof_4.77_src/dialects/linux/dlsof.h
+--- lsof_4.77.orig/lsof_4.77_src/dialects/linux/dlsof.h 2006-03-28 00:57:14.000000000 +0200
++++ lsof_4.77/lsof_4.77_src/dialects/linux/dlsof.h 2006-11-29 14:03:07.000000000 +0100
+@@ -49,7 +49,7 @@
+ #include <unistd.h>
+ #include <netinet/in.h>
+
+-# if defined(GLIBCV)
++# if defined(GLIBCV) || defined __UCLIBC__
+ #include <netinet/tcp.h>
+ # else /* !defined(GLIBCV) */
+ #include <linux/tcp.h>