[gentoo-commits] repo/gentoo:master commit in: sys-devel/libtool/files/, sys-devel/libtool/

2023-05-29 Thread Sam James
commit: 79b33c73e995c90c6c74c753b4bc37452ab32c2e
Author: Sam James  gentoo  org>
AuthorDate: Mon May 29 17:35:59 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon May 29 18:19:13 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79b33c73

sys-devel/libtool: drop dead prefix targets

Signed-off-by: Sam James  gentoo.org>

 sys-devel/libtool/files/libtool-2.4.6-mint.patch | 46 
 sys-devel/libtool/libtool-2.4.7-r1.ebuild|  1 -
 sys-devel/libtool/libtool-2.4.7.ebuild   |  1 -
 sys-devel/libtool/libtool-.ebuild|  1 -
 4 files changed, 49 deletions(-)

diff --git a/sys-devel/libtool/files/libtool-2.4.6-mint.patch 
b/sys-devel/libtool/files/libtool-2.4.6-mint.patch
deleted file mode 100644
index 4fe5bcede5a3..
--- a/sys-devel/libtool/files/libtool-2.4.6-mint.patch
+++ /dev/null
@@ -1,46 +0,0 @@
-Patch by Alan Hourihane
-
-http://bugs.gentoo.org/show_bug.cgi?id=266984
-
 a/configure
-+++ b/configure
-@@ -5897,6 +5897,11 @@
- lt_cv_sys_max_cmd_len=8192;
- ;;
- 
-+  mint*)
-+# On MiNT this can take a long time and run out of memory.
-+lt_cv_sys_max_cmd_len=8192;
-+;;
-+
-   amigaos*)
- # On AmigaOS with pdksh, this test takes hours, literally.
- # So we just punt and use a minimum line length of 8192.
 a/libltdl/configure
-+++ b/libltdl/configure
-@@ -4782,6 +4782,11 @@
- lt_cv_sys_max_cmd_len=8192;
- ;;
- 
-+  mint*)
-+# On MiNT this can take a long time and run out of memory.
-+lt_cv_sys_max_cmd_len=8192;
-+;;
-+
-   amigaos*)
- # On AmigaOS with pdksh, this test takes hours, literally.
- # So we just punt and use a minimum line length of 8192.
 a/m4/libtool.m4
-+++ b/m4/libtool.m4
-@@ -1708,6 +1708,11 @@
- lt_cv_sys_max_cmd_len=8192;
- ;;
- 
-+  mint*)
-+# On MiNT this can take a long time and run out of memory.
-+lt_cv_sys_max_cmd_len=8192;
-+;;
-+
-   amigaos*)
- # On AmigaOS with pdksh, this test takes hours, literally.
- # So we just punt and use a minimum line length of 8192.

