summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmy Liffey <amynka@gentoo.org>2018-08-04 13:03:05 +0100
committerAmy Liffey <amynka@gentoo.org>2018-08-04 13:03:40 +0100
commit24b142ee7181dd03692bd636d3ffc2e787dc5202 (patch)
treed180147d54123956d9b7f2bd6b2054fe26b1b4c0 /sci-libs/gdal/files
parentapp-xemacs/xetla: version bump (diff)
downloadgentoo-24b142ee7181dd03692bd636d3ffc2e787dc5202.tar.gz
gentoo-24b142ee7181dd03692bd636d3ffc2e787dc5202.tar.bz2
gentoo-24b142ee7181dd03692bd636d3ffc2e787dc5202.zip
sci-libs/gdal: fix curl undefined reference
Submitted-by: Michael Uleysky <uleysky@gmail.com> Closes: https://bugs.gentoo.org/659840 Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'sci-libs/gdal/files')
-rw-r--r--sci-libs/gdal/files/gdal-2.3.0-curl.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/sci-libs/gdal/files/gdal-2.3.0-curl.patch b/sci-libs/gdal/files/gdal-2.3.0-curl.patch
new file mode 100644
index 000000000000..1cd33243f42b
--- /dev/null
+++ b/sci-libs/gdal/files/gdal-2.3.0-curl.patch
@@ -0,0 +1,15 @@
+diff -urNd gdal-2.3.1/port/cpl_vsil_curl.cpp gdal-2.3.1-curl/port/cpl_vsil_curl.cpp
+--- gdal-2.3.1/port/cpl_vsil_curl.cpp 2018-06-24 01:10:23.000000000 +1000
++++ gdal-2.3.1-curl/port/cpl_vsil_curl.cpp 2018-07-13 01:29:31.326347717 +1000
+@@ -8617,8 +8617,10 @@
+ if( poFSHandler )
+ poFSHandler->ClearCache();
+ }
+-
++#if !defined(HAVE_CURL) || defined(CPL_MULTIPROC_STUB)
++#else
+ VSICurlStreamingClearCache();
++#endif
+ }
+
+ #endif /* HAVE_CURL */