Hello community,

here is the log from the commit of package ckermit for openSUSE:Factory checked 
in at 2019-03-10 09:38:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ckermit (Old)
 and      /work/SRC/openSUSE:Factory/.ckermit.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ckermit"

Sun Mar 10 09:38:04 2019 rev:10 rq:682636 version:9.0.302

Changes:
--------
--- /work/SRC/openSUSE:Factory/ckermit/ckermit.changes  2015-03-30 
19:33:54.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.ckermit.new.28833/ckermit.changes       
2019-03-10 09:38:07.968136622 +0100
@@ -1,0 +2,5 @@
+Thu Mar  7 19:51:40 UTC 2019 - Joop Boonen <joop.boo...@opensuse.org>
+
+- Fixed time and file failure via time_and_file_failure.patch 
+
+-------------------------------------------------------------------

New:
----
  time_and_file_failure.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ckermit.spec ++++++
--- /var/tmp/diff_new_pack.cnYaHR/_old  2019-03-10 09:38:09.204136325 +0100
+++ /var/tmp/diff_new_pack.cnYaHR/_new  2019-03-10 09:38:09.208136325 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package ckermit
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -25,6 +25,8 @@
 Url:            http://www.kermitproject.org/
 Source0:        ftp://ftp.kermitproject.org/kermit/archives/cku302.tar.gz
 Patch0:         decl-definition-conflict.patch
+# PATCH-FIX-UPSTREAM time_and_file_failure.patch
+Patch1:         time_and_file_failure.patch
 BuildRequires:  ncurses-devel
 Provides:       kermit
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -56,6 +58,7 @@
 %prep
 %setup -q -c
 %patch0 -p1
+%patch1 -p1
 
 %build
 export CFLAGS="%{optflags}"

++++++ time_and_file_failure.patch ++++++
diff -Naur ckermit-9.0.302.orig/ckcmai.c ckermit-9.0.302/ckcmai.c
--- ckermit-9.0.302.orig/ckcmai.c       2011-08-20 23:20:42.000000000 +0200
+++ ckermit-9.0.302/ckcmai.c    2019-03-07 21:01:18.107350463 +0100
@@ -11,6 +11,10 @@
 */
 #include "ckcsym.h"
 /*
+time.h is needed for the time function.
+*/
+#include <time.h>
+/*
   Consolidated program C-Kermit version information for all platforms
   (but for UNIX also see ckuver.h).  See makever() below for how they are used.
 */
diff -Naur ckermit-9.0.302.orig/ckucmd.c ckermit-9.0.302/ckucmd.c
--- ckermit-9.0.302.orig/ckucmd.c       2011-07-14 14:14:37.000000000 +0200
+++ ckermit-9.0.302/ckucmd.c    2019-03-07 21:01:47.635417479 +0100
@@ -7370,7 +7370,7 @@
 
 /* Here we must look inside the stdin buffer - highly platform dependent */
 
-#ifdef _IO_file_flags                  /* Linux */
+#ifdef _IO_EOF_SEEN                    /* Linux */
     x = (int) ((stdin->_IO_read_end) - (stdin->_IO_read_ptr));
     debug(F101,"cmdconchk _IO_file_flags","",x);
 #else  /* _IO_file_flags */

Reply via email to