summaryrefslogtreecommitdiffstats
path: root/abs/core/tdb/0001-tdb-include-include-stdbool.h-in-tdb.h.patch
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2014-10-07 19:21:26 (GMT)
committerBritney Fransen <brfransen@gmail.com>2014-10-07 19:21:26 (GMT)
commit1caaf4f490f2bd7491789cb0ec15d5b748d55d0f (patch)
treed70b022eeaeb574b7c38f65ad33733591b8472ac /abs/core/tdb/0001-tdb-include-include-stdbool.h-in-tdb.h.patch
parent0294b4c7a4444cbdb28ad3761eed86fc1145a216 (diff)
downloadlinhes_pkgbuild-1caaf4f490f2bd7491789cb0ec15d5b748d55d0f.zip
linhes_pkgbuild-1caaf4f490f2bd7491789cb0ec15d5b748d55d0f.tar.gz
linhes_pkgbuild-1caaf4f490f2bd7491789cb0ec15d5b748d55d0f.tar.bz2
tdb: udpate to 1.3.0
Diffstat (limited to 'abs/core/tdb/0001-tdb-include-include-stdbool.h-in-tdb.h.patch')
-rw-r--r--abs/core/tdb/0001-tdb-include-include-stdbool.h-in-tdb.h.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/abs/core/tdb/0001-tdb-include-include-stdbool.h-in-tdb.h.patch b/abs/core/tdb/0001-tdb-include-include-stdbool.h-in-tdb.h.patch
new file mode 100644
index 0000000..33a15cb
--- /dev/null
+++ b/abs/core/tdb/0001-tdb-include-include-stdbool.h-in-tdb.h.patch
@@ -0,0 +1,27 @@
+From 4e14a437963ba54987cd58b4e0705d9a6d8aea6f Mon Sep 17 00:00:00 2001
+From: Adam Williamson <awilliam@redhat.com>
+Date: Fri, 23 May 2014 10:08:14 -0700
+Subject: [PATCH] tdb/include: include stdbool.h in tdb.h
+
+Commit db5bda56bf08 (tdb: add TDB_MUTEX_LOCKING support) adds a bool, but does
+not include stdbool.h. This causes any build including tdb.h to fail, at least
+for me with GCC 4.9.0.
+---
+ lib/tdb/include/tdb.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/include/tdb.h b/include/tdb.h
+index 5ea5e60..03e429c 100644
+--- a/include/tdb.h
++++ b/include/tdb.h
+@@ -31,6 +31,7 @@ extern "C" {
+ #endif
+
+ #include <signal.h>
++#include <stdbool.h>
+
+ /**
+ * @defgroup tdb The tdb API
+--
+1.9.3
+