summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2019-11-10 13:53:20 +0000
committer Eric Hameleers <alien@slackware.com>2019-11-10 13:53:20 +0000
commit9d2ed4fbbd86f805993606eeba38fcbd70395cce (patch)
tree5384d298ce89e815cffcb80a0b6e5483349204b5
parent92f6dd02c55ba698d726555978119afe7c0fcdfe (diff)
downloadmultilib-9d2ed4fbbd86f805993606eeba38fcbd70395cce.tar.gz
multilib-9d2ed4fbbd86f805993606eeba38fcbd70395cce.tar.xz
convertpkg-compat32: keep /usr/include/libunwind-x86.h in the converted package which allows mesa 32bit to be compiled on a multilib system
-rwxr-xr-xsource/compat32-tools/convertpkg-compat328
1 files changed, 4 insertions, 4 deletions
diff --git a/source/compat32-tools/convertpkg-compat32 b/source/compat32-tools/convertpkg-compat32
index b0f8989..b6cc2b8 100755
--- a/source/compat32-tools/convertpkg-compat32
+++ b/source/compat32-tools/convertpkg-compat32
@@ -186,10 +186,10 @@ fi
# Stuff we need to keep, we move into KDEP/ and move it back later:
mkdir KEEP
-if [ "$PKGNAM" = "mesa" ];
-then
- cp -a --parents usr/share/vulkan/icd.d KEEP/
-fi
+case "$PKGNAM" in
+ "mesa") cp -a --parents usr/share/vulkan/icd.d KEEP/ ;;
+ "libunwind") cp -a --parents usr/include/libunwind-x86.h KEEP/ ;;
+esac
# Remove stuff we only want from the 64-bit package:
if [ "$PKGNAM" = "gtk+2" -o "$PKGNAM" = "gtk+3" -o "$PKGNAM" = "gdk-pixbuf2" -o "$PKGNAM" = "pango" ];