aboutsummaryrefslogtreecommitdiff
path: root/multimedia/aegisub/aegisub.SlackBuild
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-02-18 19:21:30 +0100
committerRobby Workman <rworkman@slackbuilds.org>2021-04-17 23:06:19 -0500
commit9bb325293fb1b03112adc5ad294ac427b507732c (patch)
tree5d4ff51d5eb0dfa05a3d8bb1bb57f16e9cd7d0ae /multimedia/aegisub/aegisub.SlackBuild
parentd61d744e2075f3211a550bb4c2261bdf074d1c27 (diff)
multimedia/aegisub: Fix build with the newer boost, icu4c and make.
Thanks to KG Hammarlund for pointing at the make patch Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'multimedia/aegisub/aegisub.SlackBuild')
-rw-r--r--multimedia/aegisub/aegisub.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/multimedia/aegisub/aegisub.SlackBuild b/multimedia/aegisub/aegisub.SlackBuild
index 0bdf6b18bb70f..cc3600c6c8596 100644
--- a/multimedia/aegisub/aegisub.SlackBuild
+++ b/multimedia/aegisub/aegisub.SlackBuild
@@ -69,10 +69,13 @@ 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 's/$(LIBS_BOOST) $(LIBS_ICU)/$(LIBS_BOOST) $(LIBS_ICU) -pthread/' -i tools/Makefile
+for i in $CWD/patches/* ; do patch -p1 < $i ; done
+sed 's|gil/gil_all.hpp|gil.hpp|g' -i src/*.cpp # boost 1.69
+sed 's/$(LIBS_BOOST) $(LIBS_ICU)/$(LIBS_BOOST) $(LIBS_ICU) -pthread/' -i tools/Makefile # missing link flag
LDFLAGS="$LDFLAGS -lz" \
CFLAGS="$SLKCFLAGS" \
+CPPFLAGS+=' -DU_USING_ICU_NAMESPACE=1' \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \