forked from conda-forge/gdal-feedstock
-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gdal 3.6.2: rebuild against libxml2 2.13 #25
Merged
Merged
Changes from 6 commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
8a08220
Rebuild against libxml2 2.13
skupr-anaconda 1d50e4b
Use poopler 22.12.0
skupr-anaconda 3934cde
Use fontconfig from the staging channel
skupr-anaconda 065e39f
Use gettext from the staging channel
skupr-anaconda f0eb4b1
Add patches
skupr-anaconda 679e1d4
Revert cbc.yaml
skupr-anaconda 2ef5b29
Update the staging channels
skupr-anaconda a104745
Use pin from cbc.yaml
skupr-anaconda 2464d8b
Use pinnings from cbc.yaml
skupr-anaconda dbf8b48
Use pinnings from cbc.yaml
skupr-anaconda d2b6118
Fix geotiff typo
skupr-anaconda 7f3644d
Remove local cbc.yaml
skupr-anaconda ef30dd6
Revert "Remove local cbc.yaml"
skupr-anaconda 6b8b7e8
Add a comment about MacOSX SDK 10.14
skupr-anaconda 29e7fa1
Update abs.yaml
skupr-anaconda File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
recipe/patches/cbed9fc91dffba30d0f9a6a06a412a04d9cd36fa.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
From cbed9fc91dffba30d0f9a6a06a412a04d9cd36fa Mon Sep 17 00:00:00 2001 | ||
From: Even Rouault <[email protected]> | ||
Date: Sat, 18 Nov 2023 15:38:46 +0100 | ||
Subject: [PATCH] Fix build error with libxml2 2.12 | ||
|
||
--- | ||
port/cpl_xml_validate.cpp | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/port/cpl_xml_validate.cpp b/port/cpl_xml_validate.cpp | ||
index 7eb49ff40c90..29070d957b65 100644 | ||
--- a/port/cpl_xml_validate.cpp | ||
+++ b/port/cpl_xml_validate.cpp | ||
@@ -914,7 +914,7 @@ static void CPLLibXMLWarningErrorCallback(void *ctx, const char *msg, ...) | ||
|
||
if (strstr(pszStr, "since this namespace was already imported") == nullptr) | ||
{ | ||
- xmlErrorPtr pErrorPtr = xmlGetLastError(); | ||
+ const xmlError *pErrorPtr = xmlGetLastError(); | ||
const char *pszFilename = static_cast<char *>(ctx); | ||
char *pszStrDup = CPLStrdup(pszStr); | ||
int nLen = static_cast<int>(strlen(pszStrDup)); |
27 changes: 27 additions & 0 deletions
27
recipe/patches/ec33f6d6dfe944f59dc5454d01b4d000d9479c02.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
From ec33f6d6dfe944f59dc5454d01b4d000d9479c02 Mon Sep 17 00:00:00 2001 | ||
From: Even Rouault <[email protected]> | ||
Date: Sat, 18 Nov 2023 16:33:25 +0100 | ||
Subject: [PATCH] Fix build error with libxml2 2.12 (cont'd) | ||
|
||
--- | ||
gcore/gdaljp2metadatagenerator.cpp | 7 ++++++- | ||
1 file changed, 6 insertions(+), 1 deletion(-) | ||
|
||
diff --git a/gcore/gdaljp2metadatagenerator.cpp b/gcore/gdaljp2metadatagenerator.cpp | ||
index b6caa2db9def..751fa3d5e9dd 100644 | ||
--- a/gcore/gdaljp2metadatagenerator.cpp | ||
+++ b/gcore/gdaljp2metadatagenerator.cpp | ||
@@ -357,7 +357,12 @@ static CPLString GDALGMLJP2EvalExpr(const CPLString &osTemplate, | ||
/************************************************************************/ | ||
|
||
static void GDALGMLJP2XPathErrorHandler(void * /* userData */, | ||
- xmlErrorPtr error) | ||
+#if LIBXML_VERSION >= 21200 | ||
+ const xmlError *error | ||
+#else | ||
+ xmlErrorPtr error | ||
+#endif | ||
+) | ||
{ | ||
if (error->domain == XML_FROM_XPATH && error->str1 != nullptr && | ||
error->int1 < static_cast<int>(strlen(error->str1))) |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The whole file can be removed as 10.15 is not the minimum in the default config.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, osx-64 fails:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@cbouss I added a comment about MacOSX SDK 10.14