diff options
author | Benjamin Trigona-Harany <slackbuilds@jaxartes.net> | 2019-11-06 19:15:00 -0800 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2019-11-09 12:51:16 +0700 |
commit | 281c6f1f84969601efda9a27e76ec4d6d07651a1 (patch) | |
tree | 35eb925e5d8c229f1a0bbb2290ca86f8541fccce /gis/OTB/OTB.SlackBuild | |
parent | d7090aa74910aa216154db9430d76e4ac3fdb08b (diff) |
gis/OTB: Updated for version 6.6.2.
Signed-off-by: Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
Diffstat (limited to 'gis/OTB/OTB.SlackBuild')
-rw-r--r-- | gis/OTB/OTB.SlackBuild | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/gis/OTB/OTB.SlackBuild b/gis/OTB/OTB.SlackBuild index 848838672de5e..a46f312b8b69e 100644 --- a/gis/OTB/OTB.SlackBuild +++ b/gis/OTB/OTB.SlackBuild @@ -2,7 +2,7 @@ # SlackBuild script for OTB -# Copyright 2014-2018 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> +# Copyright 2014-2019 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> # All rights reserved. # # Redistribution and use in source and binary forms, with or without @@ -25,7 +25,7 @@ # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=OTB -VERSION=${VERSION:-6.6.1} +VERSION=${VERSION:-6.6.2} BUILD=${BUILD:-2} TAG=${TAG:-_SBo} @@ -77,6 +77,11 @@ sed -i "s/lib\b/lib${LIBDIRSUFFIX}/" \ CMake/OTBStandaloneModuleMacros.cmake \ CMake/OTBApplicationMacros.cmake \ CMake/CPackFunctions.cmake +sed -i '1i\using namespace std;' \ + Modules/ThirdParty/OssimPlugins/src/gdal/*.cpp \ + Modules/ThirdParty/OssimPlugins/src/ossim/*.{h,cpp} \ + Modules/ThirdParty/OssimPlugins/src/ossim/otb/*.cpp \ + Modules/Adapters/OSSIMAdapters/src/*.cxx MONTEVERDI=${MONTEVERDI:-OFF} BUILD_MONTEVERDI="-DOTB_USE_QWT=$MONTEVERDI -DOTB_USE_GLEW=$MONTEVERDI -DOTB_USE_OPENGL=$MONTEVERDI" |