diff --git a/sys-devel/libtool/libtool-2.4.7-r1.ebuild 
b/sys-devel/libtool/libtool-2.4.7-r1.ebuild
index e4267e86758d..a098f7ae0b1d 100644
--- a/sys-devel/libtool/libtool-2.4.7-r1.ebuild
+++ b/sys-devel/libtool/libtool-2.4.7-r1.ebuild
@@ -41,7 +41,6 @@ PATCHES=(
# bug #581314
"${FILESDIR}"/${PN}-2.4.6-ppc64le.patch
 
-   "${FILESDIR}"/${PN}-2.4.6-mint.patch
"${FILESDIR}"/${PN}-2.2.6a-darwin-module-bundle.patch
"${FILESDIR}"/${PN}-2.4.6-darwin-use-linux-version.patch
"${FILESDIR}"/${PN}-2.4.7-werror-lto.patch

diff --git a/sys-devel/libtool/libtool-2.4.7.ebuild 
b/sys-devel/libtool/libtool-2.4.7.ebuild
index 0b10b9ee127a..8f3e8b1e3397 100644
--- a/sys-devel/libtool/libtool-2.4.7.ebuild
+++ b/sys-devel/libtool/libtool-2.4.7.ebuild
@@ -40,7 +40,6 @@ PATCHES=(
# bug #581314
"${FILESDIR}"/${PN}-2.4.6-ppc64le.patch
 
-   "${FILESDIR}"/${PN}-2.4.6-mint.patch
"${FILESDIR}"/${PN}-2.2.6a-darwin-module-bundle.patch
"${FILESDIR}"/${PN}-2.4.6-darwin-use-linux-version.patch
 )

diff --git a/sys-devel/libtool/libtool-.ebuild 
b/sys-devel/libtool/libtool-.ebuild
index bc4caaff6fe7..a27b9abcb010 100644
--- a/sys-devel/libtool/libtool-.ebuild
+++ b/sys-devel/libtool/libtool-.ebuild
@@ -41,7 +41,6 @@ PATCHES=(
# bug #581314
"${FILESDIR}"/${PN}-2.4.6-ppc64le.patch
 
-   "${FILESDIR}"/${PN}-2.4.6-mint.patch
"${FILESDIR}"/${PN}-2.2.6a-darwin-module-bundle.patch
"${FILESDIR}"/${PN}-2.4.6-darwin-use-linux-version.patch
"${FILESDIR}"/${PN}-2.4.7-grep-3.8.patch



[gentoo-commits] repo/gentoo:master commit in: sys-devel/libtool/files/, sys-devel/libtool/

2019-12-28 Thread Lars Wendler
commit: 2dd4b4a5f9ab6a5dd9c91489f88576d992a34918
Author: David Seifert  gentoo  org>
AuthorDate: Mon Dec 23 23:02:51 2019 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Sat Dec 28 15:19:21 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2dd4b4a5

sys-devel/libtool: Port to EAPI 7

* Rebase all patches

Acked-by: Lars Wendler  gentoo.org>
Package-Manager: Portage-2.3.82, Repoman-2.3.20
Signed-off-by: David Seifert  gentoo.org>
Signed-off-by: Lars Wendler  gentoo.org>

 .../libtool-2.2.6a-darwin-module-bundle.patch  |   8 +-
 .../libtool-2.4.3-use-linux-version-in-fbsd.patch  |   8 +-
 .../libtool-2.4.6-darwin-use-linux-version.patch   |   6 +-
 .../files/libtool-2.4.6-link-fsanitize.patch   |  16 +--
 .../libtool/files/libtool-2.4.6-link-fuse-ld.patch |  15 +--
 .../libtool/files/libtool-2.4.6-link-specs.patch   |  16 +--
 sys-devel/libtool/files/libtool-2.4.6-mint.patch   |  21 ++--
 .../files/libtool-2.4.6-pthread_bootstrapped.patch |   6 +-
 .../files/libtool-2.4.6-sed-quote-speedup.patch|  41 +++-
 sys-devel/libtool/libtool-2.4.6-r6.ebuild  | 114 +
 10 files changed, 156 insertions(+), 95 deletions(-)

diff --git a/sys-devel/libtool/files/libtool-2.2.6a-darwin-module-bundle.patch 
b/sys-devel/libtool/files/libtool-2.2.6a-darwin-module-bundle.patch
index c6b63ed3276..81364d4d02a 100644
--- a/sys-devel/libtool/files/libtool-2.2.6a-darwin-module-bundle.patch
+++ b/sys-devel/libtool/files/libtool-2.2.6a-darwin-module-bundle.patch
@@ -11,10 +11,10 @@ in this context refers to the binary itself, not to a 
structured
 hierarchy. Bundles have the .bundle extension; for example,
 MyBundle.bundle.)
 
 libltdl/m4/libtool.m4
-+++ libltdl/m4/libtool.m4
-@@ -2271,7 +2271,7 @@
-   soname_spec='${libname}${release}${major}$shared_ext'
+--- a/m4/libtool.m4
 b/m4/libtool.m4
+@@ -2645,7 +2645,7 @@
+   soname_spec='$libname$release$major$shared_ext'
shlibpath_overrides_runpath=yes
shlibpath_var=DYLD_LIBRARY_PATH
 -  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'

diff --git 
a/sys-devel/libtool/files/libtool-2.4.3-use-linux-version-in-fbsd.patch 
b/sys-devel/libtool/files/libtool-2.4.3-use-linux-version-in-fbsd.patch
index 8244eaa7e3e..aa1e870649b 100644
--- a/sys-devel/libtool/files/libtool-2.4.3-use-linux-version-in-fbsd.patch
+++ b/sys-devel/libtool/files/libtool-2.4.3-use-linux-version-in-fbsd.patch
@@ -7,7 +7,7 @@ http://bugs.gentoo.org/109105
 
 --- a/m4/libtool.m4
 +++ b/m4/libtool.m4
-@@ -1375,7 +1375,14 @@
+@@ -2666,7 +2666,14 @@
  *) objformat=elf ;;
  esac
