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

Bug#843476: gcc-6: please make rules.patch externally usable again



Package: gcc-6
Version: 6.2.0-11
Severity: normal
Tags: patch

Dear maintainer,

The uudecode invocation in rules.patch assumes it's running in the
parent directory of the debian directory containing the uuencoded
file, whereas the rest of rules.patch uses patchdir to find the
patches. The attached patch uses patchdir to find
go-relocation-test-gcc620-sparc64.obj.uue, allowing rules.patch to be
used externally again (e.g. in gcc-mingw-w64).

Regards,

Stephen
diff -u gcc-6-6.2.0/debian/rules.patch gcc-6-6.2.0/debian/rules.patch
--- gcc-6-6.2.0/debian/rules.patch
+++ gcc-6-6.2.0/debian/rules.patch
@@ -387,7 +387,7 @@
 endif
 
 ifneq (,$(filter libgo-elf-relocations-sparc64, $(debian_patches)))
-	uudecode debian/go-relocation-test-gcc620-sparc64.obj.uue
+	uudecode $(patchdir)/../go-relocation-test-gcc620-sparc64.obj.uue
 endif
 
 	: # only needed when we have changes, and currently fails with autogen 5.18

Attachment: signature.asc
Description: PGP signature


Reply to: