Hello community,

here is the log from the commit of package ckb-next for openSUSE:Factory 
checked in at 2020-06-09 00:05:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ckb-next (Old)
 and      /work/SRC/openSUSE:Factory/.ckb-next.new.3606 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ckb-next"

Tue Jun  9 00:05:44 2020 rev:7 rq:812444 version:0.4.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/ckb-next/ckb-next.changes        2019-11-21 
12:59:58.114503821 +0100
+++ /work/SRC/openSUSE:Factory/.ckb-next.new.3606/ckb-next.changes      
2020-06-09 00:07:36.137916073 +0200
@@ -1,0 +2,5 @@
+Mon Jun  8 07:44:47 UTC 2020 - aloi...@gmx.com
+
+- Add ckb-next-gcc10.patch
+
+-------------------------------------------------------------------

New:
----
  ckb-next-gcc10.patch

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

Other differences:
------------------
++++++ ckb-next.spec ++++++
--- /var/tmp/diff_new_pack.EZTYbH/_old  2020-06-09 00:07:37.701921622 +0200
+++ /var/tmp/diff_new_pack.EZTYbH/_new  2020-06-09 00:07:37.701921622 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ckb-next
 #
-# Copyright (c) 2019 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
@@ -34,6 +34,8 @@
 Patch4:         ckb-next-udev.patch
 # PATCH-FIX-UPSTREAM 422.patch boo#1135528
 Patch5:         422.patch
+# PATCH-FIX-UPSTREAM ckb-next-gcc10.patch
+Patch6:         ckb-next-gcc10.patch
 BuildRequires:  ImageMagick
 BuildRequires:  cmake
 BuildRequires:  hicolor-icon-theme

++++++ ckb-next-gcc10.patch ++++++
>From a9f41cd8b8f5b04c0c66c6d94f96a9725943831e Mon Sep 17 00:00:00 2001
From: Erik Zeek <zee...@gmail.com>
Date: Tue, 12 May 2020 09:56:49 -0600
Subject: [PATCH] Fix gcc-10/-fno-common error

gcc-10 now defaults to -fno-common and does not automatically add extern
to variables declared in headers.

https://gcc.gnu.org/gcc-10/porting_to.html

Signed-off-by: Erik Zeek <zee...@gmail.com>
---
 src/daemon/devnode.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/daemon/devnode.h b/src/daemon/devnode.h
index a0b3a931..349e778d 100644
--- a/src/daemon/devnode.h
+++ b/src/daemon/devnode.h
@@ -5,7 +5,7 @@
 #include "usb.h"
 
 /// Device path base ("/dev/input/ckb" or "/var/run/ckb")
-const char *const devpath;
+extern const char *const devpath;
 
 /// Group ID for the control nodes. -1 to give read/write access to everybody
 extern long gid;

Reply via email to