1
0
gnome-software/gs-compile-against-old-appstream-glib.patch

25 lines
586 B
Diff

From d73cb3ed65f1414662452cdd8cf85ae6835ebecf Mon Sep 17 00:00:00 2001
From: Richard Hughes <richard@hughsie.com>
Date: Mon, 25 Apr 2016 15:59:22 +0100
Subject: trivial: Support compiling against old versions of appstream-glib
---
src/gs-app.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/gs-app.h b/src/gs-app.h
index 6cb48c2..d546673 100644
--- a/src/gs-app.h
+++ b/src/gs-app.h
@@ -78,6 +78,7 @@ typedef enum {
#endif
#if !AS_CHECK_VERSION(0,5,14)
+#define AS_APP_QUIRK_NEEDS_REBOOT (1 << 4)
#define AS_APP_QUIRK_NOT_REVIEWABLE (1 << 5)
#endif
--
cgit v0.12