1 |
commit: 24b142ee7181dd03692bd636d3ffc2e787dc5202 |
2 |
Author: Amy Liffey <amynka <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Aug 4 12:03:05 2018 +0000 |
4 |
Commit: Amy Liffey <amynka <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Aug 4 12:03:40 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24b142ee |
7 |
|
8 |
sci-libs/gdal: fix curl undefined reference |
9 |
|
10 |
Submitted-by: Michael Uleysky <uleysky <AT> gmail.com> |
11 |
Closes: https://bugs.gentoo.org/659840 |
12 |
Package-Manager: Portage-2.3.40, Repoman-2.3.9 |
13 |
|
14 |
sci-libs/gdal/files/gdal-2.3.0-curl.patch | 15 +++++++++++++++ |
15 |
sci-libs/gdal/gdal-2.3.0-r1.ebuild | 1 + |
16 |
2 files changed, 16 insertions(+) |
17 |
|
18 |
diff --git a/sci-libs/gdal/files/gdal-2.3.0-curl.patch b/sci-libs/gdal/files/gdal-2.3.0-curl.patch |
19 |
new file mode 100644 |
20 |
index 00000000000..1cd33243f42 |
21 |
--- /dev/null |
22 |
+++ b/sci-libs/gdal/files/gdal-2.3.0-curl.patch |
23 |
@@ -0,0 +1,15 @@ |
24 |
+diff -urNd gdal-2.3.1/port/cpl_vsil_curl.cpp gdal-2.3.1-curl/port/cpl_vsil_curl.cpp |
25 |
+--- gdal-2.3.1/port/cpl_vsil_curl.cpp 2018-06-24 01:10:23.000000000 +1000 |
26 |
++++ gdal-2.3.1-curl/port/cpl_vsil_curl.cpp 2018-07-13 01:29:31.326347717 +1000 |
27 |
+@@ -8617,8 +8617,10 @@ |
28 |
+ if( poFSHandler ) |
29 |
+ poFSHandler->ClearCache(); |
30 |
+ } |
31 |
+- |
32 |
++#if !defined(HAVE_CURL) || defined(CPL_MULTIPROC_STUB) |
33 |
++#else |
34 |
+ VSICurlStreamingClearCache(); |
35 |
++#endif |
36 |
+ } |
37 |
+ |
38 |
+ #endif /* HAVE_CURL */ |
39 |
|
40 |
diff --git a/sci-libs/gdal/gdal-2.3.0-r1.ebuild b/sci-libs/gdal/gdal-2.3.0-r1.ebuild |
41 |
index 8aacbcb83c7..2ddaa49d414 100644 |
42 |
--- a/sci-libs/gdal/gdal-2.3.0-r1.ebuild |
43 |
+++ b/sci-libs/gdal/gdal-2.3.0-r1.ebuild |
44 |
@@ -81,6 +81,7 @@ PATCHES=( |
45 |
"${FILESDIR}/${PN}-2.2.3-soname.patch" |
46 |
"${FILESDIR}/${PN}-2.2.3-bashcomp-path.patch" # bug 641866 |
47 |
"${FILESDIR}/${PN}-2.2.3-goocast.patch" # bug 656252 |
48 |
+ "${FILESDIR}/${PN}-2.3.0-curl.patch" # bug 659840 |
49 |
) |
50 |
|
51 |
src_prepare() { |