SHA256
1
0
forked from pool/openpgm

Accepting request 668567 from home:bluca:branches:devel:libraries:c_c++

Backport patches from upstream to avoid adding a non-existing foo/lib/pgm-5.2/include directory to pkg-config's CFLAGS which breaks applications using strict compiler flags, and to make the build reproducible regardless of the reported system/architecture

OBS-URL: https://build.opensuse.org/request/show/668567
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/openpgm?expand=0&rev=17
This commit is contained in:
2019-01-28 12:11:51 +00:00
committed by Git OBS Bridge
parent d14e883a3b
commit d0822f32be
3 changed files with 48 additions and 0 deletions

View File

@@ -35,6 +35,10 @@ Source: https://github.com/steve-o/openpgm/archive/release-5-2-122.tar.g
Source99: baselibs.conf
# PATCH-FIX-UPSTREAM bmwiedemann https://github.com/steve-o/openpgm/pull/48
Patch0: libpgm-5.2.122-reproducible.patch
# PATCH-FIX-UPSTREAM bluca https://github.com/steve-o/openpgm/pull/58
Patch1: libpgm-5.2.122-reproducible-architecture.patch
# PATCH-FIX-UPSTREAM bluca https://github.com/steve-o/openpgm/pull/57
Patch2: libpgm-5.2.122-pkg-config-do-not-add-I-to-non-existing-directory.patch
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: gcc-c++
@@ -76,6 +80,8 @@ This subpackage contains the header files for OpenPGM.
%prep
%setup -q -n "%{name}-release-%{tarball_version}/openpgm/pgm"
%patch0 -p1
%patch1 -p1
%patch2 -p1
%build
mkdir -p m4