After upgrade GCC to version gcc version 10.0.1 20200130 (Red Hat 10.0.1-0.7) (GCC) in Fedora 32
build fails due to extern variables Patch gdbm_gcc_10.patch was added Resolves:https://bugzilla.redhat.com/show_bug.cgi?id=1799391
This commit is contained in:
parent
20a03dc857
commit
f2ad449ebb
12
gdbm.spec
12
gdbm.spec
@ -3,7 +3,7 @@
|
|||||||
Summary: A GNU set of database routines which use extensible hashing
|
Summary: A GNU set of database routines which use extensible hashing
|
||||||
Name: gdbm
|
Name: gdbm
|
||||||
Version: 1.18.1
|
Version: 1.18.1
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
License: GPLv3+
|
License: GPLv3+
|
||||||
URL: http://www.gnu.org/software/gdbm/
|
URL: http://www.gnu.org/software/gdbm/
|
||||||
@ -15,6 +15,9 @@ BuildRequires: libtool
|
|||||||
BuildRequires: gettext
|
BuildRequires: gettext
|
||||||
BuildRequires: readline-devel
|
BuildRequires: readline-devel
|
||||||
|
|
||||||
|
|
||||||
|
Patch0:gdbm_gcc_10.patch
|
||||||
|
|
||||||
# when -libs subpkg was introduced
|
# when -libs subpkg was introduced
|
||||||
Obsoletes: gdbm < 1:1.14.1-4
|
Obsoletes: gdbm < 1:1.14.1-4
|
||||||
|
|
||||||
@ -56,6 +59,8 @@ gdbm database library. You'll also need to install the gdbm package.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
|
%patch0 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure \
|
%configure \
|
||||||
--disable-static \
|
--disable-static \
|
||||||
@ -111,6 +116,11 @@ make check
|
|||||||
%{_mandir}/man3/*
|
%{_mandir}/man3/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Feb 7 2020 Filip Januš <fjanus@redhat.com> - 1.18.1-3
|
||||||
|
- Resolves: #1799391
|
||||||
|
- After upgrade GCC to version gcc version 10.0.1 build fails
|
||||||
|
- Patch gdbm_gcc_10.patch was added
|
||||||
|
|
||||||
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.18.1-2
|
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.18.1-2
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||||
|
|
||||||
|
17
gdbm_gcc_10.patch
Normal file
17
gdbm_gcc_10.patch
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
Author:Filip Januš <fjanus@redhat.com>
|
||||||
|
Date: 7.2.2020
|
||||||
|
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1799391
|
||||||
|
After upgrade gcc to version gcc version 10.0.1 20200130 (Red Hat 10.0.1-0.7) (GCC) is not possible to build GDBM
|
||||||
|
|
||||||
|
diff -ur gdbm-1.18.1/src/parseopt.c gdbm-1.18.1_new/src/parseopt.c
|
||||||
|
--- gdbm-1.18.1/src/parseopt.c 2018-05-30 11:39:15.000000000 +0200
|
||||||
|
+++ gdbm-1.18.1_new/src/parseopt.c 2020-02-07 20:36:37.226390871 +0100
|
||||||
|
@@ -255,8 +255,6 @@
|
||||||
|
}
|
||||||
|
|
||||||
|
char *parseopt_program_name;
|
||||||
|
-char *parseopt_program_doc;
|
||||||
|
-char *parseopt_program_args;
|
||||||
|
const char *program_bug_address = "<" PACKAGE_BUGREPORT ">";
|
||||||
|
void (*parseopt_help_hook) (FILE *stream);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user