diff options
Diffstat (limited to 'sys-devel/libtool/files')
10 files changed, 0 insertions, 385 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 deleted file mode 100644 index c4693ee7..00000000 --- a/sys-devel/libtool/files/libtool-2.2.10-eprefix.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/m4/libtool.m4 -+++ b/m4/libtool.m4 -@@ -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 deleted file mode 100644 index 81364d4d..00000000 --- a/sys-devel/libtool/files/libtool-2.2.6a-darwin-module-bundle.patch +++ /dev/null @@ -1,24 +0,0 @@ -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.) - ---- 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`' -+ 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.3-use-linux-version-in-fbsd.patch b/sys-devel/libtool/files/libtool-2.4.3-use-linux-version-in-fbsd.patch deleted file mode 100644 index aa1e8706..00000000 --- a/sys-devel/libtool/files/libtool-2.4.3-use-linux-version-in-fbsd.patch +++ /dev/null @@ -1,38 +0,0 @@ -Force linux-style versioning when generating shared libraries on -Gentoo/FreeBSD hosts only. - -Patch by Diego Elio Pettenò - -http://bugs.gentoo.org/109105 - ---- a/m4/libtool.m4 -+++ b/m4/libtool.m4 -@@ -2666,7 +2666,14 @@ - *) objformat=elf ;; - esac - fi -- version_type=freebsd-$objformat -+ # Handle Gentoo/FreeBSD as it was Linux -+ case $host_vendor in -+ gentoo) -+ version_type=linux ;; -+ *) -+ version_type=freebsd-$objformat ;; -+ esac -+ - case $version_type in - freebsd-elf*) - 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) -+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' -+ soname_spec='${libname}${release}${shared_ext}$major' -+ need_lib_prefix=no -+ need_version=no -+ ;; - esac - shlibpath_var=LD_LIBRARY_PATH - case $host_os in 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 deleted file mode 100644 index aded3049..00000000 --- a/sys-devel/libtool/files/libtool-2.4.6-darwin-use-linux-version.patch +++ /dev/null @@ -1,13 +0,0 @@ -* revert old 1.5 behaviour - ---- a/m4/libtool.m4 -+++ b/m4/libtool.m4 -@@ -2641,7 +2641,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 deleted file mode 100644 index 4fe5bced..00000000 --- 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/files/libtool-2.4.6-ppc64le.patch b/sys-devel/libtool/files/libtool-2.4.6-ppc64le.patch deleted file mode 100644 index 78d86c72..00000000 --- a/sys-devel/libtool/files/libtool-2.4.6-ppc64le.patch +++ /dev/null @@ -1,111 +0,0 @@ -From 020afd7d6410f73bc205206abe1b88b4890b83b1 Mon Sep 17 00:00:00 2001 -From: Leno Hou <lenohou@gmail.com> -Date: Sun, 24 Apr 2016 00:46:53 +0800 -Subject: [PATCH] [m4/libtool.m4] linker error for powerpc64le-unknown-linux-gnu - -Hi all, - - 1) As we might know, Gentoo has powerpc64le-unknown-linux-gnu compiler - -leno@localhost ~ $ powerpc64le-unknown-linux-gnu-gcc -v - -Using built-in specs. - -COLLECT_GCC=/usr/powerpc64le-unknown-linux-gnu/gcc-bin/5.3.0/powerpc64le-unknown-linux-gnu-gcc - -COLLECT_LTO_WRAPPER=/usr/libexec/gcc/powerpc64le-unknown-linux-gnu/5.3.0/lto-wrapper - -Target: powerpc64le-unknown-linux-gnu - -Configured with: -/var/tmp/portage/sys-devel/gcc-5.3.0/work/gcc-5.3.0/configure ---host=powerpc64le-unknown-linux-gnu --build=powerpc64le-unknown-linux-gnu ---prefix=/usr --bindir=/usr/powerpc64le-unknown-linux-gnu/gcc-bin/5.3.0 ---includedir=/usr/lib/gcc/powerpc64le-unknown-linux-gnu/5.3.0/include ---datadir=/usr/share/gcc-data/powerpc64le-unknown-linux-gnu/5.3.0 ---mandir=/usr/share/gcc-data/powerpc64le-unknown-linux-gnu/5.3.0/man ---infodir=/usr/share/gcc-data/powerpc64le-unknown-linux-gnu/5.3.0/info ---with-gxx-include-dir=/usr/lib/gcc/powerpc64le-unknown-linux-gnu/5.3.0/include/g++-v5 ---with-python-dir=/share/gcc-data/powerpc64le-unknown-linux-gnu/5.3.0/python ---enable-languages=c,c++,fortran --enable-obsolete --enable-secureplt ---disable-werror --with-system-zlib --enable-nls --without-included-gettext ---enable-checking=release --with-bugurl=https://bugs.gentoo.org/ ---with-pkgversion='Gentoo 5.3.0 p1.0, pie-0.6.5' --enable-libstdcxx-time ---enable-shared --enable-threads=posix --enable-__cxa_atexit ---enable-clocale=gnu --disable-multilib --enable-altivec ---disable-fixed-point --enable-targets=all --disable-libgcj ---enable-libgomp --disable-libmudflap --disable-libssp --disable-libcilkrts ---enable-lto --without-isl --enable-libsanitizer - -Thread model: posix - -gcc version 5.3.0 (Gentoo 5.3.0 p1.0, pie-0.6.5) - - 2) And the supported emulations - -leno@localhost ~ $ powerpc64le-unknown-linux-gnu-ld -V -GNU ld (Gentoo 2.25.1 p1.1) 2.25.1 - Supported emulations: - elf64lppc - elf32lppc - elf32lppclinux - elf32lppcsim - - 3) But when I set CHOST="powerpc64le-unkown-linux-gnu" in Gentoo and -execute aclocal, automake, libtoolize --copy --force, autoconf. When I -glance in the latest m4/libtool.m4 : - -if AC_TRY_EVAL(ac_compile); then - case `/usr/bin/file conftest.o` in - *32-bit*) - case $host in -... - powerpc64le-*linux*) - LD="${LD-ld} -m elf32lppclinux" - ;; - powerpc64-*linux*) - LD="${LD-ld} -m elf32ppclinux" - ;; -... - *64-bit*) - case $host in -... - powerpcle-*linux*) - LD="${LD-ld} -m elf64lppc" - ;; - powerpc-*linux*) - LD="${LD-ld} -m elf64ppc" - ;; -... - -seems linked to $LD='$LD-ld -m elf64ppc' and failed to compile packages. - - 4) Below is my workaround patch and works fine for this case. If this is -OK for you, Could this to be merged in upstream? Thanks - -URL: https://debbugs.gnu.org/23348 -URL: https://bugs.gentoo.org/581314 ---- - m4/libtool.m4 | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/m4/libtool.m4 b/m4/libtool.m4 -index ee292aff5bca..758b6951ae07 100644 ---- a/m4/libtool.m4 -+++ b/m4/libtool.m4 -@@ -1417,10 +1417,10 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux*) - x86_64-*linux*) - LD="${LD-ld} -m elf_x86_64" - ;; -- powerpcle-*linux*) -+ powerpcle-*linux*|powerpc64le-*linux*) - LD="${LD-ld} -m elf64lppc" - ;; -- powerpc-*linux*) -+ powerpc-*linux*|powerpc64-*linux*) - LD="${LD-ld} -m elf64ppc" - ;; - s390*-*linux*|s390*-*tpf*) --- -2.11.1 - diff --git a/sys-devel/libtool/files/libtool-2.4.6-pthread.patch b/sys-devel/libtool/files/libtool-2.4.6-pthread.patch deleted file mode 100644 index 49b81c1d..00000000 --- a/sys-devel/libtool/files/libtool-2.4.6-pthread.patch +++ /dev/null @@ -1,43 +0,0 @@ -http://permalink.gmane.org/gmane.comp.gnu.libtool.patches/11704 -https://bugs.gentoo.org/650876 - -From: Pavel Raiskup <praiskup <at> redhat.com> -Subject: [PATCH] libtool: handle the -pthread{,s} options for g++ -Newsgroups: gmane.comp.gnu.libtool.patches -Date: Thursday 28th November 2013 14:18:05 UTC (over 4 years ago) - -As we are forced to pass -nostdlib to g++ for linking, this option -expectedly disables the effectiveness of passed -pthread flag - so -add the -lpthread explicitly to $deplibs to link correctly. - -References: -http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25460 -https://bugzilla.redhat.com/show_bug.cgi?id=661333 -http://lists.gnu.org/archive/html/bug-libtool/2013-01/msg00018.htm - -* build-aux/ltmain.in (func_mode_link): Explicitly add -lpthread -flag into $deplibs when -pthread is passed (for g++ only). ---- - build-aux/ltmain.in | 10 ++++++++++ - 1 file changed, 10 insertions(+) - -diff --git a/build-aux/ltmain.in b/build-aux/ltmain.in -index fba05c1..f202b80 100644 ---- a/build-aux/ltmain.in -+++ b/build-aux/ltmain.in -@@ -5113,6 +5113,16 @@ func_mode_link () - *" $arg "*) ;; - * ) func_append new_inherited_linker_flags " $arg" ;; - esac -+ -+ # As we are forced to pass -nostdlib to g++ during linking, the option -+ # -pthread{,s} is not in effect; add the -lpthread to $deplist -+ # explicitly to link correctly. -+ if test "$tagname" = CXX -a x"$with_gcc" = xyes; then -+ case "$arg" in -+ -pthread*) func_append deplibs " -lpthread" ;; -+ esac -+ fi -+ - continue - ;; diff --git a/sys-devel/libtool/files/libtool-2.4.6-pthread_bootstrapped.patch b/sys-devel/libtool/files/libtool-2.4.6-pthread_bootstrapped.patch deleted file mode 100644 index b093d742..00000000 --- a/sys-devel/libtool/files/libtool-2.4.6-pthread_bootstrapped.patch +++ /dev/null @@ -1,21 +0,0 @@ -https://bugs.gentoo.org/650876 - ---- a/build-aux/ltmain.sh -+++ b/build-aux/ltmain.sh -@@ -7127,6 +7127,16 @@ - *" $arg "*) ;; - * ) func_append new_inherited_linker_flags " $arg" ;; - esac -+ -+ # As we are forced to pass -nostdlib to g++ during linking, the option -+ # -pthread{,s} is not in effect; add the -lpthread to $deplist -+ # explicitly to link correctly. -+ if test "$tagname" = CXX -a x"$with_gcc" = xyes; then -+ case "$arg" in -+ -pthread*) func_append deplibs " -lpthread" ;; -+ esac -+ fi -+ - continue - ;; - diff --git a/sys-devel/libtool/files/libtool-2.4.7-grep-3.8.patch b/sys-devel/libtool/files/libtool-2.4.7-grep-3.8.patch deleted file mode 100644 index 8f1de478..00000000 --- a/sys-devel/libtool/files/libtool-2.4.7-grep-3.8.patch +++ /dev/null @@ -1,31 +0,0 @@ -https://bugs.gentoo.org/892635 -https://lists.gnu.org/archive/html/libtool-patches/2022-12/msg00004.html - -From 414deacee0f564afdf2d7750450274c581330a59 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20B=C3=A9rat?= <fberat@redhat.com> -Date: Wed, 21 Dec 2022 13:14:03 +0100 -Subject: [PATCH] tests: Fix grep warning about stray \ before / - -Recent version of grep emit a warning if stray \ is found before /. -This leads to the link-order test failure. - - * tests/link-order.at: Remove unneeded \ before / ---- a/tests/link-order.at -+++ b/tests/link-order.at -@@ -99,12 +99,12 @@ aix* | interix*) ;; # These systems have different path syntax - case $hardcode_direct$hardcode_direct_absolute in - yesno) - AT_CHECK([if $EGREP relinking stderr; then -- $EGREP " .*\/new\/lib/libb$shared_ext .*\/old\/lib/libcee$shared_ext" stdout -+ $EGREP " .*/new/lib/libb$shared_ext .*/old/lib/libcee$shared_ext" stdout - else :; fi], [0], [ignore], [], [echo "wrong link order"]) - ;; - *) - AT_CHECK([if $EGREP relinking stderr; then -- $EGREP " -L.*\/new\/lib -lb -L.*\/old\/lib -lcee" stdout -+ $EGREP " -L.*/new/lib -lb -L.*/old/lib -lcee" stdout - else :; fi], [0], [ignore], [], [echo "wrong link order"]) - ;; - esac --- -2.38.1 diff --git a/sys-devel/libtool/files/libtool-2.4.7-werror-lto.patch b/sys-devel/libtool/files/libtool-2.4.7-werror-lto.patch deleted file mode 100644 index c0db69f3..00000000 --- a/sys-devel/libtool/files/libtool-2.4.7-werror-lto.patch +++ /dev/null @@ -1,47 +0,0 @@ -https://lists.gnu.org/archive/html/libtool-patches/2022-12/msg00000.html - -From d72817b1ee5d7b666bf30b0234e32423252d6ad8 Mon Sep 17 00:00:00 2001 -From: Sam James <sam@gentoo.org> -Date: Sat, 10 Dec 2022 02:00:22 +0000 -Subject: [PATCH] Allow -Werror and -Werror=* through flag filtering - -* build-aux/ltmain.in (func_mode_link): allow -Werror and -Werror=* through - flat filtering at link time. - - This is needed for detecting likely-runtime problems with LTO using - e.g. -Werror=odr or -Werror=lto-type-mismatch. - -Bug: https://bugs.gentoo.org/884767 -Signed-off-by: Sam James <sam@gentoo.org> ---- a/build-aux/ltmain.in -+++ b/build-aux/ltmain.in -@@ -5408,10 +5408,11 @@ func_mode_link () - # -fsanitize=* Clang/GCC memory and address sanitizer - # -fuse-ld=* Linker select flags for GCC - # -Wa,* Pass flags directly to the assembler -+ # -Werror, -Werror=* Report (specified) warnings as errors - -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \ - -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \ - -O*|-g*|-flto*|-fwhopr*|-fuse-linker-plugin|-fstack-protector*|-stdlib=*| \ -- -specs=*|-fsanitize=*|-fuse-ld=*|-Wa,*) -+ -specs=*|-fsanitize=*|-fuse-ld=*|-Wa,*|-Werror|-Werror=*) - func_quote_arg pretty "$arg" - arg=$func_quote_arg_result - func_append compile_command " $arg" ---- a/build-aux/ltmain.sh -+++ a/build-aux/ltmain.sh -@@ -5408,10 +5408,11 @@ func_mode_link () - # -fsanitize=* Clang/GCC memory and address sanitizer - # -fuse-ld=* Linker select flags for GCC - # -Wa,* Pass flags directly to the assembler -+ # -Werror, -Werror=* Report (specified) warnings as errors - -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \ - -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \ - -O*|-g*|-flto*|-fwhopr*|-fuse-linker-plugin|-fstack-protector*|-stdlib=*| \ -- -specs=*|-fsanitize=*|-fuse-ld=*|-Wa,*) -+ -specs=*|-fsanitize=*|-fuse-ld=*|-Wa,*|-Werror|-Werror=*) - func_quote_arg pretty "$arg" - arg=$func_quote_arg_result - func_append compile_command " $arg" --- -2.38.1 |