# Copyright 2006-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 12 Mar 2008; Andrew Gaffney <agaffney@gentoo.org>
+ patches/busybox/1.7.4/1.7.4-static-error.diff:
+ Update busybox static-error patch to actually work
+
12 Mar 2008; Chris Gianelloni <wolf31o2@gentoo.org> genkernel.conf:
Change BUSYBOX_VER to VERSION_BUSYBOX for genkernel-9999 ebuild.
+diff -ur busybox-1.7.4.orig/applets/applets.c busybox-1.7.4/applets/applets.c
--- busybox-1.7.4.orig/applets/applets.c 2007-09-16 13:48:10.000000000 -0500
+++ busybox-1.7.4/applets/applets.c 2008-03-11 13:53:18.000000000 -0500
@@ -23,7 +23,6 @@
#endif
+diff -ur busybox-1.7.4.orig/Makefile busybox-1.7.4/Makefile
+--- busybox-1.7.4.orig/Makefile 2007-11-23 22:34:41.000000000 -0600
++++ busybox-1.7.4/Makefile 2008-03-12 06:35:25.000000000 -0500
+@@ -570,7 +570,7 @@
+ quiet_cmd_busybox__ ?= LINK $@
+ cmd_busybox__ ?= $(srctree)/scripts/trylink $(CC) $(LDFLAGS) \
+ -o $@ -Wl,-Map -Wl,$@.map \
+- -Wl,--warn-common -Wl,--sort-common -Wl,--gc-sections \
++ -Wl,--warn-common -Wl,--sort-common \
+ -Wl,--start-group $(busybox-all) -Wl,--end-group \
+ $(LDLIBS)
+