summaryrefslogtreecommitdiffstats
path: root/system/flashcards/flashcards.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/flashcards/flashcards.SlackBuild')
-rw-r--r--system/flashcards/flashcards.SlackBuild6
1 files changed, 6 insertions, 0 deletions
diff --git a/system/flashcards/flashcards.SlackBuild b/system/flashcards/flashcards.SlackBuild
index 73fd70a471..16b56a16bb 100644
--- a/system/flashcards/flashcards.SlackBuild
+++ b/system/flashcards/flashcards.SlackBuild
@@ -69,6 +69,12 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+# 20200117 bkw: this has apparently been broken for a LONG time. It
+# complains that there's no "distribution" called argparse... but
+# argparse ships with Slackware. Also, application fails to start if
+# $HOME/Documents doesn't already exist. Patch fixes both issues.
+patch -p1 < $CWD/fixes.diff
+
python setup.py install --root=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \