[arch-commits] Commit in tdb/repos/extra-x86_64 (4 files)

Tobias Powalowski tpowa at archlinux.org
Tue Mar 19 15:20:06 UTC 2019


    Date: Tuesday, March 19, 2019 @ 15:20:04
  Author: tpowa
Revision: 348688

archrelease: copy trunk to extra-x86_64

Added:
  tdb/repos/extra-x86_64/0001-tdb-include-include-stdbool.h-in-tdb.h.patch
    (from rev 348687, tdb/trunk/0001-tdb-include-include-stdbool.h-in-tdb.h.patch)
  tdb/repos/extra-x86_64/PKGBUILD
    (from rev 348687, tdb/trunk/PKGBUILD)
Deleted:
  tdb/repos/extra-x86_64/0001-tdb-include-include-stdbool.h-in-tdb.h.patch
  tdb/repos/extra-x86_64/PKGBUILD

---------------------------------------------------+
 0001-tdb-include-include-stdbool.h-in-tdb.h.patch |   54 ++++++++--------
 PKGBUILD                                          |   67 ++++++++------------
 2 files changed, 57 insertions(+), 64 deletions(-)

Deleted: 0001-tdb-include-include-stdbool.h-in-tdb.h.patch
===================================================================
--- 0001-tdb-include-include-stdbool.h-in-tdb.h.patch	2019-03-19 15:19:53 UTC (rev 348687)
+++ 0001-tdb-include-include-stdbool.h-in-tdb.h.patch	2019-03-19 15:20:04 UTC (rev 348688)
@@ -1,27 +0,0 @@
-From 4e14a437963ba54987cd58b4e0705d9a6d8aea6f Mon Sep 17 00:00:00 2001
-From: Adam Williamson <awilliam at 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
-

Copied: tdb/repos/extra-x86_64/0001-tdb-include-include-stdbool.h-in-tdb.h.patch (from rev 348687, tdb/trunk/0001-tdb-include-include-stdbool.h-in-tdb.h.patch)
===================================================================
--- 0001-tdb-include-include-stdbool.h-in-tdb.h.patch	                        (rev 0)
+++ 0001-tdb-include-include-stdbool.h-in-tdb.h.patch	2019-03-19 15:20:04 UTC (rev 348688)
@@ -0,0 +1,27 @@
+From 4e14a437963ba54987cd58b4e0705d9a6d8aea6f Mon Sep 17 00:00:00 2001
+From: Adam Williamson <awilliam at 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
+

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-03-19 15:19:53 UTC (rev 348687)
+++ PKGBUILD	2019-03-19 15:20:04 UTC (rev 348688)
@@ -1,37 +0,0 @@
-# Maintainer: Tobias Powalowski <tpowa at archlinux.org>
-# Contributor: eric <eric at archlinux.org>
-# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
-
-pkgname=tdb
-pkgver=1.3.18
-pkgrel=1
-pkgdesc="A Trivial Database similar to GDBM but allows simultaneous commits"
-arch=(x86_64)
-license=('GPL3')
-url="http://tdb.samba.org/"
-makedepends=('python2' 'libxslt' 'docbook-xsl')
-optdepends=('python2: for python bindings')
-source=(http://samba.org/ftp/${pkgname}/${pkgname}-${pkgver}.tar.gz
-        http://samba.org/ftp/${pkgname}/${pkgname}-${pkgver}.tar.asc)
-validpgpkeys=('9147A339719518EE9011BCB54793916113084025') #Samba Library Distribution Key <samba-bugs at samba.org> 
-build() {
-   cd ${srcdir}/${pkgname}-${pkgver}
-   sed -i -e 's#python#python2#g' buildtools/bin/waf
-   #sed -i 's#python2\.6\([^ ]*\)#python2.7\1 python2.6\1#' configure
-   # Use system docbook.xsl
-   #_manstyle="/usr/share/xml/docbook/xsl-stylesheets-1.76.1/manpages/docbook.xsl"
-   #sed -i "s#http.*xsl#$_manstyle#" tdb.mk
-   export PYTHON=/usr/bin/python2
-   ./configure --prefix=/usr \
-               --localstatedir=/var \
-               --sysconfdir=/etc/samba
-   make
-}
-
-package() {
-   cd ${srcdir}/${pkgname}-${pkgver}
-   export PYTHON=/usr/bin/python2
-   make DESTDIR=$pkgdir/ install
-}
-md5sums=('fdb34ed48478a084e9e0c310cc178e87'
-         'SKIP')

Copied: tdb/repos/extra-x86_64/PKGBUILD (from rev 348687, tdb/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-03-19 15:20:04 UTC (rev 348688)
@@ -0,0 +1,30 @@
+# Maintainer: Tobias Powalowski <tpowa at archlinux.org>
+# Contributor: eric <eric at archlinux.org>
+# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
+
+pkgname=tdb
+pkgver=1.3.18
+pkgrel=2
+pkgdesc="A Trivial Database similar to GDBM but allows simultaneous commits"
+arch=(x86_64)
+license=('GPL3')
+url="http://tdb.samba.org/"
+makedepends=('python' 'libxslt' 'docbook-xsl')
+optdepends=('python: for python bindings')
+source=(http://samba.org/ftp/${pkgname}/${pkgname}-${pkgver}.tar.gz
+        http://samba.org/ftp/${pkgname}/${pkgname}-${pkgver}.tar.asc)
+validpgpkeys=('9147A339719518EE9011BCB54793916113084025') #Samba Library Distribution Key <samba-bugs at samba.org> 
+build() {
+   cd ${srcdir}/${pkgname}-${pkgver}
+   ./configure --prefix=/usr \
+               --localstatedir=/var \
+               --sysconfdir=/etc/samba
+   make
+}
+
+package() {
+   cd ${srcdir}/${pkgname}-${pkgver}
+   make DESTDIR=$pkgdir/ install
+}
+md5sums=('fdb34ed48478a084e9e0c310cc178e87'
+         'SKIP')



More information about the arch-commits mailing list