patch tdb.h to add include for stdbool.h required for 'bool' [release 1.3.0-2mamba;Sat Aug 23 2014]
This commit is contained in:
parent
5e4a12d781
commit
a956ea49a3
11
libtdb-1.3.0-include-bool.patch
Normal file
11
libtdb-1.3.0-include-bool.patch
Normal file
@ -0,0 +1,11 @@
|
||||
diff -Nru tdb-1.3.0.orig/include/tdb.h tdb-1.3.0/include/tdb.h
|
||||
--- tdb-1.3.0.orig/include/tdb.h 2014-05-23 00:30:38.000000000 +0200
|
||||
+++ tdb-1.3.0/include/tdb.h 2014-08-23 19:51:28.960746975 +0200
|
||||
@@ -31,6 +31,7 @@
|
||||
#endif
|
||||
|
||||
#include <signal.h>
|
||||
+#include <stdbool.h>
|
||||
|
||||
/**
|
||||
* @defgroup tdb The tdb API
|
11
libtdb.spec
11
libtdb.spec
@ -1,7 +1,7 @@
|
||||
Name: libtdb
|
||||
Epoch: 1
|
||||
Version: 1.3.0
|
||||
Release: 1mamba
|
||||
Release: 2mamba
|
||||
Summary: The tdb library
|
||||
Group: System/Libraries
|
||||
Vendor: openmamba
|
||||
@ -9,10 +9,14 @@ Distribution: openmamba
|
||||
Packager: Automatic Build System <autodist@mambasoft.it>
|
||||
URL: http://tdb.samba.org/
|
||||
Source: http://samba.org/ftp/tdb/tdb-%{version}.tar.gz
|
||||
Patch0: libtdb-1.3.0-include-bool.patch
|
||||
License: LGPL
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: libattr-devel
|
||||
BuildRequires: libbsd-devel
|
||||
BuildRequires: libpython-devel
|
||||
BuildRequires: libpython27-devel
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: docbook-xsl
|
||||
@ -53,8 +57,8 @@ TDB is a Trivial Database. In concept, it is very much like GDBM, and BSD's DB e
|
||||
This package contains the Python wrapper for %{name}.
|
||||
|
||||
%prep
|
||||
|
||||
%setup -q -n tdb-%{version}
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
%configure
|
||||
@ -98,6 +102,9 @@ This package contains the Python wrapper for %{name}.
|
||||
%{python_sitearch}/tdb.so
|
||||
|
||||
%changelog
|
||||
* Sat Aug 23 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.0-2mamba
|
||||
- patch tdb.h to add include for stdbool.h required for 'bool'
|
||||
|
||||
* Thu Jul 31 2014 Automatic Build System <autodist@mambasoft.it> 1.3.0-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user