patches/gcc/4.3.3/170-libiberty-pic.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Wed Aug 10 23:09:06 2011 +0200 (2011-08-10)
changeset 2599 c096c896e745
permissions -rw-r--r--
scripts/functions: remove messages about failed downloads

When downloading via svn/cvs/... an attempt to retrieve from the
mirror is made. If the mirror does not have the required tarball,
an error message is printed. This is misleading, as the download
may later succeed via svn/cvs/...

Remove the messages about failed downloads altogether.

At the same time, use "if ... then ... fi" instead of "... && ..."

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
yann@1162
     1
Original patch from: ../4.3.2/170-libiberty-pic.patch
yann@1162
     2
yann@1162
     3
-= BEGIN original header =-
yann@1162
     4
Original patch from gentoo: gentoo/src/patchsets/gcc/4.3.1/gentoo/51_all_gcc-3.4-libiberty-pic.patch
yann@1162
     5
-= END original header =-
yann@1162
     6
yann@1162
     7
diff -durN gcc-4.3.3.orig/libiberty/Makefile.in gcc-4.3.3/libiberty/Makefile.in
yann@1162
     8
--- gcc-4.3.3.orig/libiberty/Makefile.in	2007-07-25 08:26:45.000000000 +0200
yann@1162
     9
+++ gcc-4.3.3/libiberty/Makefile.in	2009-01-27 22:19:30.000000000 +0100
yann@1162
    10
@@ -225,6 +225,7 @@
yann@1162
    11
 	  $(AR) $(AR_FLAGS) $(TARGETLIB) \
yann@1162
    12
 	    $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS); \
yann@1162
    13
 	  $(RANLIB) $(TARGETLIB); \
yann@1162
    14
+	  cp $(TARGETLIB) ../ ; \
yann@1162
    15
 	  cd ..; \
yann@1162
    16
 	else true; fi
yann@1162
    17