X-Git-Url: https://oss.titaniummirror.com/gitweb?p=msp430-binutils.git;a=blobdiff_plain;f=debian%2Fpatches%2F208-hjl-libtool-relink.dpatch;fp=debian%2Fpatches%2F208-hjl-libtool-relink.dpatch;h=d549ac35fe4880718f298983d014e4cafb1ca87e;hp=0000000000000000000000000000000000000000;hb=47f73751c91775676bb03af53e83c7f49dfda44f;hpb=6df9443a374e2b81278c61b8afc0a1eef7db280b diff --git a/debian/patches/208-hjl-libtool-relink.dpatch b/debian/patches/208-hjl-libtool-relink.dpatch new file mode 100644 index 0000000..d549ac3 --- /dev/null +++ b/debian/patches/208-hjl-libtool-relink.dpatch @@ -0,0 +1,43 @@ +#!/bin/sh -e +## 208-hjl-libtool-relink.dpatch +## +## DP: Description: Avoid unnecessary linker messages when running "make check" +## DP: Author: H.J. Lu +## DP: Upstream status: hjl 2.17.50.0.13 +## DP: Original patch: libtool-relink-1.patch + +if [ $# -ne 1 ]; then + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1 +fi + +[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts +patch_opts="${patch_opts:--f --no-backup-if-mismatch}" + +case "$1" in + -patch) patch $patch_opts -p1 < $0;; + -unpatch) patch $patch_opts -p1 -R < $0;; + *) + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1;; +esac + +exit 0 + +2006-09-18 H.J. Lu + + * ltmain.sh (relink_command): Redirect all messages to + /dev/null to avoid unecessary linker messages for "make check". + +@DPATCH@ +--- ./ltmain.sh.patch 2006-09-18 10:07:59.000000000 -0700 ++++ ./ltmain.sh 2006-09-18 10:49:50.000000000 -0700 +@@ -3990,7 +3997,7 @@ sed_quote_subst='$sed_quote_subst' + # if CDPATH is set. + if test \"\${CDPATH+set}\" = set; then CDPATH=:; export CDPATH; fi + +-relink_command=\"$relink_command\" ++relink_command=\"$relink_command > /dev/null 2>&1\" + + # This environment variable determines our operation mode. + if test \"\$libtool_install_magic\" = \"$magic\"; then