Accepting request 725291 from devel:libraries:c_c++

OBS-URL: https://build.opensuse.org/request/show/725291
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openpgm?expand=0&rev=7
This commit is contained in:
Dominique Leuenberger 2019-08-27 08:13:27 +00:00 committed by Git OBS Bridge
commit de14a47969
3 changed files with 37 additions and 0 deletions

View File

@ -0,0 +1,28 @@
From: Michel Normand <normand@linux.vnet.ibm.com>
Subject: libpgm 5.2.122 configure rdtsc checking chg
Date: Fri, 16 Aug 2019 13:20:53 +0200
libpgm 5.2.122 configure rdtsc checking chg
To avoid rdtsc to be enabled when not required
(for PowerPC ARM) when LTO is enabled; eg openSUSE:
https://build.opensuse.org/package/show/devel:libraries:c_c++/openpgm
Signed-off-by: Michel Normand <normand@linux.vnet.ibm.com>
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: pgm/configure.ac
===================================================================
--- pgm.orig/configure.ac
+++ pgm/configure.ac
@@ -153,7 +153,7 @@ darwin*)
AC_MSG_RESULT([no])
;;
*)
-AC_COMPILE_IFELSE(
+AC_LINK_IFELSE(
[AC_LANG_PROGRAM(,[[unsigned long lo, hi;
__asm__ __volatile__ ("rdtsc" : "=a" (lo), "=d" (hi));]])],
[AC_MSG_RESULT([yes])

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Aug 16 11:40:05 UTC 2019 - Michel Normand <normand@linux.vnet.ibm.com>
- Add libpgm-5.2.122-configure-rdtsc-checking-chg.patch
same as https://github.com/steve-o/openpgm/pull/63
-------------------------------------------------------------------
Mon Jan 28 12:51:34 UTC 2019 - luca.boccassi@gmail.com

View File

@ -39,6 +39,8 @@ Patch0: libpgm-5.2.122-reproducible.patch
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
# upstream pending patch https://github.com/steve-o/openpgm/pull/63
Patch3: libpgm-5.2.122-configure-rdtsc-checking-chg.patch
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: gcc-c++
@ -82,6 +84,7 @@ This subpackage contains the header files for OpenPGM.
%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch3 -p1
%build
mkdir -p m4