Accepting request 816454 from Kernel:kdump

OBS-URL: https://build.opensuse.org/request/show/816454
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/eppic?expand=0&rev=9
This commit is contained in:
Dominique Leuenberger 2020-06-23 19:02:01 +00:00 committed by Git OBS Bridge
commit d29fcdd849
3 changed files with 26 additions and 2 deletions

View File

@ -0,0 +1,13 @@
Index: b/libeppic/eppic.h
===================================================================
--- a/libeppic/eppic.h
+++ b/libeppic/eppic.h
@@ -467,7 +467,7 @@ type_t *eppic_addstorage(type_t *t1, ty
type_t *eppic_getvoidstruct(int ctype);
extern int lineno, needvar, instruct, nomacs, eppic_legacy;
-node_t *lastv;
+extern node_t *lastv;
#define NULLNODE ((node_t*)0)

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Tue Jun 9 13:58:20 UTC 2020 - David Mair <dmair@suse.com>
- eppic-use-extern-in-devel-declaration.patch: Use extern for
declaration of lastv in libeppic/eppic.h. The file is used as the
devel eppic.h and if used in multiple sources for the same devel
link target and using gcc 10 the default behavior is to treat the
mutiple declarations as a link error.
-------------------------------------------------------------------
Fri Aug 2 06:59:17 UTC 2019 - Martin Liška <mliska@suse.cz>

View File

@ -1,7 +1,7 @@
#
# spec file for package eppic
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -29,10 +29,11 @@ Group: Development/Libraries/C and C++
Source: %{name}-git%{git_commit}.tar.bz2
Patch1: %{name}-fix-install.patch
Patch2: %{name}-no-return.patch
Patch3: %{name}-use-extern-in-devel-declaration.patch
BuildRequires: bison
BuildRequires: flex
BuildRequires: ncurses-devel
Url: http://code.google.com/p/eppic/
URL: http://code.google.com/p/eppic/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@ -59,6 +60,7 @@ This package provides the include files and libraries needed for development.
%setup -n %{name}-git%{git_commit}
%patch1 -p1
%patch2 -p1
%patch3 -p1
%build
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects