Accepting request 830918 from network:fcoe
OBS-URL: https://build.opensuse.org/request/show/830918 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fcoe-utils?expand=0&rev=20
This commit is contained in:
commit
e39f3b0bf6
11
fcoe-utils-fix-arm.patch
Normal file
11
fcoe-utils-fix-arm.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- fcoe-utils-1.0.33.orig/fcnsq.c 2020-08-20 09:43:36.227637286 +0000
|
||||||
|
+++ fcoe-utils-1.0.33/fcnsq.c 2020-08-20 09:43:50.307246472 +0000
|
||||||
|
@@ -381,7 +381,7 @@ int main(int argc, char *argv[])
|
||||||
|
u64 wwnn = 0;
|
||||||
|
int rc = 0;
|
||||||
|
enum commands cmd = 0;
|
||||||
|
- char c;
|
||||||
|
+ signed char c;
|
||||||
|
uintmax_t wwnn_tmp = 0;
|
||||||
|
|
||||||
|
while(1) {
|
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Aug 20 09:49:22 UTC 2020 - Guillaume GARDET <guillaume.gardet@opensuse.org>
|
||||||
|
|
||||||
|
- Add patch to fix build on architectures where char is
|
||||||
|
unsigned (%arm, aarch64):
|
||||||
|
* fcoe-utils-fix-arm.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jul 15 17:24:06 UTC 2020 - Lee Duncan <lduncan@suse.com>
|
Wed Jul 15 17:24:06 UTC 2020 - Lee Duncan <lduncan@suse.com>
|
||||||
|
|
||||||
|
@ -38,6 +38,8 @@ License: GPL-2.0-only
|
|||||||
Group: System/Daemons
|
Group: System/Daemons
|
||||||
Source: %{name}-%{version}.tar.xz
|
Source: %{name}-%{version}.tar.xz
|
||||||
Patch1: Handle-NIC-names-longer-than-7-characters.patch
|
Patch1: Handle-NIC-names-longer-than-7-characters.patch
|
||||||
|
# PATCH-FIX-UPSTREAM - https://github.com/openSUSE/fcoe-utils/pull/14
|
||||||
|
Patch2: fcoe-utils-fix-arm.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
%{?systemd_requires}
|
%{?systemd_requires}
|
||||||
|
|
||||||
@ -49,6 +51,7 @@ connections.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
|
%patch2 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf -vi
|
autoreconf -vi
|
||||||
|
Loading…
Reference in New Issue
Block a user