Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/tdb/files/
Date: Wed, 30 Aug 2017 11:49:16
Message-Id: 1504093746.169be74a11e580c47ae026dc573d89c8c4b33b38.polynomial-c@gentoo
1 commit: 169be74a11e580c47ae026dc573d89c8c4b33b38
2 Author: Michael Mair-Keimberger (asterix) <m.mairkeimberger <AT> gmail <DOT> com>
3 AuthorDate: Wed Aug 16 09:34:18 2017 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Wed Aug 30 11:49:06 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=169be74a
7
8 sys-libs/tdb: remove unused patches
9
10 Closes: https://github.com/gentoo/gentoo/pull/5442
11
12 .../tdb/files/add_missing_stdbool_h_include.patch | 27 -----------
13 sys-libs/tdb/files/tdb-1.3.7-fix.patch | 55 ----------------------
14 2 files changed, 82 deletions(-)
15
16 diff --git a/sys-libs/tdb/files/add_missing_stdbool_h_include.patch b/sys-libs/tdb/files/add_missing_stdbool_h_include.patch
17 deleted file mode 100644
18 index 756eaaeebf0..00000000000
19 --- a/sys-libs/tdb/files/add_missing_stdbool_h_include.patch
20 +++ /dev/null
21 @@ -1,27 +0,0 @@
22 -From 4e14a437963ba54987cd58b4e0705d9a6d8aea6f Mon Sep 17 00:00:00 2001
23 -From: Adam Williamson <awilliam@××××××.com>
24 -Date: Fri, 23 May 2014 10:08:14 -0700
25 -Subject: [PATCH] tdb/include: include stdbool.h in tdb.h
26 -
27 -Commit db5bda56bf08 (tdb: add TDB_MUTEX_LOCKING support) adds a bool, but does
28 -not include stdbool.h. This causes any build including tdb.h to fail, at least
29 -for me with GCC 4.9.0.
30 ----
31 - lib/tdb/include/tdb.h | 1 +
32 - 1 file changed, 1 insertion(+)
33 -
34 -diff --git a/lib/tdb/include/tdb.h b/lib/tdb/include/tdb.h
35 -index 5ea5e60..03e429c 100644
36 ---- a/lib/tdb/include/tdb.h
37 -+++ b/lib/tdb/include/tdb.h
38 -@@ -31,6 +31,7 @@ extern "C" {
39 - #endif
40 -
41 - #include <signal.h>
42 -+#include <stdbool.h>
43 -
44 - /**
45 - * @defgroup tdb The tdb API
46 ---
47 -1.9.3
48 -
49
50 diff --git a/sys-libs/tdb/files/tdb-1.3.7-fix.patch b/sys-libs/tdb/files/tdb-1.3.7-fix.patch
51 deleted file mode 100644
52 index bfbd8ab70a9..00000000000
53 --- a/sys-libs/tdb/files/tdb-1.3.7-fix.patch
54 +++ /dev/null
55 @@ -1,55 +0,0 @@
56 -From patchwork Thu Jul 23 05:10:38 2015
57 -Content-Type: text/plain; charset="utf-8"
58 -MIME-Version: 1.0
59 -Content-Transfer-Encoding: 7bit
60 -Subject: tdb: Fix broken build with --disable-python
61 -Date: Thu, 23 Jul 2015 04:10:38 -0000
62 -From: Martin Schwenke <martin@××××××.net>
63 -X-Patchwork-Id: 11098
64 -Message-Id: <20150723151038.617e1c49@××××××××××××××.org>
65 -To: Samba Technical <samba-technical@×××××××××××.org>
66 -
67 -Please NACK if you don't want this pushed... :-)
68 -
69 -peace & happiness,
70 -martin
71 -
72 -
73 ->From c7609c35b6bdb488b74d63ebfd27838b9b8e7e2f Mon Sep 17 00:00:00 2001
74 -From: Martin Schwenke <martin@××××××.net>
75 -Date: Thu, 23 Jul 2015 09:47:24 +1000
76 -Subject: [PATCH] tdb: Fix broken build with --disable-python
77 -
78 -With --disable-python, we should not install any python files.
79 -
80 -Signed-off-by: Martin Schwenke <martin@××××××.net>
81 -Reviewed-by: Amitay Isaacs <amitay@×××××.com>
82 ----
83 - lib/tdb/wscript | 11 ++++++-----
84 - 1 file changed, 6 insertions(+), 5 deletions(-)
85 -
86 -diff --git a/lib/tdb/wscript b/lib/tdb/wscript
87 -index 5845fa0..1822e74 100644
88 ---- a/lib/tdb/wscript
89 -+++ b/lib/tdb/wscript
90 -@@ -187,12 +187,13 @@ def build(bld):
91 - realname='tdb.so',
92 - cflags='-DPACKAGE_VERSION=\"%s\"' % VERSION)
93 -
94 -- for env in bld.gen_python_environments(['PKGCONFIGDIR']):
95 -- bld.SAMBA_SCRIPT('_tdb_text.py',
96 -- pattern='_tdb_text.py',
97 -- installdir='python')
98 -+ if not bld.env.disable_python:
99 -+ for env in bld.gen_python_environments(['PKGCONFIGDIR']):
100 -+ bld.SAMBA_SCRIPT('_tdb_text.py',
101 -+ pattern='_tdb_text.py',
102 -+ installdir='python')
103 -
104 -- bld.INSTALL_FILES('${PYTHONARCHDIR}', '_tdb_text.py')
105 -+ bld.INSTALL_FILES('${PYTHONARCHDIR}', '_tdb_text.py')
106 -
107 - def testonly(ctx):
108 - '''run tdb testsuite'''
109 ---
110 -2.1.4