From 547cbe8b7cec38240c0dfb31d5943e398f1048c3 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Tue, 21 Oct 2008 21:03:18 +0000 Subject: [PATCH] Update build cross tools from James git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@7872 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/src/win32/build-win32-cross-tools | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/bacula/src/win32/build-win32-cross-tools b/bacula/src/win32/build-win32-cross-tools index 956384aefc..5d2915689f 100755 --- a/bacula/src/win32/build-win32-cross-tools +++ b/bacula/src/win32/build-win32-cross-tools @@ -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 -- 2.39.5