[packages/tdb] - added include patch (tdb.h requires stdbool.h)

qboosh qboosh at pld-linux.org
Sun Nov 2 09:46:52 CET 2014


commit c8ea0665246788b3c5eb0b8765d3f2b4a00d148f
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Nov 2 09:47:01 2014 +0100

    - added include patch (tdb.h requires stdbool.h)

 tdb-include.patch | 10 ++++++++++
 tdb.spec          |  2 ++
 2 files changed, 12 insertions(+)
---
diff --git a/tdb.spec b/tdb.spec
index b2a4424..30ee331 100644
--- a/tdb.spec
+++ b/tdb.spec
@@ -8,6 +8,7 @@ License:	LGPL v3+
 Group:		Libraries
 Source0:	http://www.samba.org/ftp/tdb/%{name}-%{version}.tar.gz
 # Source0-md5:	f597190451d976fe013dfae9934fb9ad
+Patch0:		%{name}-include.patch
 URL:		http://tdb.samba.org/
 BuildRequires:	python-devel >= 2
 BuildRequires:	rpm-pythonprov
@@ -55,6 +56,7 @@ Pythonowy interfejs do TDB.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 # note: configure in fact is waf call
diff --git a/tdb-include.patch b/tdb-include.patch
new file mode 100644
index 0000000..30fcb97
--- /dev/null
+++ b/tdb-include.patch
@@ -0,0 +1,10 @@
+--- tdb-1.3.1/include/tdb.h.orig	2014-09-16 20:04:31.000000000 +0200
++++ tdb-1.3.1/include/tdb.h	2014-11-02 09:30:00.151156564 +0100
+@@ -31,6 +31,7 @@
+ #endif
+ 
+ #include <signal.h>
++#include <stdbool.h>
+ 
+ /**
+  * @defgroup tdb The tdb API
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/tdb.git/commitdiff/c8ea0665246788b3c5eb0b8765d3f2b4a00d148f



More information about the pld-cvs-commit mailing list