libgnomekbd/libgnomekbd_avoid_implicit_definition.patch
Dominique Leuenberger ff8e5521c6 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
2021-06-04 16:56:04 +00:00

12 lines
431 B
Diff

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>