fi
@@ -22,9 +22,9 @@ http://bugs.gentoo.org/109105
 +
case $version_type in
  freebsd-elf*)
-   library_names_spec='${libname}${release}${shared_ext}$versuffix 
${libname}${release}${shared_ext} $libname${shared_ext}'
-@@ -1386,6 +1392,12 @@
-   library_names_spec='${libname}${release}${shared_ext}$versuffix 
$libname${shared_ext}$versuffix'
+   library_names_spec='$libname$release$shared_ext$versuffix 
$libname$release$shared_ext$major $libname$shared_ext'
+@@ -2678,6 +2685,12 @@
+   library_names_spec='$libname$release$shared_ext$versuffix 
$libname$shared_ext$versuffix'
need_version=yes
;;
 +linux)

diff --git 
a/sys-devel/libtool/files/libtool-2.4.6-darwin-use-linux-version.patch 
b/sys-devel/libtool/files/libtool-2.4.6-darwin-use-linux-version.patch
index b4409815f8b..aded304989d 100644
--- a/sys-devel/libtool/files/libtool-2.4.6-darwin-use-linux-version.patch
+++ b/sys-devel/libtool/files/libtool-2.4.6-darwin-use-linux-version.patch
@@ -1,8 +1,8 @@
 * revert old 1.5 behaviour
 
 libtool-2.4.6/m4/libtool.m4
-+++ libtool-2.4.6/m4/libtool.m4
-@@ -2272,7 +2272,7 @@
+--- a/m4/libtool.m4
 b/m4/libtool.m4
+@@ -2641,7 +2641,7 @@
version_type=darwin
need_lib_prefix=no
need_version=no

diff --git a/sys-devel/libtool/files/libtool-2.4.6-link-fsanitize.patch 
b/sys-devel/libtool/files/libtool-2.4.6-link-fsanitize.patch
index c1ea8a82940..853a22eff54 100644
--- a/sys-devel/libtool/files/libtool-2.4.6-link-fsanitize.patch
+++ b/sys-devel/libtool/files/libtool-2.4.6-link-fsanitize.patch
@@ -13,15 +13,10 @@ linker to allow trivial use of the clang address sanitizer.
 
 Signed-off-by: Jeremy Huddleston Sequoia 
 Copyright-paperwork-exempt: Yes

- build-aux/ltmain.in | 3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
 
-diff --git a/build-aux/ltmain.in b/build-aux/ltmain.in
-index 1cbe875..2a5aaad 100644
 --- a/build-aux/ltmain.in
 +++ b/build-aux/ltmain.in
-@@ -5382,10 +5382,11 @@ func_mode_link ()
+@@ -5362,10 +5362,11 @@
# -O*, -g*, -flto*, -fwhopr*, -fuse-linker-plugin GCC link-time 
optimization
# -specs=* GCC specs files
# -stdlib=*select c++ std lib with clang
@@ -34,13 +29,9 @@ index 1cbe875..2a5aaad 100644
  func_quote_for_eval "$arg"
arg=$func_quote_for_eval_result
  func_append 

[gentoo-commits] repo/gentoo:master commit in: sys-devel/libtool/files/, sys-devel/libtool/

2017-03-23 Thread Fabian Groffen
commit: 754124d7de028fc8c203cf4940b9bcad7e59f5a9
Author: Fabian Groffen  gentoo  org>
AuthorDate: Thu Mar 23 15:09:49 2017 +
Commit: Fabian Groffen  gentoo  org>
CommitDate: Thu Mar 23 15:10:02 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=754124d7

sys-devel/libtool: add Prefix keywords and patches

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 .../libtool/files/libtool-2.2.10-eprefix.patch | 11 +
 .../libtool-2.2.6a-darwin-module-bundle.patch  | 24 +++
 .../libtool-2.4.6-darwin-use-linux-version.patch   | 13 ++
 sys-devel/libtool/files/libtool-2.4.6-mint.patch   | 49 ++
 ...libtool-.ebuild => libtool-2.4.6-r4.ebuild} | 37 +---
 sys-devel/libtool/libtool-.ebuild  | 24 +--
 6 files changed, 148 insertions(+), 10 deletions(-)

diff --git a/sys-devel/libtool/files/libtool-2.2.10-eprefix.patch 
b/sys-devel/libtool/files/libtool-2.2.10-eprefix.patch
new file mode 100644
index 000..5a2980d2979
--- /dev/null
+++ b/sys-devel/libtool/files/libtool-2.2.10-eprefix.patch
@@ -0,0 +1,11 @@
+--- ./libltdl/m4/libtool.m4.orig   2010-07-02 12:41:07.0 +0200
 ./libltdl/m4/libtool.m42010-07-02 12:45:39.0 +0200
+@@ -2087,7 +2087,7 @@
+ mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
+   $SED 's,/\([[A-Za-z]]:\),\1,g'` ;;
+   esac
+-  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
++  sys_lib_search_path_spec=`$ECHO "@GENTOO_PORTAGE_EPREFIX@/lib 
@GENTOO_PORTAGE_EPREFIX@/usr/lib $lt_search_path_spec" | $lt_NL2SP`
+ else
+   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
+ fi])

diff --git a/sys-devel/libtool/files/libtool-2.2.6a-darwin-module-bundle.patch 
b/sys-devel/libtool/files/libtool-2.2.6a-darwin-module-bundle.patch
new file mode 100644
index 000..c6b63ed3276
--- /dev/null
+++ b/sys-devel/libtool/files/libtool-2.2.6a-darwin-module-bundle.patch
@@ -0,0 +1,24 @@
+In Gentoo Prefix we go by Apple's convention to give modules the .bundle
+extension.
+http://developer.apple.com/documentation/DeveloperTools/Conceptual/XcodeBuildSystem/500-Linking/bs_linking.html
+(Above link was removed by Apple, the link below contains a copy:
+http://disanji.net/iOS_Doc/#documentation/DeveloperTools/Conceptual/XcodeBuildSystem/500-Linking/bs_linking.html,
+in case it disappears also, the relevant quote:
+
+Bundle. Bundles are executable files that can be loaded at runtime by
+other products. Plug-ins are implemented using bundles. The term bundle
+in this context refers to the binary itself, not to a structured
+hierarchy. Bundles have the .bundle extension; for example,
+MyBundle.bundle.)
+
+--- libltdl/m4/libtool.m4
 libltdl/m4/libtool.m4
