]> git.sur5r.net Git - bacula/bacula/commitdiff
Update build cross tools from James
authorKern Sibbald <kern@sibbald.com>
Tue, 21 Oct 2008 21:03:18 +0000 (21:03 +0000)
committerKern Sibbald <kern@sibbald.com>
Tue, 21 Oct 2008 21:03:18 +0000 (21:03 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@7872 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/src/win32/build-win32-cross-tools

index 956384aefc21a253a668baec8cedd27a40a0e08c..5d2915689f754566d093e63f2b5845d12ca779d7 100755 (executable)
@@ -104,6 +104,7 @@ GCC_PATCH=""
 # GCC_JAVA_ARCHIVE="gcc-java-3.4.2-20040916-1-src.tar.gz"
 
 BINUTILS_ARCHIVE="binutils-2.16.91-20060119-1-src.tar.gz"
+BINUTILS_PATCH="binutils_texinfo_version.patch"
 
 MINGW_ARCHIVE="mingw-runtime-3.9.tar.gz"
 
@@ -264,6 +265,16 @@ extract_binutils()
         cd "$BUILDDIR"
 }
 
+patch_binutils()
+{
+        if [ "$BINUTILS_PATCH" != "" ]; then
+                echo "Patching binutils"
+                cd "$SRCDIR/$BINUTILS"
+                patch -p1 < "${cwd}/patches/$BINUTILS_PATCH"
+                cd "$BUILDDIR"
+        fi
+}
+
 
 configure_binutils()
 {
@@ -512,6 +523,7 @@ fi
 install_libs
 
 extract_binutils
+patch_binutils
 configure_binutils
 build_binutils
 install_binutils