summaryrefslogtreecommitdiff
path: root/repo
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-01-09 21:12:04 +0000
committerdavidovski <david@davidovski.xyz>2022-01-09 21:12:04 +0000
commit2531dcd82b0eb3ba8a8ae7bcde438f62644b3bd6 (patch)
tree5f4e4aeedd8eda0936be0f60b496167be7221fe3 /repo
parentc93d5a7df55cdd1af86600518183df3c54decf20 (diff)
fixed libxslt
Diffstat (limited to 'repo')
-rw-r--r--repo/core/libxslt.xibuild10
1 files changed, 7 insertions, 3 deletions
diff --git a/repo/core/libxslt.xibuild b/repo/core/libxslt.xibuild
index 1a94e1b..b079be1 100644
--- a/repo/core/libxslt.xibuild
+++ b/repo/core/libxslt.xibuild
@@ -2,13 +2,17 @@
DEPS=(libxml2 libgcrypt)
-SOURCE=https://gitlab.gnome.org/GNOME/libxslt.git
-BRANCH=v1.1.34
+SOURCE=http://xmlsoft.org/sources/libxslt-1.1.34.tar.gz
DESC="XML stylesheet transformation library"
build () {
- ./autogen.sh --prefix=/usr
+ sed -i s/3000/5000/ libxslt/transform.c doc/xsltproc.{1,xml} &&
+ sed -i -r '/max(Parser)?Depth/d' ./tests/fuzz/fuzz.c &&
+ ./configure --prefix=/usr --disable-static --without-python &&
make
+ sed -e 's@http://cdn.docbook.org/release/xsl@https://cdn.docbook.org/release/xsl-nons@' \
+ -e 's@\$Date\$@31 October 2019@' -i doc/xsltproc.xml &&
+ xsltproc/xsltproc --nonet doc/xsltproc.xml -o doc/xsltproc.1
make DESTDIR=$PKG_DEST install
}