* update libxslt to 1.1.42-1
This commit is contained in:
parent
d7247710bc
commit
7043c39e58
33
libxslt/0001-runtest-Print-output-causing-failure.patch
Normal file
33
libxslt/0001-runtest-Print-output-causing-failure.patch
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||||
|
From: "Jan Alexander Steffens (heftig)" <heftig@archlinux.org>
|
||||||
|
Date: Sat, 15 Jun 2024 00:22:58 +0200
|
||||||
|
Subject: [PATCH] runtest: Print output causing failure
|
||||||
|
|
||||||
|
---
|
||||||
|
tests/runtest.c | 4 ++--
|
||||||
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/tests/runtest.c b/tests/runtest.c
|
||||||
|
index be6ccb0e2a4f..03d3c284fd3c 100644
|
||||||
|
--- a/tests/runtest.c
|
||||||
|
+++ b/tests/runtest.c
|
||||||
|
@@ -413,17 +413,17 @@ xsltTest(const char *filename, int options) {
|
||||||
|
res = compareFileMem(outFilename, (char *) out, outSize);
|
||||||
|
if (res != 0) {
|
||||||
|
fprintf(stderr, "Result for %s failed\n", filename);
|
||||||
|
- /* printf("####\n%s####\n", out); */
|
||||||
|
+ printf("####\n%s####\n", out);
|
||||||
|
ret = -1;
|
||||||
|
}
|
||||||
|
free(outFilename);
|
||||||
|
xmlFree(out);
|
||||||
|
|
||||||
|
errFilename = changeSuffix(filename, errSuffix);
|
||||||
|
res = compareFileMem(errFilename, testErrors, testErrorsSize);
|
||||||
|
if (res != 0) {
|
||||||
|
fprintf(stderr, "Error for %s failed\n", filename);
|
||||||
|
- /* printf("####\n%s####\n", testErrors); */
|
||||||
|
+ printf("####\n%s####\n", testErrors);
|
||||||
|
ret = -1;
|
||||||
|
}
|
||||||
|
free(errFilename);
|
@ -8,13 +8,15 @@ pkgname=(
|
|||||||
libxslt
|
libxslt
|
||||||
libxslt-docs
|
libxslt-docs
|
||||||
)
|
)
|
||||||
pkgver=1.1.39
|
pkgver=1.1.42
|
||||||
pkgrel=2
|
pkgrel=1
|
||||||
pkgdesc="XML stylesheet transformation library"
|
pkgdesc="XML stylesheet transformation library"
|
||||||
url="https://gitlab.gnome.org/GNOME/libxslt/-/wikis/home"
|
url="https://gitlab.gnome.org/GNOME/libxslt/-/wikis/home"
|
||||||
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
|
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
|
||||||
license=(custom:MIT)
|
license=(MIT)
|
||||||
depends=(
|
depends=(
|
||||||
|
bash
|
||||||
|
glibc
|
||||||
libgcrypt
|
libgcrypt
|
||||||
libxml2
|
libxml2
|
||||||
xz
|
xz
|
||||||
@ -26,19 +28,19 @@ makedepends=(
|
|||||||
checkdepends=(
|
checkdepends=(
|
||||||
docbook-xml
|
docbook-xml
|
||||||
)
|
)
|
||||||
_commit=743ab691bed98ed11ac99bbd9d903d59fb814ab8 # tags/v1.1.39^0
|
|
||||||
source=(
|
source=(
|
||||||
"git+https://gitlab.gnome.org/GNOME/libxslt.git#commit=$_commit"
|
"git+https://gitlab.gnome.org/GNOME/libxslt.git#tag=v$pkgver"
|
||||||
|
0001-runtest-Print-output-causing-failure.patch
|
||||||
)
|
)
|
||||||
b2sums=('SKIP')
|
b2sums=('70549d4ad6784c41bc8f947db0f689399a0c6b4a1d91e1a8e67772f942192a391eebc58b64069500dd76b4c06bc4bd682b66945112298c7bc3f1af90e41ce804'
|
||||||
|
'b63a1f2bf704d4561cc30734cee980534fb0586234b7b593d57d9c70fe59abd72610b6d825ab136d4d1dd7540bbfb6b8a6edc95618c15cc79e5a4bbd8f6341ee')
|
||||||
pkgver() {
|
|
||||||
cd libxslt
|
|
||||||
git describe --tags | sed 's/-rc/rc/;s/^v//;s/[^-]*-g/r&/;s/-/+/g'
|
|
||||||
}
|
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
cd libxslt
|
cd libxslt
|
||||||
|
|
||||||
|
# Make test failures easier to fix
|
||||||
|
git apply -3 ../0001-runtest-Print-output-causing-failure.patch
|
||||||
|
|
||||||
NOCONFIGURE=1 ./autogen.sh
|
NOCONFIGURE=1 ./autogen.sh
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user