* [Buildroot] [PATCH 1/1] package/x11r7/xdriver_xf86-input-keyboard: Fix compile error
@ 2015-04-18 16:39 Bernd Kuhls
2015-04-18 17:11 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Bernd Kuhls @ 2015-04-18 16:39 UTC (permalink / raw)
To: buildroot
lnx_kbd.c: In function 'OpenKeyboard':
lnx_kbd.c:194:8: error: implicit declaration of function 'getpgid' [-Werror=implicit-function-declaration]
rc = tcsetpgrp(pInfo->fd, getpgid(0));
^
lnx_kbd.c:194:8: warning: nested extern declaration of 'getpgid' [-Wnested-externs]
cc1: some warnings being treated as errors
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
.../x11r7/xdriver_xf86-input-keyboard/xdriver_xf86-input-keyboard.mk | 1 +
1 file changed, 1 insertion(+)
diff --git a/package/x11r7/xdriver_xf86-input-keyboard/xdriver_xf86-input-keyboard.mk b/package/x11r7/xdriver_xf86-input-keyboard/xdriver_xf86-input-keyboard.mk
index 209f44a..eb2d582 100644
--- a/package/x11r7/xdriver_xf86-input-keyboard/xdriver_xf86-input-keyboard.mk
+++ b/package/x11r7/xdriver_xf86-input-keyboard/xdriver_xf86-input-keyboard.mk
@@ -10,5 +10,6 @@ XDRIVER_XF86_INPUT_KEYBOARD_SITE = http://xorg.freedesktop.org/releases/individu
XDRIVER_XF86_INPUT_KEYBOARD_LICENSE = MIT
XDRIVER_XF86_INPUT_KEYBOARD_LICENSE_FILES = COPYING
XDRIVER_XF86_INPUT_KEYBOARD_DEPENDENCIES = xserver_xorg-server xproto_inputproto xproto_kbproto xproto_randrproto xproto_xproto
+XDRIVER_XF86_INPUT_KEYBOARD_CONF_OPTS = --disable-selective-werror
$(eval $(autotools-package))
--
1.7.10.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH 1/1] package/x11r7/xdriver_xf86-input-keyboard: Fix compile error
2015-04-18 16:39 [Buildroot] [PATCH 1/1] package/x11r7/xdriver_xf86-input-keyboard: Fix compile error Bernd Kuhls
@ 2015-04-18 17:11 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2015-04-18 17:11 UTC (permalink / raw)
To: buildroot
Dear Bernd Kuhls,
On Sat, 18 Apr 2015 18:39:29 +0200, Bernd Kuhls wrote:
> lnx_kbd.c: In function 'OpenKeyboard':
> lnx_kbd.c:194:8: error: implicit declaration of function 'getpgid' [-Werror=implicit-function-declaration]
> rc = tcsetpgrp(pInfo->fd, getpgid(0));
> ^
> lnx_kbd.c:194:8: warning: nested extern declaration of 'getpgid' [-Wnested-externs]
> cc1: some warnings being treated as errors
>
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
> ---
> .../x11r7/xdriver_xf86-input-keyboard/xdriver_xf86-input-keyboard.mk | 1 +
> 1 file changed, 1 insertion(+)
Applied, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-04-18 17:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-18 16:39 [Buildroot] [PATCH 1/1] package/x11r7/xdriver_xf86-input-keyboard: Fix compile error Bernd Kuhls
2015-04-18 17:11 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox