]> git.pld-linux.org Git - packages/busybox.git/commitdiff
- not builtin printf causes problems due to too long cmd line
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Tue, 18 Oct 2011 16:21:13 +0000 (16:21 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    busybox-toolongcmd.patch -> 1.1
    busybox.spec -> 1.192

busybox-toolongcmd.patch [new file with mode: 0644]
busybox.spec

diff --git a/busybox-toolongcmd.patch b/busybox-toolongcmd.patch
new file mode 100644 (file)
index 0000000..bddc599
--- /dev/null
@@ -0,0 +1,13 @@
+--- busybox-1.19.2/scripts/gen_build_files.sh~ 2011-08-22 04:57:50.000000000 +0200
++++ busybox-1.19.2/scripts/gen_build_files.sh  2011-10-18 18:17:34.041556654 +0200
+@@ -29,7 +29,9 @@
+               printf "%s\n" "${header}"
+               if grep -qs '^INSERT$' "${src}"; then
+                       sed -n '1,/^INSERT$/p' "${src}"
+-                      printf "%s\n" "${insert}"
++                      cat << EOF
++                      ${insert}
++EOF
+                       sed -n '/^INSERT$/,$p' "${src}"
+               else
+                       if [ -n "${insert}" ]; then
index 7857d5f3982447f9d72ef7e58f0682487c4f578e..5f8f1e78c99829525e103cf2a9eb516813730626 100644 (file)
@@ -62,6 +62,7 @@ Patch5:               %{name}-insmod-morearchs.patch
 Patch6:                %{name}-dhcp.patch
 Patch7:                %{name}-fix_64_archs.patch
 Patch9:                %{name}-ash-export-PATH.patch
+Patch10:       %{name}-toolongcmd.patch
 URL:           http://www.busybox.net/
 BuildRequires: gcc >= 3.2
 BuildRequires: perl-tools-pod
@@ -177,6 +178,7 @@ Statycznie skonsolidowany busybox dla initrd.
 %patch6 -p1
 %patch7 -p1
 %patch9 -p1
+%patch10 -p1
 
 %build
 install -d built
This page took 0.140947 seconds and 4 git commands to generate.