From a956ea49a342b8e32951e2284b4f4643e66b23f3 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 05:54:10 +0100 Subject: [PATCH] patch tdb.h to add include for stdbool.h required for 'bool' [release 1.3.0-2mamba;Sat Aug 23 2014] --- libtdb-1.3.0-include-bool.patch | 11 +++++++++++ libtdb.spec | 11 +++++++++-- 2 files changed, 20 insertions(+), 2 deletions(-) create mode 100644 libtdb-1.3.0-include-bool.patch diff --git a/libtdb-1.3.0-include-bool.patch b/libtdb-1.3.0-include-bool.patch new file mode 100644 index 0000000..13ba347 --- /dev/null +++ b/libtdb-1.3.0-include-bool.patch @@ -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 ++#include + + /** + * @defgroup tdb The tdb API diff --git a/libtdb.spec b/libtdb.spec index 0346692..2795a5e 100644 --- a/libtdb.spec +++ b/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 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 1.3.0-2mamba +- patch tdb.h to add include for stdbool.h required for 'bool' + * Thu Jul 31 2014 Automatic Build System 1.3.0-1mamba - automatic version update by autodist