[oe-commits] org.oe.dreambox glibc_2.3.2+cvs20040726: fix bashism

tmbinc commit openembedded-commits at lists.openembedded.org
Wed Nov 7 05:37:36 UTC 2007


glibc_2.3.2+cvs20040726: fix bashism

Author: tmbinc at openembedded.org
Branch: org.openembedded.dreambox
Revision: 8f1ea263b352bd617459b584cd2b61bd42550b29
ViewMTN: http://monotone.openembedded.org/revision/info/8f1ea263b352bd617459b584cd2b61bd42550b29
Files:
1
packages/glibc/files/glibc-remove-bashism.patch
packages/glibc/glibc_2.3.2+cvs20040726.bb
Diffs:

#
# mt diff -r85a1e0ce3984ec6cd286ed243ca7e3c0402c2c7a -r8f1ea263b352bd617459b584cd2b61bd42550b29
#
# 
# 
# add_file "packages/glibc/files/glibc-remove-bashism.patch"
#  content [4f00406af90a999f0a910ee1ddbee201f51a49a4]
# 
# patch "packages/glibc/glibc_2.3.2+cvs20040726.bb"
#  from [9160a399c0d7f70031af5f16eb1b6bc9b62f9507]
#    to [6ad545d6b453ec97ca09217846091384a5e655e2]
# 
============================================================
--- packages/glibc/files/glibc-remove-bashism.patch	4f00406af90a999f0a910ee1ddbee201f51a49a4
+++ packages/glibc/files/glibc-remove-bashism.patch	4f00406af90a999f0a910ee1ddbee201f51a49a4
@@ -0,0 +1,21 @@
+--- csu/Makefile	8 Mar 2004 21:28:15 -0000	1.73
++++ csu/Makefile	6 Nov 2007 21:50:58 -0000
+@@ -231,14 +231,14 @@
+ 		   if [ -z "$$os" ]; then \
+ 		     os=Linux; \
+ 		   fi; \
+-		   echo "\"Compiled on a $$os $$version system" \
+-			"on `date +%Y-%m-%d`.\\n\"" ;; \
++		   printf '"Compiled on a %s %s system on %s.\\n"\n' \
++			"$$os" "$$version" "`date +%Y-%m-%d`" ;; \
+ 	   *) ;; \
+ 	 esac; \
+ 	 files="$(all-Banner-files)";				\
+ 	 if test -n "$$files"; then				\
+-	   echo "\"Available extensions:\\n\"";			\
++	   printf '"Available extensions:\\n"\n';		\
+ 	   sed -e '/^#/d' -e 's/^[[:space:]]*/	/'		\
+-	       -e 's/^\(.*\)$$/\"\1\\n\"/' $$files;		\
++	       -e 's/\(^.*$$\)/\"\1\\n\"/' $$files;		\
+ 	 fi) > $@T
+ 	mv -f $@T $@
============================================================
--- packages/glibc/glibc_2.3.2+cvs20040726.bb	9160a399c0d7f70031af5f16eb1b6bc9b62f9507
+++ packages/glibc/glibc_2.3.2+cvs20040726.bb	6ad545d6b453ec97ca09217846091384a5e655e2
@@ -31,6 +31,7 @@ SRC_URI = "cvs://anoncvs@sources.redhat.
 	   file://arm-longlong.patch;patch=1;pnum=0 \
 	   file://arm-machine-gmon.patch;patch=1;pnum=0 \
 	   file://glibc-fp-byteorder.patch;patch=1 \
+     file://glibc-remove-bashism.patch;patch=1;pnum=0 \
 	   \
            file://etc/ld.so.conf \
 	   file://generate-supported.mk"






More information about the Openembedded-commits mailing list