Skip to content

Commit

Permalink
downgrade libxml to v2.9.14 to analyze issue SynoCommunity#6439
Browse files Browse the repository at this point in the history
  • Loading branch information
hgy59 committed Feb 3, 2025
1 parent 44a2cfb commit 36197bb
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 14 deletions.
18 changes: 8 additions & 10 deletions cross/libxml2/Makefile
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
PKG_NAME = libxml2
PKG_VERS = 2.13.5
PKG_EXT = tar.gz
PKG_DIST_NAME = v$(PKG_VERS).$(PKG_EXT)
PKG_DIST_FILE = $(PKG_NAME)-$(PKG_VERS).$(PKG_EXT)
PKG_DIST_SITE = https://github.com/GNOME/libxml2/archive/refs/tags
PKG_VERS = 2.9.14
PKG_EXT = tar.xz
PKG_DIST_NAME = $(PKG_NAME)-$(PKG_VERS).$(PKG_EXT)
PKG_DIST_SITE = https://download.gnome.org/sources/libxml2/$(word 1,$(subst ., ,$(PKG_VERS))).$(word 2,$(subst ., ,$(PKG_VERS)))
PKG_DIR = $(PKG_NAME)-$(PKG_VERS)

DEPENDS = cross/zlib
Expand All @@ -12,15 +11,14 @@ HOMEPAGE = https://gitlab.gnome.org/GNOME/libxml2/-/wikis/home
COMMENT = Libxml2 is the XML C parser and toolkit developed for the Gnome project (but usable outside of the Gnome platform).
LICENSE = MIT

CMAKE_ARGS = -DLIBXML2_WITH_PYTHON=OFF
CMAKE_ARGS += -DLIBXML2_WITH_LZMA=OFF
CMAKE_ARGS += -DLIBXML2_WITH_TESTS=OFF
CMAKE_ARGS += -DHAVE_LIBREADLINE=0
GNU_CONFIGURE = 1
CONFIGURE_ARGS = --disable-static
CONFIGURE_ARGS += --without-python
ADDITIONAL_CFLAGS = -O3

POST_INSTALL_TARGET = libxml2_post_install

include ../../mk/spksrc.cross-cmake.mk
include ../../mk/spksrc.cross-cc.mk

.PHONY: libxml2_post_install
libxml2_post_install:
Expand Down
2 changes: 1 addition & 1 deletion cross/libxml2/PLIST
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
lnk:lib/libxml2.so
lnk:lib/libxml2.so.2
lib:lib/libxml2.so.2.13.5
lib:lib/libxml2.so.2.9.14
6 changes: 3 additions & 3 deletions cross/libxml2/digests
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
libxml2-2.13.5.tar.gz SHA1 afc899c38c29cd14db468044f0693c29326957ee
libxml2-2.13.5.tar.gz SHA256 87d681718760ba42e749a61482d71b34d1d566843e9ade39a73fea92caf8293b
libxml2-2.13.5.tar.gz MD5 b6ead19aff44b49f2641cb26be5e0b4e
libxml2-2.9.14.tar.xz SHA1 4a46f37be1aaa33daac49b4dfb51eebe85d805a8
libxml2-2.9.14.tar.xz SHA256 60d74a257d1ccec0475e749cba2f21559e48139efba6ff28224357c7c798dfee
libxml2-2.9.14.tar.xz MD5 b7b3029ac6beb32a7925225515f83ca3

0 comments on commit 36197bb

Please sign in to comment.