Browse Source

Fixed busybox's ash to compile against dietlibc

early
Alejandro Mery 18 years ago
parent
commit
bd29b600f3
  1. 28
      base/busybox/dietlibc.patch

28
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) 2007 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 ---
--- ./shell/ash.c.orig 2007-07-17 11:01:59.000000000 -0400
+++ ./shell/ash.c 2007-07-17 11:02:57.000000000 -0400
@@ -66,6 +66,9 @@
#error "Do not even bother, ash will not run on uClinux"
#endif
+#ifdef __dietlibc__
+#define dprintf fdprintf
+#endif
/* ============ Misc helpers */
Loading…
Cancel
Save