Bug#370649: gcc-4.1: cross-configure.dpatch failed on DEB_CROSS
should the patch be removed as well?
Kazuhiro Inaoka writes:
> Package:gcc-4.1
> Version:4.1.1-2
> Serverity:wishlist
> Tags:patch
>
> The following failure happened when cross-compiling.
>
> if [ -x debian/patches/cross-configure.dpatch ]; then true; else chmod +x
> debian/patches/cross-configure.dpatch; fi
> if [ -f stamps/02-patch-stamp-cross-configure ]; then \
> echo "cross-configure patches already applied."; exit 1; \
> fi
> DEB_VERSION='4.1.1-2'; export DEB_VERSION; \
> debian/patches/cross-configure.dpatch -patch -d
> /project/m32r-linux/work/inaoka/debian/gcc-4.1/gcc-4.1_4.1.1-2/gcc-4.1-4.1.1/src
> patching file configure.in
> Hunk #1 FAILED at 2103.
> 1 out of 1 hunk FAILED -- saving rejects to file configure.in.rej
> patching file configure
> Hunk #1 FAILED at 4006.
> 1 out of 1 hunk FAILED -- saving rejects to file configure.rej
> make: *** [stamps/02-patch-stamp-cross-configure] Error 1
>
> Could you please apply the patch?
> I think the cross-configure.dpatch is not needed.
>
> Regards,
> Kazuhiro Inaoka
> --- ./rules.patch.org 2006-06-06 16:12:00.195581099 +0900
> +++ ./rules.patch 2006-06-06 16:08:20.781676720 +0900
> @@ -98,7 +98,7 @@
> endif
>
> ifdef DEB_CROSS
> - debian_patches += cross-configure cross-include
> + debian_patches += cross-include
> endif
>
> debian_patches += link-libs
Reply to: