summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2008-11-16 17:22:08 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2008-11-16 17:22:08 +0000
commit687edf150f9919808121704e0e36fd7a601ea678 (patch)
treecf57ef4a7ded1a6474f44d984871ee960b1c42c9
parent50f2a3981fb5e7988bac4fb231286ae69055458f (diff)
busybox: 1.13.0 id patch (check)
-rw-r--r--package/busybox/busybox-1.13.0-id.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/package/busybox/busybox-1.13.0-id.patch b/package/busybox/busybox-1.13.0-id.patch
new file mode 100644
index 000000000..c6d0c4ca0
--- /dev/null
+++ b/package/busybox/busybox-1.13.0-id.patch
@@ -0,0 +1,15 @@
+--- busybox-1.13.0/coreutils/id.c Wed Nov 5 22:39:54 2008
++++ busybox-1.13.0-id/coreutils/id.c Sun Nov 16 15:59:46 2008
+@@ -17,6 +17,12 @@
+
+ #include "libbb.h"
+
++#if defined(__UCLIBC_MAJOR__) && (__UCLIBC_MAJOR__ == 0)
++#if (__UCLIBC_MINOR__ < 9) || (__UCLIBC_MINOR__ == 9 && __UCLIBC_SUBLEVEL__ < 30)
++#error "Sorry, you need at least uClibc version 0.9.30 for id applet to build"
++#endif
++#endif
++
+ enum {
+ PRINT_REAL = (1 << 0),
+ NAME_NOT_NUMBER = (1 << 1),