diff options
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" |