summaryrefslogtreecommitdiff
path: root/repo
diff options
context:
space:
mode:
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
}