Accepting request 72748 from home:a_jaeger:branches:openSUSE:Factory
Fix build with new glibc. OBS-URL: https://build.opensuse.org/request/show/72748 OBS-URL: https://build.opensuse.org/package/show/network/open-iscsi?expand=0&rev=9
This commit is contained in:
parent
6026716148
commit
69f15689a3
13
open-iscsi-header.patch
Normal file
13
open-iscsi-header.patch
Normal file
@ -0,0 +1,13 @@
|
||||
Index: open-iscsi-2.0-870-rc1/usr/iscsi_sysfs.c
|
||||
===================================================================
|
||||
--- open-iscsi-2.0-870-rc1.orig/usr/iscsi_sysfs.c
|
||||
+++ open-iscsi-2.0-870-rc1/usr/iscsi_sysfs.c
|
||||
@@ -22,6 +22,8 @@
|
||||
#include <string.h>
|
||||
#include <errno.h>
|
||||
#include <dirent.h>
|
||||
+#include <sys/stat.h>
|
||||
+
|
||||
|
||||
#include "log.h"
|
||||
#include "initiator.h"
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 6 09:20:29 UTC 2011 - aj@suse.de
|
||||
|
||||
- Fix build with newer glibc.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 12 18:05:27 CET 2010 - mmarek@suse.cz
|
||||
|
||||
|
@ -62,6 +62,7 @@ Patch26: %{name}-remove-dump-char
|
||||
Patch27: %{name}-load-ibft-before-reading-sys-firmware
|
||||
Patch28: %{name}-remove-trailing-tilde
|
||||
Patch29: open-iscsi-2.0-870-rc1-static.patch
|
||||
Patch30: %{name}-header.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
@ -120,6 +121,7 @@ Authors:
|
||||
%patch27 -p1
|
||||
%patch28 -p1
|
||||
%patch29
|
||||
%patch30 -p1
|
||||
|
||||
%build
|
||||
%{__make} OPTFLAGS="${RPM_OPT_FLAGS} -fno-strict-aliasing -DLOCK_DIR=\\\"/etc/iscsi\\\""
|
||||
|
Loading…
x
Reference in New Issue
Block a user