diff --git a/libxslt/0001-runtest-Print-output-causing-failure.patch b/libxslt/0001-runtest-Print-output-causing-failure.patch new file mode 100644 index 0000000000..01adb60440 --- /dev/null +++ b/libxslt/0001-runtest-Print-output-causing-failure.patch @@ -0,0 +1,33 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: "Jan Alexander Steffens (heftig)" +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); diff --git a/libxslt/PKGBUILD b/libxslt/PKGBUILD index 47a84b068e..c8f9c96973 100644 --- a/libxslt/PKGBUILD +++ b/libxslt/PKGBUILD @@ -8,13 +8,15 @@ pkgname=( libxslt libxslt-docs ) -pkgver=1.1.39 -pkgrel=2 +pkgver=1.1.42 +pkgrel=1 pkgdesc="XML stylesheet transformation library" url="https://gitlab.gnome.org/GNOME/libxslt/-/wikis/home" arch=(x86_64 powerpc64le powerpc64 powerpc riscv64) -license=(custom:MIT) +license=(MIT) depends=( + bash + glibc libgcrypt libxml2 xz @@ -26,19 +28,19 @@ makedepends=( checkdepends=( docbook-xml ) -_commit=743ab691bed98ed11ac99bbd9d903d59fb814ab8 # tags/v1.1.39^0 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') - -pkgver() { - cd libxslt - git describe --tags | sed 's/-rc/rc/;s/^v//;s/[^-]*-g/r&/;s/-/+/g' -} +b2sums=('70549d4ad6784c41bc8f947db0f689399a0c6b4a1d91e1a8e67772f942192a391eebc58b64069500dd76b4c06bc4bd682b66945112298c7bc3f1af90e41ce804' + 'b63a1f2bf704d4561cc30734cee980534fb0586234b7b593d57d9c70fe59abd72610b6d825ab136d4d1dd7540bbfb6b8a6edc95618c15cc79e5a4bbd8f6341ee') prepare() { cd libxslt + + # Make test failures easier to fix + git apply -3 ../0001-runtest-Print-output-causing-failure.patch + NOCONFIGURE=1 ./autogen.sh }