[Clfs-commits] commit: r4701 - in /trunk/scripts/patch: binutils-patch.sh gcc-patch.sh

svn at cross-lfs.org svn at cross-lfs.org
Mon Feb 16 14:26:12 PST 2009


Author: eikniw
Date: Mon Feb 16 22:26:12 2009
New Revision: 4701

Log:
Fix another typo, and add a version string to Binutils

Modified:
    trunk/scripts/patch/binutils-patch.sh
    trunk/scripts/patch/gcc-patch.sh

Modified: trunk/scripts/patch/binutils-patch.sh
==============================================================================
--- trunk/scripts/patch/binutils-patch.sh (original)
+++ trunk/scripts/patch/binutils-patch.sh Mon Feb 16 22:26:12 2009
@@ -74,6 +74,11 @@
 sed -i 's/# RELEASE=y/RELEASE=y/g' bfd/Makefile.am
 sed -i 's/# RELEASE=y/RELEASE=y/g' bfd/Makefile.in
 
+# Customize the version string, so we know it's patched
+#
+cd /usr/src/binutils-${SOURCEVERSION}
+sed -i "s:@PKGVERSION@:\"(Cross-LFS - Branch Update ${PATCH_NUM}) \":" Makefile.in 
+
 # Create Patch
 #
 cd /usr/src

Modified: trunk/scripts/patch/gcc-patch.sh
==============================================================================
--- trunk/scripts/patch/gcc-patch.sh (original)
+++ trunk/scripts/patch/gcc-patch.sh Mon Feb 16 22:26:12 2009
@@ -44,7 +44,7 @@
 svn export svn://gcc.gnu.org/svn/gcc/branches/gcc-${FIXEDVERSION}-branch gcc-${VERSION}
 
 # Add a custom version string
-sed -i "s:PKGVERSION:\"(Cross-LFS - Branch Update ${PATCH_NUM})\":" gcc-${VERSION}/gcc/version.c
+sed -i "s:PKGVERSION:\"(Cross-LFS - Branch Update ${PATCH_NUM}) \":" gcc-${VERSION}/gcc/version.c
 
 # Cleanup
 DIRS="gcc-${VERSION} gcc-${VERSION}.orig"




More information about the Clfs-commits mailing list