summaryrefslogtreecommitdiff
path: root/source/l/libical/libical.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/l/libical/libical.SlackBuild')
-rwxr-xr-xsource/l/libical/libical.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/l/libical/libical.SlackBuild b/source/l/libical/libical.SlackBuild
index 85589cc7..64225acc 100755
--- a/source/l/libical/libical.SlackBuild
+++ b/source/l/libical/libical.SlackBuild
@@ -86,13 +86,13 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \+
-zcat $CWD/libical.true.false.diff.gz | patch -p1 --verbose || exit 1
+# -DU_DEFINE_FALSE_AND_TRUE=1 since recent icu4c no longer defines these otherwise.
mkdir build
cd build
cmake \
- -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS -DU_DEFINE_FALSE_AND_TRUE=1" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -DU_DEFINE_FALSE_AND_TRUE=1" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DMAN_INSTALL_DIR=/usr/man \
-DSYSCONF_INSTALL_DIR=/etc \