[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#600502: gcc-4.5-source: Hard-coded file name in "patch" rule in rules.patch



Package: gcc-4.5-source
Version: 4.5.1-9
Severity: normal
Tags: patch


Dear GCC maintainers,

I'm currently building a gcc-mingw-w64 package using your
gcc-4.5-source package.  I've encountered the following small problem:
debian/rules.patch defines a patchdir variable but doesn't use it to
find the svn-updates.diff patch.  This means that when trying to build
a package using rules.patch in a separate build tree, that part
fails...  The attached (trivial) patch fixes this.

Regards,

Stephen


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable'), (200, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.35-trunk-686-bigmem (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gcc-4.5-source depends on:
ii  autoconf2.59            2.59-1           automatic configure script builder
ii  automake1.9             1.9.6+nogfdl-3.1 A tool for generating GNU Standard
ii  make                    3.81-8           An utility for Directing compilati
ii  patchutils              0.3.1-2          Utilities to work with patches
ii  quilt                   0.48-7           Tool to work with series of patche

gcc-4.5-source recommends no packages.

gcc-4.5-source suggests no packages.

-- no debconf information

-- debsums errors found:
debsums: changed file /usr/src/gcc-4.5/debian/rules.patch (from gcc-4.5-source package)
diff -urN gcc-4.5.orig/debian/rules.patch gcc-4.5/debian/rules.patch
--- gcc-4.5.orig/debian/rules.patch	2010-10-14 12:19:24.000000000 +0200
+++ gcc-4.5/debian/rules.patch	2010-10-17 15:09:20.000000000 +0200
@@ -272,7 +272,7 @@
 
 ifneq (,$(filter svn-updates, $(debian_patches)))
 	awk '/^EOF/ {exit} p==1 {print} /EOF$$/ {p=1}' \
-	  debian/patches/svn-updates.diff > src/LAST_UPDATED
+	  $(patchdir)/svn-updates.diff > src/LAST_UPDATED
 endif
 
 	if ! test -f ./autotools_files ; then touch ./autotools_files ; fi

Reply to: