libyaml, cleanup obsolete patchset, disable static library (#9353)

This commit is contained in:
Schrijvers Luc
2023-09-03 18:09:32 +00:00
committed by GitHub
parent 991f9f3792
commit 195bd54d8b
2 changed files with 2 additions and 31 deletions

View File

@@ -8,7 +8,7 @@ HOMEPAGE="https://pyyaml.org/wiki/LibYAML"
COPYRIGHT="2017-2018 Ingy döt Net
2006-2016 Kirill Simonov"
LICENSE="MIT"
REVISION="1"
REVISION="2"
SOURCE_URI="https://pyyaml.org/download/libyaml/yaml-$portVersion.tar.gz"
CHECKSUM_SHA256="c642ae9b75fee120b2d96c712538bd2cf283228d2337df2cf2988e3c02678ef4"
SOURCE_DIR="yaml-$portVersion"
@@ -56,7 +56,7 @@ defineDebugInfoPackage libyaml$secondaryArchSuffix \
BUILD()
{
autoreconf -fi
runConfigure ./configure
runConfigure ./configure --disable-static
make $jobArgs
}

View File

@@ -1,29 +0,0 @@
From d5fe8e4b8ed4b62f27d94cb45d925a735cf2b817 Mon Sep 17 00:00:00 2001
From: begasus <begasus@gmail.com>
Date: Sat, 1 Dec 2018 14:50:06 +0100
Subject: fix gcc2 parse error
diff --git a/tests/run-dumper.c b/tests/run-dumper.c
index 302b9b9..346db0f 100644
--- a/tests/run-dumper.c
+++ b/tests/run-dumper.c
@@ -80,6 +80,7 @@ int compare_nodes(yaml_document_t *document1, int index1,
yaml_document_t *document2, int index2, int level)
{
if (level++ > 1000) return 0;
+ {
yaml_node_t *node1 = yaml_document_get_node(document1, index1);
yaml_node_t *node2 = yaml_document_get_node(document2, index2);
int k;
@@ -124,6 +125,7 @@ int compare_nodes(yaml_document_t *document1, int index1,
break;
}
return 1;
+ }
}
int compare_documents(yaml_document_t *document1, yaml_document_t *document2)
--
2.19.1