Accepting request 292539 from home:elvigia:branches:network:fcoe
- Fix build with gcc5 (open-lldp-gcc5.patch) * do not use -Werror * Use -fgnu89-inline as the code relies on the old semantics OBS-URL: https://build.opensuse.org/request/show/292539 OBS-URL: https://build.opensuse.org/package/show/network:fcoe/open-lldp?expand=0&rev=18
This commit is contained in:
parent
5b1a54f450
commit
3c348baeb9
11
open-lldp-gcc5.patch
Normal file
11
open-lldp-gcc5.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- open-lldp-0.9.46.orig/Makefile.am
|
||||||
|
+++ open-lldp-0.9.46/Makefile.am
|
||||||
|
@@ -16,7 +16,7 @@ ACLOCAL_AMFLAGS = -I m4
|
||||||
|
parse_cli.o: CFLAGS+=-U_FORTIFY_SOURCE -Wno-error
|
||||||
|
|
||||||
|
## system requires a shared libconfig
|
||||||
|
-AM_CFLAGS = -Wall -Werror -Wextra -Wformat=2 $(LIBCONFIG_CFLAGS) $(LIBNL_CFLAGS)
|
||||||
|
+AM_CFLAGS = -Wall -fgnu89-inline -Wextra -Wformat=2 $(LIBCONFIG_CFLAGS) $(LIBNL_CFLAGS)
|
||||||
|
AM_LDFLAGS = $(LIBCONFIG_LIBS) $(LIBNL_LIBS)
|
||||||
|
|
||||||
|
## header files to be installed, for programs using the client interface to lldpad
|
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Mar 23 23:23:27 UTC 2015 - crrodriguez@opensuse.org
|
||||||
|
|
||||||
|
- Fix build with gcc5 (open-lldp-gcc5.patch)
|
||||||
|
* do not use -Werror
|
||||||
|
* Use -fgnu89-inline as the code relies on the old semantics
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed May 21 15:12:45 UTC 2014 - jsegitz@novell.com
|
Wed May 21 15:12:45 UTC 2014 - jsegitz@novell.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package open-lldp
|
# spec file for package open-lldp
|
||||||
#
|
#
|
||||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -35,6 +35,7 @@ Source: http://ftp-osl.osuosl.org/pub/%{name}/%{name}-%{version}.tar.gz
|
|||||||
Patch0: %{name}-git-update.patch.bz2
|
Patch0: %{name}-git-update.patch.bz2
|
||||||
Patch1: 0001-lldpad-print-verbose-error-messages.patch
|
Patch1: 0001-lldpad-print-verbose-error-messages.patch
|
||||||
Patch2: 0002-Move-to-libnl3.patch
|
Patch2: 0002-Move-to-libnl3.patch
|
||||||
|
Patch3: open-lldp-gcc5.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
Provides: dcbd = %{version}
|
Provides: dcbd = %{version}
|
||||||
Obsoletes: dcbd < %{version}
|
Obsoletes: dcbd < %{version}
|
||||||
@ -75,6 +76,7 @@ with Data Center Bridging (DCB) for Intel(R) Network Connections
|
|||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
%patch2 -p1
|
%patch2 -p1
|
||||||
|
%patch3 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf -vi
|
autoreconf -vi
|
||||||
|
Loading…
Reference in New Issue
Block a user