Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package tdb for openSUSE:Factory checked in 
at 2021-10-04 18:39:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/tdb (Old)
 and      /work/SRC/openSUSE:Factory/.tdb.new.2443 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "tdb"

Mon Oct  4 18:39:15 2021 rev:39 rq:921816 version:1.4.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/tdb/tdb.changes  2020-03-25 23:44:41.800021083 
+0100
+++ /work/SRC/openSUSE:Factory/.tdb.new.2443/tdb.changes        2021-10-04 
18:40:20.402094079 +0200
@@ -1,0 +2,24 @@
+Fri Sep 17 08:46:03 UTC 2021 - Samuel Cabrero <scabr...@suse.de>
+
+- Update to version 1.4.4
+  + Fix a memory leak on error
+  + python: remove all 'from __future__ import print_function'
+  + Fix CID 1471761 String not null terminated
+  + Use hex_byte() in parse_hex()
+  + Use hex_byte() in read_data()
+  + fix studio compiler build
+  + Fix some signed/unsigned comparisons
+  + also use __has_attribute macro to check for attribute support
+  + Fix clang 9 missing-field-initializer warnings
+  + pytdb tests: add test for storev()
+  + pytdb: add python binding for storev()
+  + tdbtorture: Use ARRAY_DEL_ELEMENT()
+  + py3: Remove #define PyInt_FromLong PyLong_FromLong
+  + py3: Remove #define PyInt_AsLong PyLong_AsLong
+  + py3: Remove #define PyInt_Check PyLong_Check
+  + tdb: Align integer types
+- Drop obsolete patch ignore-tdb1-run-transaction-expand.diff
+- Fix header file using undefined function visibility macro;
+  Add patch 0001-tdb-Fix-invalid-syntax-in-tdb.h.patch; (bso#14762);
+
+-------------------------------------------------------------------

Old:
----
  ignore-tdb1-run-transaction-expand.diff
  tdb-1.4.3.tar.asc
  tdb-1.4.3.tar.gz

New:
----
  0001-tdb-Fix-invalid-syntax-in-tdb.h.patch
  tdb-1.4.4.tar.asc
  tdb-1.4.4.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ tdb.spec ++++++
--- /var/tmp/diff_new_pack.MX2YQP/_old  2021-10-04 18:40:20.866094833 +0200
+++ /var/tmp/diff_new_pack.MX2YQP/_new  2021-10-04 18:40:20.870094839 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package tdb
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 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:  pkg-config
 BuildRequires:  python3-devel
 URL:            https://tdb.samba.org/
-Version:        1.4.3
+Version:        1.4.4
 Release:        0
 Summary:        Samba Trivial Database
 License:        LGPL-3.0-or-later
@@ -36,8 +36,8 @@
 Source1:        https://download.samba.org/pub/tdb/tdb-%{version}.tar.asc
 Source2:        tdb.keyring
 Source4:        baselibs.conf
-Patch0:         ignore-tdb1-run-transaction-expand.diff
-Patch1:         build_pie.patch
+Patch0:         build_pie.patch
+Patch1:         0001-tdb-Fix-invalid-syntax-in-tdb.h.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -56,7 +56,6 @@
 
 This package contains the tdb1 library.
 
-
 %package -n libtdb-devel
 Summary:        Libraries and Header Files to Develop Programs with tdb1 
Support
 Group:          Development/Libraries/C and C++
@@ -70,7 +69,6 @@
 
 This package contains libraries and header files need for development.
 
-
 %package -n tdb-tools
 Summary:        Tools to manipulate tdb files
 Group:          Development/Libraries/C and C++
@@ -82,7 +80,6 @@
 
 This package contains tools to manage Tdb files.
 
-
 %package -n python3-tdb
 Summary:        Python3 bindings for the Tdb library
 Group:          Development/Libraries/Python
@@ -94,10 +91,7 @@
 
 %prep
 %setup -n tdb-%{version} -q
-%ifarch ppc ppc64 ppc64le
-%patch0 -p1
-%endif
-%patch1 -p1
+%autopatch -p1
 
 %build
 export CFLAGS="%{optflags} -D_GNU_SOURCE -D_LARGEFILE64_SOURCE 
-DIDMAP_RID_SUPPORT_TRUSTED_DOMAINS"

++++++ 0001-tdb-Fix-invalid-syntax-in-tdb.h.patch ++++++
>From aacd3ecb45ab04cb2f8a38a385a45bdca6d88cd2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?G=C3=BCnther=20Deschner?= <g...@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
<lsleb...@redhat.com>.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=14762

Guenther

Signed-off-by: G??nther Deschner <g...@samba.org>
Reviewed-by: Stefan Metzmacher <me...@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

++++++ tdb-1.4.3.tar.gz -> tdb-1.4.4.tar.gz ++++++
++++ 4211 lines of diff (skipped)

Reply via email to