Initial commit
This commit is contained in:
@@ -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 9c6a6e1c0fac..856302121183 100644
|
||||
--- a/tests/runtest.c
|
||||
+++ b/tests/runtest.c
|
||||
@@ -666,17 +666,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);
|
||||
@@ -0,0 +1,40 @@
|
||||
[build]
|
||||
type = "autotools"
|
||||
|
||||
[build.flags]
|
||||
configure = [
|
||||
"--disable-static",
|
||||
"--with-python=/usr/bin/python",
|
||||
]
|
||||
post_configure = ['''sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool''']
|
||||
skip_tests = true # need to build libxml2 with doxygen/python first
|
||||
|
||||
[dependencies]
|
||||
build = [ "python" ]
|
||||
runtime = [
|
||||
"glibc",
|
||||
"sh",
|
||||
"libgcrypt",
|
||||
"libxml215",
|
||||
"xz",
|
||||
]
|
||||
test = [ "docbook-xml" ]
|
||||
optional = [ "python" ]
|
||||
|
||||
[[manual_sources]]
|
||||
file = "0001-runtest-Print-output-causing-failure.patch"
|
||||
sha256 = "sha512:dd55b7c5e7937bf67d9001b7e92d508447ccea4dd72f001d7a76de65ebea14485e222508096eef7165bc961de6f2926a42a2d6796576f3ff33fd7fefec9c18a1"
|
||||
|
||||
[package]
|
||||
description = "XML stylesheet transformation library"
|
||||
homepage = "https://gitlab.gnome.org/GNOME/libxslt/-/wikis/home"
|
||||
license = "MIT"
|
||||
name = "libxslt"
|
||||
version = "1.1.45"
|
||||
revision = 2
|
||||
|
||||
[[source]]
|
||||
extract_dir = "$name-$version"
|
||||
patches = [ "0001-runtest-Print-output-causing-failure.patch" ]
|
||||
sha256 = "9acfe68419c4d06a45c550321b3212762d92f41465062ca4ea19e632ee5d216e"
|
||||
url = "https://download.gnome.org/sources/libxslt/1.1/libxslt-$version.tar.xz"
|
||||
Reference in New Issue
Block a user