Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=multilib.git;a=commitdiff;h=f528ea9aaad94c913e424755ff23a593bb2b1da0

commit f528ea9aaad94c913e424755ff23a593bb2b1da0
Author: crazy <cr...@frugalware.org>
Date:   Sun Oct 16 20:40:07 2016 +0200

pacman-g2-3.9.2-9-x86_64
* added patch for 32bit strip PATHs

diff --git a/source/base/pacman-g2/FrugalBuild 
b/source/base/pacman-g2/FrugalBuild
index 7325651..beebd8e 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=8
+pkgrel=9
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)
@@ -40,8 +40,9 @@ if ! Fuse $USE_DEVEL; then
0004-makepkg.patch \
0001-workaround-LDFLAGS-mess-here.patch \
0002-remove-duplicated-check.patch \
-       0001-workaround-some-issues-with-up2date-checking.patch)
-       signatures=("$source.asc" '' '' '' '' '' '' '' '' '')
+       0001-workaround-some-issues-with-up2date-checking.patch \
+       strip-multilib.patch)
+       signatures=("$source.asc" '' '' '' '' '' '' '' '' '' '')
else
_F_scm_type="git"
_F_scm_url="git://git.frugalware.org/pub/other/pacman-g2/pacman-g2"
diff --git a/source/base/pacman-g2/strip-multilib.patch 
b/source/base/pacman-g2/strip-multilib.patch
new file mode 100644
index 0000000..05740ba
--- /dev/null
+++ b/source/base/pacman-g2/strip-multilib.patch
@@ -0,0 +1,20 @@
+diff -Naur pacman-g2-3.9.2/scripts/makepkg 
pacman-g2-3.9.2-strip/scripts/makepkg
+--- pacman-g2-3.9.2/scripts/makepkg    2016-10-16 20:07:36.199206578 +0200
++++ pacman-g2-3.9.2-strip/scripts/makepkg      2016-10-16 20:28:42.268225344 
+0200
+@@ -586,12 +586,12 @@
+               subpkg="subpackage "
+       fi
+       if [ ! "`check_option NOSTRIP`" -a "$NOSTRIP" = "0" ]; then
+-              msg "Stripping debugging symbols from libraries from 
$subpkg$1..."
+-              find $dir/{,usr,usr/local,opt/*}/lib -type f -not -name "*.dll" 
-not -name "*.exe" \
+-                      -exec /usr/bin/strip --strip-debug '{}' \; 2>&1 \
++              msg "Stripping symbols from libraries from $subpkg$1..."
++              find $dir/{,usr,usr/local,opt/*}/{lib,lib32} -type f -not -name 
"*.dll" -not -name "*.exe" \
++                      -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,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" \
+                       -exec /usr/bin/strip '{}' \; 2>&1 \
+                       | grep -v "No such file" | grep -v "format not 
recognized"
+       fi
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to