Accepting request 628120 from home:Andreas_Schwab:glibc:rebuild

- sysmacros.patch: Include <sys/sysmacros.h> for minor

OBS-URL: https://build.opensuse.org/request/show/628120
OBS-URL: https://build.opensuse.org/package/show/science:HPC/infinipath-psm?expand=0&rev=21
This commit is contained in:
Nicolas Morey-Chaisemartin 2018-08-09 06:00:28 +00:00 committed by Git OBS Bridge
parent c5b68068b2
commit 0252ca5c6d
3 changed files with 21 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Aug 2 09:21:12 UTC 2018 - schwab@suse.de
- sysmacros.patch: Include <sys/sysmacros.h> for minor
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Jul 14 04:58:35 UTC 2018 - bwiedemann@suse.com Sat Jul 14 04:58:35 UTC 2018 - bwiedemann@suse.com

View File

@ -22,7 +22,7 @@ Name: infinipath-psm
Version: 3.3 Version: 3.3
Release: 0 Release: 0
Summary: QLogic PSM Libraries Summary: QLogic PSM Libraries
License: BSD-2-Clause or GPL-2.0 License: BSD-2-Clause OR GPL-2.0-only
Group: Productivity/Networking/System Group: Productivity/Networking/System
Url: http://www.qlogic.com/ Url: http://www.qlogic.com/
Source0: %{name}-%{version}%{git_ver}.tar.gz Source0: %{name}-%{version}%{git_ver}.tar.gz
@ -35,6 +35,8 @@ Patch1: infinipath-psm-no_werror.patch
Patch3: infinipath-psm-executable_headers.patch Patch3: infinipath-psm-executable_headers.patch
# PATCH-FIX-UPSTREAM bmwiedemann https://github.com/intel/psm/pull/16 boo#1047218 # PATCH-FIX-UPSTREAM bmwiedemann https://github.com/intel/psm/pull/16 boo#1047218
Patch4: reproducible.patch Patch4: reproducible.patch
# PATCH-FIX-UPSTREAM Include <sys/sysmacros.h> for minor
Patch5: sysmacros.patch
BuildRequires: libuuid-devel BuildRequires: libuuid-devel
Conflicts: infinipath-libs Conflicts: infinipath-libs
ExclusiveArch: %ix86 x86_64 ExclusiveArch: %ix86 x86_64
@ -100,6 +102,7 @@ interfaces in parallel environments.
%patch1 %patch1
%patch3 %patch3
%patch4 -p1 %patch4 -p1
%patch5 -p1
%build %build
export RPM_OPT_FLAGS="%{optflags} -Wno-unused-but-set-variable" export RPM_OPT_FLAGS="%{optflags} -Wno-unused-but-set-variable"

12
sysmacros.patch Normal file
View File

@ -0,0 +1,12 @@
Index: infinipath-psm-3.3.26.604758e/ipath/ipath_proto.c
===================================================================
--- infinipath-psm-3.3.26.604758e.orig/ipath/ipath_proto.c
+++ infinipath-psm-3.3.26.604758e/ipath/ipath_proto.c
@@ -39,6 +39,7 @@
#include <sys/poll.h>
#include <sys/types.h>
#include <sys/stat.h>
+#include <sys/sysmacros.h>
#include <stdint.h>
#include <stdlib.h>
#include <stddef.h>