[Buildroot] [git commit] package/x11r7/xdriver_xf86-input-keyboard: Fix compile error
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Sat Apr 18 17:07:53 UTC 2015
commit: http://git.buildroot.net/buildroot/commit/?id=3f866eb24b807a2a9055fda7561e835452dca8ed
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
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 at t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
---
.../xdriver_xf86-input-keyboard.mk | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
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))
More information about the buildroot
mailing list