[arch-commits] Commit in lib32-libltdl/trunk (PKGBUILD no_hostname.patch)

Jan Steffens heftig at gemini.archlinux.org
Thu Mar 17 20:55:07 UTC 2022


    Date: Thursday, March 17, 2022 @ 20:55:07
  Author: heftig
Revision: 1157061

2.4.7-1

Added:
  lib32-libltdl/trunk/no_hostname.patch
Modified:
  lib32-libltdl/trunk/PKGBUILD

-------------------+
 PKGBUILD          |   31 +++++++++++++++++--------------
 no_hostname.patch |   12 ++++++++++++
 2 files changed, 29 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-03-17 20:54:48 UTC (rev 1157060)
+++ PKGBUILD	2022-03-17 20:55:07 UTC (rev 1157061)
@@ -1,4 +1,7 @@
-# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
+# Contributor: Giancarlo Razzolini <grazzolini at archlinux.org>
+# Contributor: Frederik Schwan <freswa at archlinux dot org>
+# Contributor: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
 # Contributor: Allan McRae <allan at archlinux.org>
 # Contributor: judd <jvinet at zeroflux.org>
 
@@ -5,9 +8,9 @@
 # NOTE: requires rebuilt with each new gcc version
 
 pkgname=lib32-libltdl
-pkgver=2.4.6+42+gb88cebd5
+pkgver=2.4.7
 pkgrel=1
-_gccver=8.2.1
+_gccver=11.2.0
 pkgdesc='A generic library support script (32-bit)'
 arch=(x86_64)
 url='https://www.gnu.org/software/libtool'
@@ -15,17 +18,20 @@
 groups=(multilib-devel)
 depends=(sh tar lib32-glibc libtool)
 makedepends=("gcc>=$_gccver" git help2man)
-checkdepends=(gcc-fortran)
+checkdepends=()
 provides=("lib32-libtool=$pkgver")
-conflicts=('lib32-libtool')
-replaces=('lib32-libtool')
-_commit=b88cebd510add4420dd8f5367e3cc6e6e1f267cd
+conflicts=(lib32-libtool)
+replaces=(lib32-libtool)
+options=(debug)
+_commit=6d7ce133ce54898cf28abd89d167cccfbc3c9b2b
 source=(git+https://git.savannah.gnu.org/git/libtool.git#commit=$_commit
         git+https://git.savannah.gnu.org/git/gnulib.git
-        gnulib-bootstrap::git+https://github.com/gnulib-modules/bootstrap.git)
+        gnulib-bootstrap::git+https://github.com/gnulib-modules/bootstrap.git
+        no_hostname.patch)
 sha256sums=('SKIP'
             'SKIP'
-            'SKIP')
+            'SKIP'
+            '693aabb24a6e7ce21fe0b5d14394e19edcb8476663b5afa4463f9fa0df24d946')
 
 pkgver() {
   cd libtool
@@ -35,6 +41,8 @@
 prepare() {
   cd libtool
 
+  patch -Np1 -i ${srcdir}/no_hostname.patch
+
   git submodule init
   git config --local submodule.gnulib.url "$srcdir/gnulib"
   git config --local submodule.gl-mod/bootstrap.url "$srcdir/gnulib-bootstrap"
@@ -51,11 +59,6 @@
   make
 }
 
-check() {
-  cd libtool
-  make check gl_public_submodule_commit= || :
-}
-
 package() {
   cd libtool
   make DESTDIR="$pkgdir" install-libLTLIBRARIES

Added: no_hostname.patch
===================================================================
--- no_hostname.patch	                        (rev 0)
+++ no_hostname.patch	2022-03-17 20:55:07 UTC (rev 1157061)
@@ -0,0 +1,12 @@
+Index: libtool-2.4.6/m4/libtool.m4
+===================================================================
+--- libtool-2.4.6.orig/m4/libtool.m4
++++ libtool-2.4.6/m4/libtool.m4
+@@ -728,7 +728,6 @@ _LT_CONFIG_SAVE_COMMANDS([
+     cat <<_LT_EOF >> "$cfgfile"
+ #! $SHELL
+ # Generated automatically by $as_me ($PACKAGE) $VERSION
+-# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
+ # NOTE: Changes made to this file will be lost: look at ltmain.sh.
+ 
+ # Provide generalized library-building support services.



More information about the arch-commits mailing list