diff options
author | Jonathan McDowell <noodles@earth.li> | 2005-10-29 08:58:42 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2005-10-29 08:58:42 +0000 |
commit | 7dd3bbef6102ab099035c4dd3c6646c2f138bd58 (patch) | |
tree | 40a80868d4acfec7555991ed99a93c69e8c31af9 /packages/net-snmp/files/uclibc-fix.patch | |
parent | c31b074a384048dd404505e90a24446d01aabca0 (diff) |
net-snmp: Fix up compilation with uclibc.
Diffstat (limited to 'packages/net-snmp/files/uclibc-fix.patch')
-rw-r--r-- | packages/net-snmp/files/uclibc-fix.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/packages/net-snmp/files/uclibc-fix.patch b/packages/net-snmp/files/uclibc-fix.patch new file mode 100644 index 0000000000..7109798e14 --- /dev/null +++ b/packages/net-snmp/files/uclibc-fix.patch @@ -0,0 +1,11 @@ +--- net-snmp-5.1.2/config.sub.orig 2005-10-28 22:43:40.228326250 +0100 ++++ net-snmp-5.1.2/config.sub 2005-10-28 22:43:55.565284750 +0100 +@@ -118,7 +118,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* | freebsd*-gnu* | storm-chaos* | os2-emx* | windows32-* | rtmk-nova*) ++ nto-qnx* | linux-gnu* | linux-uclibc* | freebsd*-gnu* | storm-chaos* | os2-emx* | windows32-* | rtmk-nova*) + os=-$maybe_os + basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` + ;; |