Accepting request 897262 from home:qzhao:branches:GNOME:Factory
Add libgnomekbd_avoid_implicit_definition.patch: Add string.h into include files to avoid inplicit definition warning in building. This change is to meet the needs of the inspection of maintaince build checking script(bnc#1160963, bnc#1034390, glgo#GNOME/libgnomekbd!7) OBS-URL: https://build.opensuse.org/request/show/897262 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libgnomekbd?expand=0&rev=86
This commit is contained in:
parent
e97b4b06e3
commit
ff8e5521c6
@ -1,3 +1,12 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jun 1 17:24:30 UTC 2021 - Cliff Zhao <qzhao@suse.com>
|
||||||
|
|
||||||
|
- Add libgnomekbd_avoid_implicit_definition.patch: Add string.h into
|
||||||
|
include files to avoid inplicit definition warning in building.
|
||||||
|
This change is to meet the needs of the inspection of maintaince
|
||||||
|
build checking script(bnc#1160963, bnc#1034390,
|
||||||
|
glgo#GNOME/libgnomekbd!7)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon May 24 15:13:24 UTC 2021 - Cliff Zhao <qzhao@suse.com>
|
Mon May 24 15:13:24 UTC 2021 - Cliff Zhao <qzhao@suse.com>
|
||||||
|
|
||||||
|
@ -29,6 +29,8 @@ Source0: https://download.gnome.org/sources/libgnomekbd/3.26/%{name}-%{ve
|
|||||||
Patch0: libgnomekbd-avoid-coredump-on-ibus-engines.patch
|
Patch0: libgnomekbd-avoid-coredump-on-ibus-engines.patch
|
||||||
# PATCH-FIX-OPENSUSE libgnomekbd-set-default-indicator.patch bnc#1034390 qzhao@suse.com -- set the common keyboard layout indicator as default to avoid misleading.
|
# PATCH-FIX-OPENSUSE libgnomekbd-set-default-indicator.patch bnc#1034390 qzhao@suse.com -- set the common keyboard layout indicator as default to avoid misleading.
|
||||||
Patch1: libgnomekbd-set-default-indicator.patch
|
Patch1: libgnomekbd-set-default-indicator.patch
|
||||||
|
# PATCH-FIX-UPSTREAM libgnomekbd_avoid_implicit_definition.patch bnc#1160963 bnc#1034390 glgo#GNOME/libgnomekbd!7 qzhao@suse.com -- To avoid inplicit definition warning in building.
|
||||||
|
Patch2: libgnomekbd_avoid_implicit_definition.patch
|
||||||
BuildRequires: desktop-file-utils
|
BuildRequires: desktop-file-utils
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: intltool
|
BuildRequires: intltool
|
||||||
|
11
libgnomekbd_avoid_implicit_definition.patch
Normal file
11
libgnomekbd_avoid_implicit_definition.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
diff -Nura libgnomekbd-3.26.1/libgnomekbd/gkbd-keyboard-display.c libgnomekbd-3.26.1_new/libgnomekbd/gkbd-keyboard-display.c
|
||||||
|
--- libgnomekbd-3.26.1/libgnomekbd/gkbd-keyboard-display.c 2021-06-04 01:33:53.695366014 +0800
|
||||||
|
+++ libgnomekbd-3.26.1_new/libgnomekbd/gkbd-keyboard-display.c 2021-06-04 01:35:00.459249300 +0800
|
||||||
|
@@ -18,6 +18,7 @@
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <stdlib.h>
|
||||||
|
+#include <string.h>
|
||||||
|
#include <libintl.h>
|
||||||
|
#include <config.h>
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user