This commit is contained in:
parent
3c601addf3
commit
59c1b7448a
@ -1,50 +0,0 @@
|
||||
From aacd3ecb45ab04cb2f8a38a385a45bdca6d88cd2 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?G=C3=BCnther=20Deschner?= <gd@samba.org>
|
||||
Date: Fri, 16 Jul 2021 17:29:40 +0200
|
||||
Subject: [PATCH] tdb: Fix invalid syntax in tdb.h
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Defining _PUBLIC_ in the same way as in talloc.h resolves an issue with
|
||||
a previous fix for Solaris Studio compiler 12.4 that prefixed all calls
|
||||
in tdb.h with _PUBLIC_. Thanks to Lukas Slebodnik
|
||||
<lslebodn@redhat.com>.
|
||||
|
||||
Bug: https://bugzilla.samba.org/show_bug.cgi?id=14762
|
||||
|
||||
Guenther
|
||||
|
||||
Signed-off-by: Günther Deschner <gd@samba.org>
|
||||
Reviewed-by: Stefan Metzmacher <metze@samba.org>
|
||||
---
|
||||
lib/tdb/include/tdb.h | 13 +++++++++++++
|
||||
1 file changed, 13 insertions(+)
|
||||
|
||||
diff --git a/include/tdb.h b/include/tdb.h
|
||||
index 696547c8cd9..884171c73d9 100644
|
||||
--- a/include/tdb.h
|
||||
+++ b/include/tdb.h
|
||||
@@ -33,6 +33,19 @@ extern "C" {
|
||||
#include <signal.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
+/* for old gcc releases that don't have the feature test macro __has_attribute */
|
||||
+#ifndef __has_attribute
|
||||
+#define __has_attribute(x) 0
|
||||
+#endif
|
||||
+
|
||||
+#ifndef _PUBLIC_
|
||||
+#if __has_attribute(visibility)
|
||||
+#define _PUBLIC_ __attribute__((visibility("default")))
|
||||
+#else
|
||||
+#define _PUBLIC_
|
||||
+#endif
|
||||
+#endif
|
||||
+
|
||||
/**
|
||||
* @defgroup tdb The tdb API
|
||||
*
|
||||
--
|
||||
2.33.0
|
||||
|
@ -1,11 +0,0 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQEzBAABCgAdFiEEkUejOXGVGO6QEby1R5ORYRMIQCUFAmDv5EAACgkQR5ORYRMI
|
||||
QCUKIQf+IYu12bmcSAlHfxP9QBWpYBF+CGk4UNNsw6iNnuYlN4kf12kdNJtV2ZvJ
|
||||
umkbtSu76BRHp3zJoIsy1XlivbJUcAz88b5elG0w3VLXfS2HGGvdPW6QLra3MbK9
|
||||
8/LAyjSOSnOtYcOSLJM4o3Yacm/Xlv8M2Ydn/vCh/2A52lLw6W6xlsYXL95Jp8v0
|
||||
f5XHEOLP4kFFQHhHxLR1Z5AcQ0Y4c5q2qgBiTK/m2m8cXyQMy578Xle+BMGatUXX
|
||||
oBva7HSQAWTRfN9BwDFckS6jGDu45UGu39TCqptJhC9WWdI4xUaw9CMHYPhtmJfl
|
||||
kyaMmTAA+WkHc63mRy1T2/WgmM8Z0w==
|
||||
=4HbA
|
||||
-----END PGP SIGNATURE-----
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:59a16937de4b75e949405757f7b6bb0084d589cad98ae9001f9b7ec73b3c6380
|
||||
size 714367
|
11
tdb-1.4.6.tar.asc
Normal file
11
tdb-1.4.6.tar.asc
Normal file
@ -0,0 +1,11 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQEzBAABCgAdFiEEkUejOXGVGO6QEby1R5ORYRMIQCUFAmHumnwACgkQR5ORYRMI
|
||||
QCV1LQf/QoEaez2rifYIheDdqrYQ6uTwecc4DVeK/TZjbtJxnwL4L+5ZXII2LK/q
|
||||
2BP6BWos9imLsFKuj4wcJbBDddiEB/n24ZsTCwJ5vahL2n8CSlZU2GsK1Q2SnV+K
|
||||
Z+lVUO7Ib1VazVpyneQDWYB5MlFoxQ9FLPSxdR0xzmYaOjzd0uIYS275DUi3upSx
|
||||
jyMJ4crX7ctEM7N4v4RbpbJBbO18FYXGzPcGPM0t3AE8ix169V23m2Cevv514WbC
|
||||
2Miq7NBKPSsk78HkM93jWaoxw9hO6baD1l6TE5XkPDC1dlQDdI8I09Tiyh2fbOha
|
||||
UuhJOJgvYoADaikGNc/HpaFSy+npVg==
|
||||
=L5MD
|
||||
-----END PGP SIGNATURE-----
|
3
tdb-1.4.6.tar.gz
Normal file
3
tdb-1.4.6.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d6892bd8befe04a77642a1dd56e4a879349bf1cf5b2c0bf5fb841061938def0b
|
||||
size 736747
|
@ -1,3 +1,12 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 16 11:01:29 UTC 2022 - Johannes Engel <jcnengel@gmail.com>
|
||||
|
||||
- Update to 1.4.6
|
||||
+ Drop obsolete patch 0001-tdb-Fix-invalid-syntax-in-tdb.h.patch
|
||||
+ Fix Python docstrings
|
||||
+ Use atomic operations for tdb_[increment|get]_seqnum
|
||||
+ Raw performance torture to beat tdb_increment_seqnum
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 17 08:46:03 UTC 2021 - Samuel Cabrero <scabrero@suse.de>
|
||||
|
||||
|
5
tdb.spec
5
tdb.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package tdb
|
||||
#
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -27,7 +27,7 @@ BuildRequires: libxslt
|
||||
BuildRequires: pkg-config
|
||||
BuildRequires: python3-devel
|
||||
URL: https://tdb.samba.org/
|
||||
Version: 1.4.4
|
||||
Version: 1.4.6
|
||||
Release: 0
|
||||
Summary: Samba Trivial Database
|
||||
License: LGPL-3.0-or-later
|
||||
@ -37,7 +37,6 @@ Source1: https://download.samba.org/pub/tdb/tdb-%{version}.tar.asc
|
||||
Source2: tdb.keyring
|
||||
Source4: baselibs.conf
|
||||
Patch0: build_pie.patch
|
||||
Patch1: 0001-tdb-Fix-invalid-syntax-in-tdb.h.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
|
Loading…
Reference in New Issue
Block a user