summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Trigona-Harany <bosth@alumni.sfu.ca>2018-05-18 22:14:42 -0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-05-26 06:59:34 +0700
commit23f9b277298279787d4d5e3e5bc120fbc4b44ddd (patch)
tree89a5390b3a22762046c0d09df8f5841394c2375d
parentc4a07418b5178e68ec740459f262fd3ba6f219f0 (diff)
downloadslackbuilds-23f9b277298279787d4d5e3e5bc120fbc4b44ddd.tar.gz
academic/ITK: Add missing header file.
Without this change, GDAL will not build. Signed-off-by: Benjamin Trigona-Harany <bosth@alumni.sfu.ca>
-rw-r--r--academic/ITK/ITK.SlackBuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/academic/ITK/ITK.SlackBuild b/academic/ITK/ITK.SlackBuild
index 325c088efb..70289ee57e 100644
--- a/academic/ITK/ITK.SlackBuild
+++ b/academic/ITK/ITK.SlackBuild
@@ -73,6 +73,8 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
sed -i "s/lib\b/lib${LIBDIRSUFFIX}/" CMakeLists.txt
+sed -i "s|/opj_config.h|& \$\{CMAKE_CURRENT_BINARY_DIR\}/openjpeg_mangle.h|" \
+ Modules/ThirdParty/GDCM/src/gdcm/Utilities/gdcmopenjpeg/src/lib/openjp2/CMakeLists.txt
mkdir -p build
cd build