Accepting request 812443 from home:alois:branches:hardware
- Add ckb-next-gcc10.patch OBS-URL: https://build.opensuse.org/request/show/812443 OBS-URL: https://build.opensuse.org/package/show/hardware/ckb-next?expand=0&rev=14
This commit is contained in:
parent
a600566036
commit
640fa89a63
28
ckb-next-gcc10.patch
Normal file
28
ckb-next-gcc10.patch
Normal file
@ -0,0 +1,28 @@
|
||||
From a9f41cd8b8f5b04c0c66c6d94f96a9725943831e Mon Sep 17 00:00:00 2001
|
||||
From: Erik Zeek <zeekec@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 <zeekec@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;
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 8 07:44:47 UTC 2020 - aloisio@gmx.com
|
||||
|
||||
- Add ckb-next-gcc10.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 20 23:15:31 UTC 2019 - Simon Lees <sflees@suse.de>
|
||||
|
||||
|
@ -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 @@ Patch3: ckb-next-no-cmake-modules.patch
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user