Hello community,

here is the log from the commit of package cellwriter for openSUSE:Factory 
checked in at 2020-09-21 17:22:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/cellwriter (Old)
 and      /work/SRC/openSUSE:Factory/.cellwriter.new.4249 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "cellwriter"

Mon Sep 21 17:22:27 2020 rev:21 rq:835284 version:1.3.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/cellwriter/cellwriter.changes    2017-12-06 
08:59:18.543403945 +0100
+++ /work/SRC/openSUSE:Factory/.cellwriter.new.4249/cellwriter.changes  
2020-09-21 17:25:02.280005665 +0200
@@ -1,0 +2,6 @@
+Thu Sep 17 16:50:24 UTC 2020 - Christophe Giboudeaux <[email protected]>
+
+- Add patch to fix build with GCC10:
+  * 0001-Fix-build-failure-with-GCC10.patch
+
+-------------------------------------------------------------------

New:
----
  0001-Fix-build-failure-with-GCC10.patch

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

Other differences:
------------------
++++++ cellwriter.spec ++++++
--- /var/tmp/diff_new_pack.jh063p/_old  2020-09-21 17:25:03.588006918 +0200
+++ /var/tmp/diff_new_pack.jh063p/_new  2020-09-21 17:25:03.588006918 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package cellwriter
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -20,11 +20,14 @@
 Version:        1.3.6
 Release:        0
 Summary:        Character-based handwriting input panel
-License:        GPL-2.0+
+License:        GPL-2.0-or-later
 Group:          System/GUI/GNOME
-Url:            http://risujin.org/cellwriter/
+URL:            http://risujin.org/cellwriter/
 Source0:        
https://github.com/risujin/cellwriter/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM
+Patch0:         0001-Fix-build-failure-with-GCC10.patch
 BuildRequires:  automake
+BuildRequires:  pkgconfig
 BuildRequires:  update-desktop-files
 BuildRequires:  pkgconfig(cairo)
 BuildRequires:  pkgconfig(gdk-pixbuf-2.0)
@@ -45,20 +48,21 @@
 the keyboard.
 
 %prep
-%setup -q
+%autosetup -p1
 
 %build
 autoreconf -fi
 %configure \
         --without-gnome
-make %{?_smp_mflags}
+%make_build
 
 %install
 %make_install
 %suse_update_desktop_file -i -G "Handwriting Input Panel" cellwriter Utility 
Accessibility
 
 %files
-%doc README NEWS COPYING AUTHORS
+%license COPYING
+%doc README NEWS AUTHORS
 %{_bindir}/*
 %{_mandir}/man1/*
 %{_datadir}/%{name}

++++++ 0001-Fix-build-failure-with-GCC10.patch ++++++
>From d2616244b3193080f07b75a425666495d53b29bc Mon Sep 17 00:00:00 2001
From: Christophe Giboudeaux <[email protected]>
Date: Thu, 17 Sep 2020 18:49:55 +0200
Subject: [PATCH] Fix build failure with GCC10

---
 src/options.c   | 3 ---
 src/recognize.c | 2 +-
 2 files changed, 1 insertion(+), 4 deletions(-)

diff --git a/src/options.c b/src/options.c
index 174ccd0..7132a5b 100644
--- a/src/options.c
+++ b/src/options.c
@@ -26,9 +26,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 
 02110-1301, USA.
 #include <stdlib.h>
 #include <string.h>
 
-/* preprocess.c */
-int ignore_stroke_dir, ignore_stroke_num;
-
 /* cellwidget.c */
 extern int cell_width, cell_height, cell_cols_pref, cell_rows_pref,
            train_on_input, right_to_left, keyboard_enabled, xinput_enabled;
diff --git a/src/recognize.c b/src/recognize.c
index 26cd083..4af7994 100644
--- a/src/recognize.c
+++ b/src/recognize.c
@@ -29,7 +29,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 
 02110-1301, USA.
 #include "recognize.h"
 
 /* preprocess.c */
-int prep_examined;
+extern int prep_examined;
 
 void engine_prep(void);
 
-- 
2.28.0


Reply via email to