+@@ -2271,7 +2271,7 @@
+   soname_spec='${libname}${release}${major}$shared_ext'
+   shlibpath_overrides_runpath=yes
+   shlibpath_var=DYLD_LIBRARY_PATH
+-  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
++  shrext_cmds='`test .$module = .yes && echo .bundle || echo .dylib`'
+ m4_if([$1], [],[
+   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"])
+   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'

diff --git 
a/sys-devel/libtool/files/libtool-2.4.6-darwin-use-linux-version.patch 
b/sys-devel/libtool/files/libtool-2.4.6-darwin-use-linux-version.patch
new file mode 100644
index 000..b4409815f8b
--- /dev/null
+++ b/sys-devel/libtool/files/libtool-2.4.6-darwin-use-linux-version.patch
@@ -0,0 +1,13 @@
+* revert old 1.5 behaviour
+
+--- libtool-2.4.6/m4/libtool.m4
 libtool-2.4.6/m4/libtool.m4
+@@ -2272,7 +2272,7 @@
+   version_type=darwin
+   need_lib_prefix=no
+   need_version=no
+-  library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
++  library_names_spec='$libname$release$versuffix$shared_ext 
$libname$release$major$shared_ext $libname$shared_ext'
+   soname_spec='$libname$release$major$shared_ext'
+   shlibpath_overrides_runpath=yes
+   shlibpath_var=DYLD_LIBRARY_PATH

diff --git a/sys-devel/libtool/files/libtool-2.4.6-mint.patch 
b/sys-devel/libtool/files/libtool-2.4.6-mint.patch
new file mode 100644
index 000..341a0f02ef1
--- /dev/null
+++ b/sys-devel/libtool/files/libtool-2.4.6-mint.patch
@@ -0,0 +1,49 @@
+Patch by Alan Hourihane
+
+http://bugs.gentoo.org/show_bug.cgi?id=266984
+
+diff -ur libtool-2.2.6/configure libtool-2.2.6-mint/configure
+--- libtool-2.2.6/configure2008-09-07 17:52:50.0 +
 libtool-2.2.6/configure2009-04-21 08:49:27.0 +
+@@ -4986,6 +4986,11 @@
+ lt_cv_sys_max_cmd_len=8192;
+ ;;
+ 
++  mint*)
++# On MiNT this can take a long time and run out of memory.
++lt_cv_sys_max_cmd_len=8192;
++;;
++
+   amigaos*)
+ # On AmigaOS with pdksh, this test takes hours, literally.
+ # So we just punt and use a minimum line length of 8192.
+diff -ur libtool-2.2.6/libltdl/configure 

[gentoo-commits] repo/gentoo:master commit in: sys-devel/libtool/files/, sys-devel/libtool/

2016-02-13 Thread Mike Frysinger
commit: 5f4225eb727dcd8cc0eebd60620d4b2b160712aa
Author: Mike Frysinger  gentoo  org>
AuthorDate: Sat Feb 13 08:49:22 2016 +
Commit: Mike Frysinger  gentoo  org>
CommitDate: Sat Feb 13 08:51:55 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f4225eb

sys-devel/libtool: add various upstream patches #542252 #573744 #574550

Three sets of fixes here, mostly from upstream:
 - speed up libtool/libtoolize #542252
 - update some set of flags accepted at link time #573744
 - make $SED look up use $PATH at runtime #574550

 .../libtool-2.4.6-libtoolize-delay-help.patch  |  53 
 .../files/libtool-2.4.6-libtoolize-slow.patch  | 118 +
 .../files/libtool-2.4.6-link-fsanitize.patch   |  58 +
 .../libtool/files/libtool-2.4.6-link-fuse-ld.patch |  54 +
 .../libtool/files/libtool-2.4.6-link-specs.patch   |  57 +
 .../files/libtool-2.4.6-sed-quote-speedup.patch| 268 +
 sys-devel/libtool/libtool-2.4.6-r2.ebuild  |  93 +++
 7 files changed, 701 insertions(+)

