Accepting request 715433 from devel:libraries:c_c++

OBS-URL: https://build.opensuse.org/request/show/715433
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/freetds?expand=0&rev=28
This commit is contained in:
Dominique Leuenberger 2019-07-29 15:24:18 +00:00 committed by Git OBS Bridge
commit 21c6c6620b
3 changed files with 22 additions and 2 deletions

View File

@ -0,0 +1,12 @@
diff --git a/configure b/configure
index eb38925..163f255 100755
--- a/configure
+++ b/configure
@@ -19397,6 +19397,7 @@ SQLRETURN SQL_API SQLColAttribute (SQLHSTMT StatementHandle,
SQLUSMALLINT ColumnNumber, SQLUSMALLINT FieldIdentifier,
SQLPOINTER CharacterAttribute, SQLSMALLINT BufferLength,
SQLSMALLINT *StringLength, SQLLEN * NumericAttribute) {
+ return 0;
}
int
main ()

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Jul 15 04:44:34 UTC 2019 - Martin Liška <mliska@suse.cz>
- Add configure-return-void-fix.patch in order to fix wrong
configure with -Werror=return-type.
-------------------------------------------------------------------
Fri Mar 23 10:15:31 UTC 2018 - tchvatal@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package freetds
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@ -24,6 +24,7 @@ License: LGPL-2.1-or-later AND GPL-2.0-or-later
Group: Productivity/Databases/Clients
Url: http://www.freetds.org/
Source: ftp://ftp.freetds.org/pub/freetds/stable/%{name}-%{version}.tar.gz
Patch0: configure-return-void-fix.patch
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: pkgconfig
@ -126,6 +127,7 @@ and can be installed even if FreeTDS main package is not installed
%prep
%setup -q
%patch0 -p1
%build
%configure \