Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=multilib.git;a=commitdiff;h=4453da2066adafb551e04de773abae66e4bb7b52
commit 4453da2066adafb551e04de773abae66e4bb7b52 Author: crazy <[email protected]> Date: Sat Oct 22 09:16:22 2016 +0200 pacman-g2-3.9.2-11-x86_64 * added strip fix from git diff --git a/source/base/pacman-g2/FrugalBuild b/source/base/pacman-g2/FrugalBuild index 595c5d4..c7cd4bc 100644 --- a/source/base/pacman-g2/FrugalBuild +++ b/source/base/pacman-g2/FrugalBuild @@ -9,7 +9,7 @@ USE_MINIMAL=${USE_MINIMAL:-"n"} pkgname=pacman-g2 pkgver=3.9.2 Fuse $USE_DEVEL && pkgver=3.8.1.18.gc254053 -pkgrel=10 +pkgrel=11 pkgdesc="A .tar.xz based package manager library (libpacman) and client (pacman-g2) with dependency support." url="http://ftp.frugalware.org/pub/other/pacman-g2/" backup=(etc/{makepkg,pacman-g2}.conf etc/pacman-g2/repos/frugalware-current) @@ -41,8 +41,8 @@ if ! Fuse $USE_DEVEL; then 0001-workaround-LDFLAGS-mess-here.patch \ 0002-remove-duplicated-check.patch \ 0001-workaround-some-issues-with-up2date-checking.patch \ - strip-multilib.patch) - signatures=("$source.asc" '' '' '' '' '' '' '' '' '' '') + strip-multilib.patch strip-2-multilib.patch) + signatures=("$source.asc" '' '' '' '' '' '' '' '' '' '' '') else _F_scm_type="git" _F_scm_url="git://git.frugalware.org/pub/other/pacman-g2/pacman-g2" @@ -78,7 +78,7 @@ build() Fautoreconf Fbuild_mono fi - make check + Fexec make check } # optimization OK diff --git a/source/base/pacman-g2/strip-2-multilib.patch b/source/base/pacman-g2/strip-2-multilib.patch new file mode 100644 index 0000000..43b5454 --- /dev/null +++ b/source/base/pacman-g2/strip-2-multilib.patch @@ -0,0 +1,17 @@ +diff -Naur pacman-g2-3.9.2/scripts/makepkg pacman-g2-3.9.2-strip2/scripts/makepkg +--- pacman-g2-3.9.2/scripts/makepkg 2016-10-22 08:30:15.175212510 +0200 ++++ pacman-g2-3.9.2-strip2/scripts/makepkg 2016-10-22 08:32:33.083214555 +0200 +@@ -587,11 +587,11 @@ + fi + if [ ! "`check_option NOSTRIP`" -a "$NOSTRIP" = "0" ]; then + msg "Stripping symbols from libraries from $subpkg$1..." +- find $dir/{,usr,usr/local,opt/*}/{lib,lib32} -type f -not -name "*.dll" -not -name "*.exe" \ ++ find $dir/{,usr,usr/local,opt/*}/{lib,lib32} -type f -not -name "*.dll" -not -name "*.exe" -not -name "*.a" -not -name "*.o" \ + -exec /usr/bin/strip -s '{}' \; 2>&1 \ + | grep -v "No such file" | grep -v "format not recognized" + msg "Stripping symbols from binaries from $subpkg$p..." +- find $dir/{,usr,usr/local,usr/i686-frugalware-linux,opt/*}/{bin,sbin} -type f -not -name "*.dll" -not -name "*.exe" \ ++ find $dir/{,usr,usr/local,usr/i686-frugalware-linux,opt/*}/{bin,sbin} -type f -not -name "*.dll" -not -name "*.exe" -not -name "*.a" -not -name "*.o" \ + -exec /usr/bin/strip '{}' \; 2>&1 \ + | grep -v "No such file" | grep -v "format not recognized" + fi _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
