view sources/patches/binutils-screwinfo.patch @ 1545:49be0eeedda9

Upgrade binutils to the last GPLv2 commit in the .git repository (397a64b3, right before they poisoned gas). This includes the -Bsymbolic-functions thing musl needs (and oddly enough the first drop of armv7l support). Since "make dist" inexplicably doesn't work (because maintainers are _special_) the tarball was made via: git clean -fdx && git checkout -f && patch -p1 -i ~/aboriginal/sources/patches/binutils-screwinfo.patch && ./configure --disable-werror && make configure-host && find . -name Makefile | xargs sed -i 's/^all:/& $(DIST_COMMON) $(EXTRA_DIST) $(DIST_SOURCES)/' && make && patch -p1 -Ri ~/aboriginal/aboriginal/sources/patches/binutils-screwinfo.patch && make distclean This resurrects several of the things I worked out to build 2.18 back before I worked out the license on that had been changed by stealth. (This also gets us away from the 2.17 on the FSF website which the FSF retroactively replaced with a version containing GPLv3 source files last year).
author Rob Landley <rob@landley.net>
date Tue, 25 Sep 2012 19:42:33 -0500
parents
children
line wrap: on
line source

The binutils build notices that makeinfo is missing, but fails anyway, breaking
the build.  Make it stop.

The "info" file format is obsolete (similar to "gopher"), was never used
by anyone but the FSF, and failed to even replace man pages (which are
now available in HTML).

--- binutils-2.18/missing	2005-07-13 20:24:56.000000000 -0500
+++ binutils-2.18/missing	2008-08-11 02:05:47.000000000 -0500
@@ -299,7 +299,7 @@
     fi
     # If the file does not exist, the user really needs makeinfo;
     # let's fail without touching anything.
-    test -f $file || exit 1
+    test -f $file || exit 0
     touch $file
     ;;