summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Matteo Bernardini <ponce@slackbuilds.org>2018-07-29 19:48:55 +0200
committer Robby Workman <rworkman@slackbuilds.org>2021-04-17 23:53:48 -0500
commit694eae0e4f929a83d7319cebbfc7a6eddbe8cab3 (patch)
tree9cadf44fb1414236fcaabda3b4b3b38626c03f1c
parent7e082c49802d0cec73691e023c03245e4a260f0e (diff)
downloadslackbuilds-694eae0e4f929a83d7319cebbfc7a6eddbe8cab3.tar.gz
slackbuilds-694eae0e4f929a83d7319cebbfc7a6eddbe8cab3.tar.xz
libraries/podofo: Patch to bypass a cmake error.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
-rw-r--r--libraries/podofo/podofo.SlackBuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/libraries/podofo/podofo.SlackBuild b/libraries/podofo/podofo.SlackBuild
index 2a4d4b5002..8fcc29e4ff 100644
--- a/libraries/podofo/podofo.SlackBuild
+++ b/libraries/podofo/podofo.SlackBuild
@@ -69,6 +69,8 @@ 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 {} \;
+sed -i "s/BINARY_DIR}\/objects\"/BINARY_DIR}\/objects\" || true/" test/TokenizerTest/CMakeLists.txt
+
# Fix mandir directory.
sed -i 's|share/man|man|' CMakeLists.txt
# Ref: https://sourceforge.net/p/podofo/tickets/28/