Hello community,

here is the log from the commit of package nudoku for openSUSE:Factory checked 
in at 2020-02-06 13:09:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/nudoku (Old)
 and      /work/SRC/openSUSE:Factory/.nudoku.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "nudoku"

Thu Feb  6 13:09:23 2020 rev:5 rq:770470 version:2.0.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/nudoku/nudoku.changes    2019-07-31 
14:28:10.478160644 +0200
+++ /work/SRC/openSUSE:Factory/.nudoku.new.26092/nudoku.changes 2020-02-06 
13:09:34.864380406 +0100
@@ -1,0 +2,8 @@
+Thu Feb  6 07:47:24 UTC 2020 - Michael Vetter <[email protected]>
+
+- Add nudoku-2.0.0-unused-var.patch:
+  Remove unused variable. Fixes build on TW.
+- Add nudoku-2.0.0-gettext.patch:
+  Require gettext 0.20
+
+-------------------------------------------------------------------

New:
----
  nudoku-2.0.0-gettext.patch
  nudoku-2.0.0-unused-var.patch

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

Other differences:
------------------
++++++ nudoku.spec ++++++
--- /var/tmp/diff_new_pack.UyN0Wg/_old  2020-02-06 13:09:36.616381359 +0100
+++ /var/tmp/diff_new_pack.UyN0Wg/_new  2020-02-06 13:09:36.620381362 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package nudoku
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 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
@@ -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/
 #
 
 
@@ -24,6 +24,8 @@
 Group:          Amusements/Games/Board/Puzzle
 URL:            https://github.com/jubalh/%{name}
 Source:         
https://github.com/jubalh/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
+Patch0:         nudoku-2.0.0-unused-var.patch
+Patch1:         nudoku-2.0.0-gettext.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  cairo-devel
@@ -38,6 +40,8 @@
 
 %prep
 %setup -q
+%patch0 -p1
+%patch1 -p1
 
 %build
 autoreconf -fi

++++++ nudoku-2.0.0-gettext.patch ++++++
diff -urEbw nudoku-2.0.0/configure.ac nudoku-2.0.0.new/configure.ac
--- nudoku-2.0.0/configure.ac   2019-07-30 12:06:33.000000000 +0200
+++ nudoku-2.0.0.new/configure.ac       2020-02-06 09:55:11.862170640 +0100
@@ -52,7 +52,7 @@
 
 # Set gettext files
 AM_GNU_GETTEXT([external])
-AM_GNU_GETTEXT_VERSION([0.19])
+AM_GNU_GETTEXT_VERSION([0.20])
 
 # Checks for library functions.
 AC_FUNC_MALLOC
++++++ nudoku-2.0.0-unused-var.patch ++++++
>From a41e3535a9661bb56be6cda81731b691aed7c57e Mon Sep 17 00:00:00 2001
From: Michael Vetter <[email protected]>
Date: Thu, 6 Feb 2020 08:44:07 +0100
Subject: [PATCH] Remove unused variable

---
 src/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main.c b/src/main.c
index ec9cd45..dc84676 100644
--- a/src/main.c
+++ b/src/main.c
@@ -454,7 +454,7 @@ int main(int argc, char *argv[])
        bindtextdomain(PACKAGE, LOCALEDIR);
        textdomain(PACKAGE);
 #endif
-       bool run = true, enable_highlights=false;
+       bool run = true;
        int key, x, y, posx, posy;
 
        parse_arguments(argc, argv);

Reply via email to