File 0006-scanner-Downgrade-non-increasing-version-error-to-wa.patch of Package wayland.3007
From 8511544e6be4385a87d2111c87f7f397c63c43ff Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Kristian=20H=C3=B8gsberg?= <krh@bitplanet.net>
Date: Mon, 12 May 2014 15:17:52 -0700
Subject: [PATCH] scanner: Downgrade non-increasing version error to warning
Commit 99a72777f96f63e4e25dc528bb37115424adac59 introduced a new error
for when the 'since' version decreases. It also reset the version for
messages without a version to 1. Versioning semantics in the spec files
was a little under-specified and we don't want to break projects caught in
this grey zone.
This commits replaces previous configure.ac as the 1.4.93 tag and the
final 1.5 RC.
---
src/scanner.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/scanner.c b/src/scanner.c
index 80c466e..b6c8a8d 100644
--- a/src/scanner.c
+++ b/src/scanner.c
@@ -409,7 +409,7 @@ start_element(void *data, const char *element_name, const char **atts)
}
if (version < ctx->interface->since)
- fail(&ctx->loc, "since version not increasing\n");
+ warn(&ctx->loc, "since version not increasing\n");
ctx->interface->since = version;
message->since = version;
--
2.8.1