rpms/busybox/F-7 busybox-1.2.2-gc-section.patch, NONE, 1.1 busybox.spec, 1.58, 1.59

Ivana Varekova (varekova) fedora-extras-commits at redhat.com
Thu Dec 13 14:57:58 UTC 2007


Author: varekova

Update of /cvs/pkgs/rpms/busybox/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv23742

Modified Files:
	busybox.spec 
Added Files:
	busybox-1.2.2-gc-section.patch 
Log Message:
- fix #423011- busybox cut command suppresses redirected output



busybox-1.2.2-gc-section.patch:

--- NEW FILE busybox-1.2.2-gc-section.patch ---
diff -up busybox-1.2.2/Rules.mak.pom busybox-1.2.2/Rules.mak
--- busybox-1.2.2/Rules.mak.pom	2006-10-24 22:22:03.000000000 +0200
+++ busybox-1.2.2/Rules.mak	2007-12-13 15:36:39.000000000 +0100
@@ -265,7 +265,6 @@ ifeq ($(strip $(CONFIG_DEBUG)),y)
 else
     CFLAGS +=-DNDEBUG
     CHECKED_LDFLAGS += $(call check_ld,$(LD),--sort-common,)
-    CHECKED_LDFLAGS += $(call check_ld,$(LD),--gc-sections,)
 endif
 
 ifneq ($(strip $(CONFIG_DEBUG_PESSIMIZE)),y)


Index: busybox.spec
===================================================================
RCS file: /cvs/pkgs/rpms/busybox/F-7/busybox.spec,v
retrieving revision 1.58
retrieving revision 1.59
diff -u -r1.58 -r1.59
--- busybox.spec	10 Apr 2007 14:23:59 -0000	1.58
+++ busybox.spec	13 Dec 2007 14:57:24 -0000	1.59
@@ -1,7 +1,7 @@
 Summary: Statically linked binary providing simplified versions of system commands
 Name: busybox
 Version: 1.2.2
-Release: 8%{?dist}
+Release: 9%{?dist}
 Epoch: 1
 License: GPL
 Group: System Environment/Shells
@@ -17,6 +17,7 @@
 Patch10: busybox-1.2.2-ash.patch
 Patch11: busybox-1.2.2-iptunnel.patch
 Patch12: busybox-1.2.2-ls.patch
+Patch13: busybox-1.2.2-gc-section.patch
 URL: http://www.busybox.net
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)  
 BuildRequires: libselinux-devel >= 1.27.7-2
@@ -66,6 +67,7 @@
 %patch10 -b .ash -p1
 %patch11 -b .iptunnel -p1
 %patch12 -b .ls -p1
+%patch13 -b .sect -p1
 
 %build
 # create static busybox - the executable is kept as busybox-static
@@ -77,6 +79,8 @@
 # create busybox optimized for anaconda 
 # revert the static patch
 patch -R -p1 <%{PATCH0}
+# revert gc-section patch
+patch -R -p1 <%{PATCH13}
 # applied anaconda patch
 patch -b --suffix .anaconda -p1 < %{PATCH1}
 
@@ -120,6 +124,9 @@
 /sbin/busybox.petitboot
 
 %changelog
+* Thu Dec 13 2007 Ivana Varekova <varekova at redhat.com> - 1:1.2.2-9
+- fix #423011- busybox cut command suppresses redirected output
+
 * Sat Apr  7 2007 David Woodhouse <dwmw2 at redhat.com> - 1:1.2.2-8
 - Add busybox-petitboot subpackage
 




More information about the fedora-extras-commits mailing list