Hello community, here is the log from the commit of package gdal for openSUSE:Factory checked in at 2018-07-18 22:55:50 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gdal (Old) and /work/SRC/openSUSE:Factory/.gdal.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gdal" Wed Jul 18 22:55:50 2018 rev:31 rq:623447 version:2.3.1 Changes: -------- --- /work/SRC/openSUSE:Factory/gdal/gdal.changes 2018-07-17 09:43:54.180958981 +0200 +++ /work/SRC/openSUSE:Factory/.gdal.new/gdal.changes 2018-07-18 22:56:18.598489312 +0200 @@ -1,0 +2,6 @@ +Tue Jul 17 12:12:35 UTC 2018 - [email protected] + +- Add patch to fix ECW5 detection in configure: + * gdal-fix_ecw5_detection.patch + +------------------------------------------------------------------- New: ---- gdal-fix_ecw5_detection.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gdal.spec ++++++ --- /var/tmp/diff_new_pack.XN6NIf/_old 2018-07-18 22:56:19.498486327 +0200 +++ /var/tmp/diff_new_pack.XN6NIf/_new 2018-07-18 22:56:19.502486314 +0200 @@ -37,6 +37,8 @@ # Fix hard coded name of libproj library # But libproj.so is valid if libproj-devel is installed ? Patch2: gdal-libproj.patch +# PATCH-FIX-UPSTREAM - gdal-fix_ecw5_detection.patch: fix ECW5 detection in configure +Patch3: gdal-fix_ecw5_detection.patch BuildRequires: blas-devel BuildRequires: chrpath BuildRequires: curl-devel @@ -172,6 +174,7 @@ %patch0 -p1 %patch1 -p1 %patch2 -p1 +%patch3 -p1 # Fix mandir sed -i "s|^mandir=.*|mandir='\${prefix}/share/man'|" configure ++++++ gdal-fix_ecw5_detection.patch ++++++ diff -purN gdal-2.3.1.orig/configure.ac gdal-2.3.1/configure.ac --- gdal-2.3.1.orig/configure.ac 2018-07-17 14:10:15.236559853 +0200 +++ gdal-2.3.1/configure.ac 2018-07-17 14:21:49.213424507 +0200 @@ -2879,7 +2879,7 @@ else echo "#include <string>" > testnewabi.cpp echo "namespace NCS { class CString { public: static std::wstring Utf8Decode (const std::string &sUtf8); }; }" >> testnewabi.cpp echo "int main() { return static_cast<int>(NCS::CString::Utf8Decode(std::string()).size()); }" >> testnewabi.cpp - if test -z "`$${CXX} ${CXXFLAGS} ${CPPFLAGS} testnewabi.cpp -L$with_ecw/$ecw_license_type/lib/newabi/$ECW_ARCH/$ECW_CONF -lNCSEcw -o testnewabi 2>&1`" ; then + if test -z "`${CXX} ${CXXFLAGS} ${CPPFLAGS} testnewabi.cpp -L$with_ecw/$ecw_license_type/lib/newabi/$ECW_ARCH/$ECW_CONF -lNCSEcw -o testnewabi 2>&1`" ; then ECW_LIBDIR=$with_ecw/$ecw_license_type/lib/newabi/$ECW_ARCH/$ECW_CONF ECW_LIBS="-L$ECW_LIBDIR -lNCSEcw $ECW_FRAMEWORK_COCOA" with_ecw=$with_ecw/$ecw_license_type
