aboutsummaryrefslogtreecommitdiff
path: root/academic/meep
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2023-07-19 17:55:44 +0900
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-07-22 15:52:46 +0700
commitd7504fa3adf62717a2bd21775b5e75a65a77b31a (patch)
tree1470cfe71a68f5915c022a605dfd76b6a6993acb /academic/meep
parentd4da6b20f86bb483120d1b30fc7eeb0895e4bd8a (diff)
academic/meep: Fix 32bit build.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic/meep')
-rw-r--r--academic/meep/i386-fix.patch.gzbin0 -> 607 bytes
-rw-r--r--academic/meep/meep.SlackBuild4
2 files changed, 4 insertions, 0 deletions
diff --git a/academic/meep/i386-fix.patch.gz b/academic/meep/i386-fix.patch.gz
new file mode 100644
index 0000000000000..c5572c316cab5
--- /dev/null
+++ b/academic/meep/i386-fix.patch.gz
Binary files differ
diff --git a/academic/meep/meep.SlackBuild b/academic/meep/meep.SlackBuild
index 332625b8b0654..629d20e14d140 100644
--- a/academic/meep/meep.SlackBuild
+++ b/academic/meep/meep.SlackBuild
@@ -77,6 +77,10 @@ cd $TMP
rm -rf $PRGNAM-$SVERSION
tar xvf $CWD/$PRGNAM-$SVERSION.tar.gz
cd $PRGNAM-$SVERSION
+# patch 32bit build - thanks debian devs
+case "$ARCH" in
+ i?86) zcat $CWD/i386-fix.patch.gz | patch -p1 ;;
+esac
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \