Accepting request 769281 from home:lee_duncan:branches:Base:System

Resubmitting with 586 fix

OBS-URL: https://build.opensuse.org/request/show/769281
OBS-URL: https://build.opensuse.org/package/show/Base:System/open-isns?expand=0&rev=29
This commit is contained in:
Lee Duncan 2020-02-01 18:31:03 +00:00 committed by Git OBS Bridge
parent 43647539bd
commit 745abfc465
3 changed files with 30 additions and 2 deletions

View File

@ -0,0 +1,25 @@
diff -aurp a/configure.ac b/configure.ac
--- a/configure.ac 2020-01-23 13:02:36.000000000 -0800
+++ b/configure.ac 2020-02-01 10:14:08.853538750 -0800
@@ -17,7 +17,7 @@ AC_PATH_PROG(SH, sh)
dnl C Compiler features
AC_C_INLINE
if test "$GCC" = "yes"; then
- CFLAGS="-Wall -Werror -Wextra $CFLAGS"
+ CFLAGS="-Wall -Wextra $CFLAGS"
CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE"
fi
Only in ./open-isns-0.100: .configure.ac.swp
diff -aurp a/isnsdd.c b/isnsdd.c
--- a/isnsdd.c 2020-01-23 13:02:36.000000000 -0800
+++ b/isnsdd.c 2020-02-01 10:14:04.277547782 -0800
@@ -401,7 +401,7 @@ check_portal_registration(__attribute__(
continue;
last_modified = isns_object_last_modified(obj);
- if (last_modified + 2 * interval > now) {
+ if ((time_t)(last_modified + 2 * interval) > now) {
good_portals++;
continue;
}

View File

@ -23,8 +23,9 @@ Fri Jan 31 22:05:13 UTC 2020 - lduncan@suse.com
* Fix compiler complaint about possible alignment issue
Replacing open-isns-0.99.tar.xz with open-isns-0.100.tar.xz.
Also, added latest (not yet tagged) fixes from upstream,
adding patch:
* open-isns-updates.diff.bz2
adding patch, and add in a 586-fix, adding:
* open-isns-updates.diff.bz2, and
* open-isns-fix-586-time.patch
-------------------------------------------------------------------
Mon Oct 28 17:28:34 UTC 2019 - Lee Duncan <lduncan@suse.com>

View File

@ -24,6 +24,7 @@ Version: 0.100
Release: 0
Source: %{name}-%{version}.tar.xz
Patch1: %{name}-updates.diff.bz2
Patch2: %{name}-fix-586-time.patch
Url: https://github.com/open-iscsi/%{name}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: autoconf
@ -57,6 +58,7 @@ Files to develop an application using the open-isns library.
%prep
%setup -n %{name}-%{version}
%patch1 -p1
%patch2 -p1
%build
%global _lto_cflags %{?_lto_cflags} -ffat-lto-objects