libxml2: Update to 2.14.5
This commit is contained in:
parent
0ddc0f814b
commit
037d96d614
13
libxml2/0001-missing-export.patch
Normal file
13
libxml2/0001-missing-export.patch
Normal file
@ -0,0 +1,13 @@
|
||||
--- libxml2-2.14.5/include/libxml/parser.h.orig 2025-08-01 10:54:36.661833300 +0200
|
||||
+++ libxml2-2.14.5/include/libxml/parser.h 2025-08-01 10:55:22.574087000 +0200
|
||||
@@ -1020,6 +1020,10 @@
|
||||
#ifdef LIBXML_SAX1_ENABLED
|
||||
XML_DEPRECATED
|
||||
XMLPUBVAR const xmlSAXHandlerV1 xmlDefaultSAXHandler;
|
||||
+#ifdef LIBXML_HTML_ENABLED
|
||||
+XML_DEPRECATED
|
||||
+XMLPUBVAR const xmlSAXHandlerV1 htmlDefaultSAXHandler;
|
||||
+#endif
|
||||
#endif
|
||||
|
||||
XML_DEPRECATED
|
||||
@ -2,7 +2,7 @@
|
||||
|
||||
pkgbase=libxml2
|
||||
pkgname=('libxml2' 'libxml2-devel' 'libxml2-python')
|
||||
pkgver=2.13.8
|
||||
pkgver=2.14.5
|
||||
pkgrel=1
|
||||
pkgdesc="XML parsing library, version 2"
|
||||
arch=(i686 x86_64)
|
||||
@ -16,10 +16,12 @@ msys2_references=(
|
||||
)
|
||||
source=("https://download.gnome.org/sources/libxml2/${pkgver%.*}/${pkgbase}-${pkgver}.tar.xz"
|
||||
https://www.w3.org/XML/Test/xmlts20130923.tar.gz
|
||||
libxml2-2.9.8-python3-unicode-errors.patch)
|
||||
sha256sums=('277294cb33119ab71b2bc81f2f445e9bc9435b893ad15bb2cd2b0e859a0ee84a'
|
||||
libxml2-2.9.8-python3-unicode-errors.patch
|
||||
0001-missing-export.patch)
|
||||
sha256sums=('03d006f3537616833c16c53addcdc32a0eb20e55443cba4038307e3fa7d8d44b'
|
||||
'9b61db9f5dbffa545f4b8d78422167083a8568c59bd1129f94138f936cf6fc1f'
|
||||
'0f5d465503b24271e11752262af89c58eb0b26b4901c3b021bd843e6e5d4e95a')
|
||||
'0f5d465503b24271e11752262af89c58eb0b26b4901c3b021bd843e6e5d4e95a'
|
||||
'c92cae37fa3264eb04b63a94e63911645e131f36bbe383beeadd4fc9849fc1ef')
|
||||
|
||||
# Helper macros to help make tasks easier #
|
||||
apply_patch_with_msg() {
|
||||
@ -52,6 +54,9 @@ prepare() {
|
||||
apply_patch_with_msg \
|
||||
libxml2-2.9.8-python3-unicode-errors.patch
|
||||
|
||||
apply_patch_with_msg \
|
||||
0001-missing-export.patch
|
||||
|
||||
autoreconf -vfi
|
||||
}
|
||||
|
||||
@ -70,6 +75,9 @@ build() {
|
||||
--enable-ipv6 \
|
||||
--with-history \
|
||||
--with-iconv \
|
||||
--with-legacy \
|
||||
--with-http \
|
||||
--with-lzma \
|
||||
--without-icu \
|
||||
--enable-shared \
|
||||
--enable-static \
|
||||
@ -112,7 +120,6 @@ package_libxml2-devel() {
|
||||
cp -rf ${srcdir}/dest/usr/include ${pkgdir}/usr/
|
||||
cp -rf ${srcdir}/dest/usr/lib ${pkgdir}/usr/
|
||||
rm -rf ${pkgdir}${PYTHON_SITELIB}
|
||||
cp -rf ${srcdir}/dest/usr/share/aclocal ${pkgdir}/usr/share/
|
||||
cp -rf ${srcdir}/dest/usr/share/doc ${pkgdir}/usr/share/
|
||||
cp -rf ${srcdir}/dest/usr/share/gtk-doc ${pkgdir}/usr/share/
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user