summaryrefslogtreecommitdiff
path: root/packages/libnet/libnet-1.1.2.1/support-uclibc.patch
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openembedded.org>2005-11-18 08:19:15 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-11-18 08:19:15 +0000
commitc7ced19dc6616e09f8c45d0c539339fbe17a9caf (patch)
tree16c9a3b2860668671b9bad054f479dfe478465db /packages/libnet/libnet-1.1.2.1/support-uclibc.patch
parentcce6287a6f4589a6494835b7710fcfa5d7d8bbe8 (diff)
libnet 1.1.2.1: moved from nonworking by Jamie Lenehan - close #467
Diffstat (limited to 'packages/libnet/libnet-1.1.2.1/support-uclibc.patch')
-rw-r--r--packages/libnet/libnet-1.1.2.1/support-uclibc.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/packages/libnet/libnet-1.1.2.1/support-uclibc.patch b/packages/libnet/libnet-1.1.2.1/support-uclibc.patch
new file mode 100644
index 0000000000..84d117c2e9
--- /dev/null
+++ b/packages/libnet/libnet-1.1.2.1/support-uclibc.patch
@@ -0,0 +1,13 @@
+Add support for building with uclibc.
+
+--- libnet/config.sub 2005/11/16 12:34:11 1.1
++++ libnet/config.sub 2005/11/16 12:35:56
+@@ -117,7 +117,7 @@
+ # Here we must recognize all the valid KERNEL-OS combinations.
+ maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
+ case $maybe_os in
+- nto-qnx* | linux-gnu* | storm-chaos* | os2-emx* | windows32-*)
++ nto-qnx* | linux-gnu* | linux-uclibc* | storm-chaos* | os2-emx* | windows32-*)
+ os=-$maybe_os
+ basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
+ ;;