summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2014-10-31 21:08:14 +0000
committerMike Frysinger <vapier@gentoo.org>2014-10-31 21:08:14 +0000
commit2c7fe56eafe4e0f8cffab757e266138d52243ddc (patch)
treec265272d1e23625fdcc21d77591b86c4e56c0d7b /sys-devel/libtool/files/libtool-2.4.3-no-clean-gnulib.patch
parentAdd reference to upstream bug report (diff)
downloadhistorical-2c7fe56eafe4e0f8cffab757e266138d52243ddc.tar.gz
historical-2c7fe56eafe4e0f8cffab757e266138d52243ddc.tar.bz2
historical-2c7fe56eafe4e0f8cffab757e266138d52243ddc.zip
Do not delete headers installed by gnulib #527200 by Jorge Nerin.
Package-Manager: portage-2.2.14/cvs/Linux x86_64 Manifest-Sign-Key: 0xD2E96200
Diffstat (limited to 'sys-devel/libtool/files/libtool-2.4.3-no-clean-gnulib.patch')
-rw-r--r--sys-devel/libtool/files/libtool-2.4.3-no-clean-gnulib.patch37
1 files changed, 37 insertions, 0 deletions
diff --git a/sys-devel/libtool/files/libtool-2.4.3-no-clean-gnulib.patch b/sys-devel/libtool/files/libtool-2.4.3-no-clean-gnulib.patch
new file mode 100644
index 000000000000..31c30e4f5737
--- /dev/null
+++ b/sys-devel/libtool/files/libtool-2.4.3-no-clean-gnulib.patch
@@ -0,0 +1,37 @@
+https://bugs.gentoo.org/527200
+
+From 4e675f73a02714103fc74937f69e4159d5fbcfe7 Mon Sep 17 00:00:00 2001
+From: Mike Frysinger <vapier@gentoo.org>
+Date: Fri, 31 Oct 2014 17:04:11 -0400
+Subject: [PATCH] libtoolize: do not delete gnulib headers
+
+These snippet/ headers are installed by gnulib, not libtool. There's no
+reason libtool should be trying to delete these for us (and will break
+projects), so drop that logic.
+
+People who are using gnulib can use gnulib to update/manage these.
+
+* libtoolize.in (func_require_seen_libtool): Delete snippet/ header files
+from $all_pkgaux_files.
+
+Signed-off-by: Mike Frysinger <vapier@gentoo.org>
+---
+ libtoolize.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/libtoolize.in b/libtoolize.in
+index d819470..d0cbfb0 100644
+--- a/libtoolize.in
++++ b/libtoolize.in
+@@ -1897,7 +1897,7 @@ func_require_seen_libtool ()
+ # Do not remove config.guess, config.sub or install-sh, we don't
+ # install them without --install, and the project may not be using
+ # Automake.
+- all_pkgaux_files="compile depcomp missing ltmain.sh snippet/_Noreturn.h snippet/arg-nonnull.h snippet/c++defs.h snippet/warn-on-use.h"
++ all_pkgaux_files="compile depcomp missing ltmain.sh"
+ all_pkgmacro_files="argz.m4 libtool.m4 ltdl.m4 ltoptions.m4 ltsugar.m4 ltversion.in ltversion.m4 lt~obsolete.m4"
+ all_pkgltdl_files="COPYING.LIB Makefile Makefile.in Makefile.inc Makefile.am README acinclude.m4 aclocal.m4 argz_.h argz.c config.h.in config-h.in configure configure.ac configure.in libltdl/lt__alloc.h libltdl/lt__dirent.h libltdl/lt__glibc.h libltdl/lt__private.h libltdl/lt__strl.h libltdl/lt_dlloader.h libltdl/lt_error.h libltdl/lt_system.h libltdl/slist.h loaders/dld_link.c loaders/dlopen.c loaders/dyld.c loaders/load_add_on.c loaders/loadlibrary.c loaders/preopen.c loaders/shl_load.c lt__alloc.c lt__dirent.c lt__strl.c lt_dlloader.c lt_error.c ltdl.c ltdl.h ltdl.mk slist.c"
+
+--
+2.1.2
+