Hello community,

here is the log from the commit of package kterm for openSUSE:Factory checked 
in at 2016-07-24 19:52:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kterm (Old)
 and      /work/SRC/openSUSE:Factory/.kterm.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kterm"

Changes:
--------
--- /work/SRC/openSUSE:Factory/kterm/kterm.changes      2013-04-03 
23:46:19.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.kterm.new/kterm.changes 2016-07-24 
19:53:19.000000000 +0200
@@ -1,0 +2,6 @@
+Thu Jul 21 09:40:33 UTC 2016 - [email protected]
+
+- implicit-decl.patch: fix implicit declarations, also build with
+  _GNU_SOURCE
+
+-------------------------------------------------------------------

New:
----
  implicit-decl.patch

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

Other differences:
------------------
++++++ kterm.spec ++++++
--- /var/tmp/diff_new_pack.OGBb65/_old  2016-07-24 19:53:20.000000000 +0200
+++ /var/tmp/diff_new_pack.OGBb65/_new  2016-07-24 19:53:20.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package kterm
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 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
@@ -54,6 +54,7 @@
 Patch11:        kterm-6.2.0-nonvoid.patch
 Patch12:        kterm-6.2.0-gcc4.patch
 Patch13:        null-pointer.patch
+Patch14:        implicit-decl.patch
 
 %description
 Kterm is a multilingual terminal emulator based on xterm. The major
@@ -81,13 +82,13 @@
 %patch11 -p1
 %patch12
 %patch13 -p1
+%patch14 -p1
 
 %build
 xmkmf -a
-make CCOPTIONS="$RPM_OPT_FLAGS"
+make CCOPTIONS="$RPM_OPT_FLAGS -D_GNU_SOURCE"
 
 %install
-[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf 
$RPM_BUILD_ROOT;
 make install DESTDIR=$RPM_BUILD_ROOT
 make install.man MANSUFFIX=1 LIBMANSUFFIX=3 DESTDIR=$RPM_BUILD_ROOT
 mkdir -p $RPM_BUILD_ROOT%{appdefdir}/{ja,ja_JP.SJIS}/app-defaults/

++++++ implicit-decl.patch ++++++
Index: kterm-6.2.0/charproc.c
===================================================================
--- kterm-6.2.0.orig/charproc.c
+++ kterm-6.2.0/charproc.c
@@ -71,6 +71,7 @@ in this Software without prior written a
 #define Select select
 #endif
 #include <stdio.h>
+#include <stdlib.h>
 #include <errno.h>
 #include <setjmp.h>
 #include <ctype.h>
Index: kterm-6.2.0/main.c
===================================================================
--- kterm-6.2.0.orig/main.c
+++ kterm-6.2.0/main.c
@@ -80,6 +80,7 @@ SOFTWARE.
 #endif
 #include <X11/Xlocale.h>
 #include <pwd.h>
+#include <grp.h>
 #include <ctype.h>
 #include "data.h"
 #include "error.h"
Index: kterm-6.2.0/scrollbar.c
===================================================================
--- kterm-6.2.0.orig/scrollbar.c
+++ kterm-6.2.0/scrollbar.c
@@ -29,6 +29,8 @@
 #include "ptyx.h"              /* gets Xt headers, too */
 
 #include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
 #include <ctype.h>
 #include <X11/Xatom.h>
 

Reply via email to