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
26 lines
836 B
Diff
26 lines
836 B
Diff
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;
|
|
}
|