Accepting request 848877 from home:m4r3k

- Add patch to fix test on Big Endian architectures

OBS-URL: https://build.opensuse.org/request/show/848877
OBS-URL: https://build.opensuse.org/package/show/network/bird?expand=0&rev=14
This commit is contained in:
Martin Hauke
2020-11-16 15:39:18 +00:00
committed by Git OBS Bridge
parent 7792ee7ff9
commit 10b4905b40
3 changed files with 81 additions and 0 deletions

View File

@@ -31,6 +31,7 @@ Source: ftp://bird.network.cz/pub/bird/bird-%{version}.tar.gz
Source1: bird.service
Source3: bird.tmpfiles.d
Patch0: gcc10.patch
Patch1: fix_test_for_bigendian_arch.patch
BuildRequires: bison
BuildRequires: flex
BuildRequires: ncurses-devel
@@ -66,6 +67,7 @@ This package holds the HTML documentation.
%prep
%setup -q
%patch0 -p1
%patch1 -p1
%build
export CFLAGS="${RPM_OPT_FLAGS} -fpic -DPIC -fno-strict-aliasing -Wno-parentheses -Wno-pointer-sign"