mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
libyaml: bump version
This commit is contained in:
29
dev-libs/libyaml/patches/libyaml-0.2.5.patchset
Normal file
29
dev-libs/libyaml/patches/libyaml-0.2.5.patchset
Normal file
@@ -0,0 +1,29 @@
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user