diff --git a/sys-devel/libtool/files/libtool-2.4.6-libtoolize-delay-help.patch 
b/sys-devel/libtool/files/libtool-2.4.6-libtoolize-delay-help.patch
new file mode 100644
index 000..974cd44
--- /dev/null
+++ b/sys-devel/libtool/files/libtool-2.4.6-libtoolize-delay-help.patch
@@ -0,0 +1,53 @@
+https://lists.gnu.org/archive/html/libtool-patches/2016-02/msg2.html
+
+From 53419307d5b44e5b0cff80d76f88ea02f237b747 Mon Sep 17 00:00:00 2001
+From: Mike Frysinger 
+Date: Sat, 13 Feb 2016 03:32:20 -0500
+Subject: [PATCH] libtoolize: don't execute automake and autoconf on every
+ invocation.
+
+Same fix as applied to libtool in commit 408cfb9c5fa8a666917167ffb806cb
+to delay use of automake/autoconf to when the --help option is actually
+specified.
+
+* libtoolize.in (func_help): Override func_help() from
+gl/build-aux/options-parser to only run automake --version and
+autoconf --version when libtool --help is executed on the command
+line.
+---
+ libtoolize.in | 12 +---
+ 1 file changed, 9 insertions(+), 3 deletions(-)
+
+diff --git a/libtoolize.in b/libtoolize.in
+index 3fe61ce..0d4af3d 100644
+--- a/libtoolize.in
 b/libtoolize.in
+@@ -94,7 +94,12 @@ usage_message="Options:
+ "
+ 
+ # Additional text appended to 'usage_message' in response to '--help'.
+-long_help_message=$long_help_message"
++func_help ()
++{
++$debug_cmd
++
++func_usage_message
++$ECHO "$long_help_message
+'environment'   show warnings about LIBTOOLIZE_OPTIONS content
+'file'  show warnings about file copying and linking
+ 
+@@ -120,8 +125,9 @@ include the following information:
+ 
+ Report bugs to <@PACKAGE_BUGREPORT@>.
+ GNU @PACKAGE@ home page: <@PACKAGE_URL@>.
+-General help using GNU software: .
+-"
++General help using GNU software: ."
++exit 0
++}
+ 
+ warning_categories='environment file'
+ 
+-- 
+2.6.2
+

diff --git a/sys-devel/libtool/files/libtool-2.4.6-libtoolize-slow.patch 
b/sys-devel/libtool/files/libtool-2.4.6-libtoolize-slow.patch
new file mode 100644
index 000..abddee1
--- /dev/null
+++ b/sys-devel/libtool/files/libtool-2.4.6-libtoolize-slow.patch
@@ -0,0 +1,118 @@
+From 351a88feee66eda6ce33eb06acdebb8e9c6d6716 Mon Sep 17 00:00:00 2001
+From: Pavel Raiskup 
+Date: Fri, 18 Sep 2015 23:17:07 +0200
+Subject: [PATCH] libtoolize: fix infinite recursion in m4
+
+Some projects use this construct in configure.ac:
+
+  m4_define([version], m4_include([version]))
+  pkg_version=version
+
+When the m4_include builtin is undefined (as was done in
+libtoolize and extract-trace scripts), the call to this 'version'
+macro enters an infinite recursion (until ENOMEM).  So rather
+re-define all potentially dangerous macros by empty strings,
+suggested by Eric Blake.
+
+While we are on it, merge the macro-"blacklist" with similar list
+implemented in gettext, except for 'm4_esyscmd'.  It's kept
+defined because we already trace AC_INIT macro for package
+version, while it is often specified by
+m4_esyscmd(git-version-gen).  Similarly to m4_include, m4_esyscmd
+might be opt-in-blacklisted in future.
+
+References:
+http://lists.gnu.org/archive/html/libtool/2015-09/msg0.html
+https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=764580
+
+* gl/build-aux/extract-trace (_G_mini): Redefine trace-breaking
+macros to empty strings rather than undefining those.  Use 'dnl'
+for comments.
+* bootstrap: Likewise, sync with extract-trace.
+* NEWS: Document.
+* NO-THANKS: Mention Hiroyuki Sato.
+
+Signed-off-by: Pavel Raiskup 
+---
+ NEWS   |  4 
+ NO-THANKS  |  1 +
+ bootstrap  | 42 +++---
+ gl/build-aux/extract-trace | 42 +++---
+ 4 files changed, 59 insertions(+), 30 deletions(-)
+
+diff --git