Skip to content

Commit 45b7825

Browse files
committed
Update libxml2 to v2.12.2
1 parent 665017d commit 45b7825

File tree

5 files changed

+12
-12
lines changed

5 files changed

+12
-12
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ the requirements.
5757
| [ngtcp2](https://github.com/ngtcp2/ngtcp2) | 1.1.0 | 2023-11-25 |
5858
| [c-ares](https://c-ares.org) | 1.23.0 | 2023-11-30 |
5959
| [curl](https://curl.se) | 8.5.0 | 2023-12-06 |
60-
| [libxml2](http://xmlsoft.org) | 2.12.1 | 2023-11-23 |
60+
| [libxml2](http://xmlsoft.org) | 2.12.2 | 2023-12-05 |
6161
| [libxslt](http://xmlsoft.org/libxslt) | 1.1.39 | 2023-11-16 |
6262
| [lcms](https://www.littlecms.com/) | 2.16.0 | 2023-12-03 |
6363
| [highway](https://github.com/google/highway) | 1.0.7 | 2023-08-30 |

ports/libxml2/patches/0001-Adjust-CMake-for-vcpkg.patch

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From d46c7f4c3c1788472f50a15e9374fed003b060c4 Mon Sep 17 00:00:00 2001
1+
From 23c53322ec45e6b620070a3e7a4bb3fe482e83fe Mon Sep 17 00:00:00 2001
22
From: Don <[email protected]>
33
Date: Tue, 23 Aug 2022 14:49:44 -0700
44
Subject: [PATCH 1/2] Adjust CMake for vcpkg
@@ -8,10 +8,10 @@ Subject: [PATCH 1/2] Adjust CMake for vcpkg
88
1 file changed, 6 insertions(+), 6 deletions(-)
99

1010
diff --git a/CMakeLists.txt b/CMakeLists.txt
11-
index 6553255c..4c6b2c42 100644
11+
index 3a074da8..de547363 100644
1212
--- a/CMakeLists.txt
1313
+++ b/CMakeLists.txt
14-
@@ -615,12 +615,12 @@ install(DIRECTORY doc/ DESTINATION ${CMAKE_INSTALL_DOCDIR} COMPONENT documentati
14+
@@ -616,12 +616,12 @@ install(DIRECTORY doc/ DESTINATION ${CMAKE_INSTALL_DOCDIR} COMPONENT documentati
1515

1616
configure_package_config_file(
1717
libxml2-config.cmake.cmake.in libxml2-config.cmake
@@ -26,7 +26,7 @@ index 6553255c..4c6b2c42 100644
2626
COMPONENT development
2727
)
2828

29-
@@ -632,13 +632,13 @@ write_basic_package_version_file(
29+
@@ -633,13 +633,13 @@ write_basic_package_version_file(
3030

3131
install(
3232
FILES ${CMAKE_CURRENT_BINARY_DIR}/libxml2-config-version.cmake
@@ -42,7 +42,7 @@ index 6553255c..4c6b2c42 100644
4242
NAMESPACE LibXml2::
4343
FILE libxml2-export.cmake
4444
COMPONENT development
45-
@@ -699,10 +699,10 @@ if(WIN32)
45+
@@ -700,10 +700,10 @@ if(WIN32)
4646
set(prefix "\$(cd \"\$(dirname \"\$0\")\"; pwd -P)/..")
4747
endif()
4848
configure_file(xml2-config.in xml2-config @ONLY)

ports/libxml2/patches/0002-Remove-library-suffix-on-Windows.patch

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From 1cc67f3517de892fe87753da4fbff0e8ec86b8f8 Mon Sep 17 00:00:00 2001
1+
From b06a790e64cef1658531ebc82d2d14ca61d9bc3c Mon Sep 17 00:00:00 2001
22
From: Don <[email protected]>
33
Date: Tue, 23 Aug 2022 14:50:24 -0700
44
Subject: [PATCH 2/2] Remove library suffix on Windows
@@ -8,10 +8,10 @@ Subject: [PATCH 2/2] Remove library suffix on Windows
88
1 file changed, 19 deletions(-)
99

1010
diff --git a/CMakeLists.txt b/CMakeLists.txt
11-
index 4c6b2c42..61f13290 100644
11+
index de547363..e87452c8 100644
1212
--- a/CMakeLists.txt
1313
+++ b/CMakeLists.txt
14-
@@ -454,25 +454,6 @@ set_target_properties(
14+
@@ -455,25 +455,6 @@ set_target_properties(
1515
SOVERSION ${LIBXML_MAJOR_VERSION}
1616
)
1717

ports/libxml2/portfile.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
set(VERSION_MAJOR 2)
22
set(VERSION_MINOR 12)
3-
set(VERSION_PATCH 1)
3+
set(VERSION_PATCH 2)
44
set(VERSION ${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH})
55

66
# Get archive
77
vcpkg_download_distfile(ARCHIVE
88
URLS "https://download.gnome.org/sources/libxml2/${VERSION_MAJOR}.${VERSION_MINOR}/libxml2-${VERSION}.tar.xz"
99
FILENAME "libxml2-${VERSION}.tar.xz"
10-
SHA512 84ade06df7d170b777cfe701389444176a02714b1d8f1916d022ef6cf7cf85822571989608dcecc470c2eec044a65dd971562a95921ddb1668736295a5be2806
10+
SHA512 4511e03dfd08ffad6a633d79828a6049e75769a2ad9fb93ef0f553b3668e517863b648c0923c71d9b58ff7452530fdf789e611720aed8dea60bbdfe476cde1d2
1111
)
1212

1313
# Patches

ports/libxml2/vcpkg.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "libxml2",
3-
"version": "2.12.1",
3+
"version": "2.12.2",
44
"description": "Libxml2 is the XML C parser and toolkit developed for the Gnome project (but usable outside of the Gnome platform)",
55
"homepage": "http://xmlsoft.org",
66
"license": "MIT",

0 commit comments

Comments
 (0)