From f007335f475f417800fd58a0deb0641498f72f4a Mon Sep 17 00:00:00 2001 From: Alejandro Mery Date: Sun, 14 Sep 2008 00:09:03 -0400 Subject: [PATCH] busybox: fixed iplink compilation under dietlibc --- base/busybox/dietlibc.patch | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 base/busybox/dietlibc.patch diff --git a/base/busybox/dietlibc.patch b/base/busybox/dietlibc.patch new file mode 100644 index 000000000..c243f5a57 --- /dev/null +++ b/base/busybox/dietlibc.patch @@ -0,0 +1,28 @@ +# --- SDE-COPYRIGHT-NOTE-BEGIN --- +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# +# Filename: package/.../busybox/dietlibc.patch +# Copyright (C) 2008 The OpenSDE Project +# +# More information can be found in the files COPYING and README. +# +# This patch file is dual-licensed. It is available under the license the +# patched project is licensed under, as long as it is an OpenSource license +# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms +# of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or (at your option) any later +# version. +# --- SDE-COPYRIGHT-NOTE-END --- + +--- ./networking/libiproute/iplink.c.orig 2008-09-13 23:21:55.000000000 -0400 ++++ ./networking/libiproute/iplink.c 2008-09-13 23:29:07.000000000 -0400 +@@ -10,7 +10,9 @@ + //#include + //#include + #include ++#ifndef __dietlibc__ + #include ++#endif + #include + #include +