1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

sysutils/g15daemon: unbreak build after 5d998836b3

checking for linux/input.h... no
checking for linux/uinput.h... no
[...]
g15_plugin_uinput.c:157:20: error: use of undeclared identifier 'G15_KEY_G1'
        if((currentkeys & G15_KEY_G1) && !(lastkeys & G15_KEY_G1))
                          ^
g15_plugin_uinput.c:157:48: error: use of undeclared identifier 'G15_KEY_G1'
        if((currentkeys & G15_KEY_G1) && !(lastkeys & G15_KEY_G1))
                                                      ^
g15_plugin_uinput.c:158:11: error: use of undeclared identifier 'GKEY_OFFSET'
                keydown(GKEY_OFFSET);
                        ^
g15_plugin_uinput.c:159:26: error: use of undeclared identifier 'G15_KEY_G1'
        else if(!(currentkeys & G15_KEY_G1) && (lastkeys & G15_KEY_G1))
                                ^
g15_plugin_uinput.c:159:53: error: use of undeclared identifier 'G15_KEY_G1'
        else if(!(currentkeys & G15_KEY_G1) && (lastkeys & G15_KEY_G1))
                                                           ^
g15_plugin_uinput.c:160:9: error: use of undeclared identifier 'GKEY_OFFSET'
                keyup(GKEY_OFFSET);
                      ^
g15_plugin_uinput.c:161:20: error: use of undeclared identifier 'G15_KEY_G2'
        if((currentkeys & G15_KEY_G2) && !(lastkeys & G15_KEY_G2))
                          ^
g15_plugin_uinput.c:161:48: error: use of undeclared identifier 'G15_KEY_G2'
        if((currentkeys & G15_KEY_G2) && !(lastkeys & G15_KEY_G2))
                                                      ^
g15_plugin_uinput.c:162:11: error: use of undeclared identifier 'GKEY_OFFSET'
                keydown(GKEY_OFFSET+1);
                        ^
g15_plugin_uinput.c:163:26: error: use of undeclared identifier 'G15_KEY_G2'
        else if(!(currentkeys & G15_KEY_G2) && (lastkeys & G15_KEY_G2))
                                ^
g15_plugin_uinput.c:163:53: error: use of undeclared identifier 'G15_KEY_G2'
        else if(!(currentkeys & G15_KEY_G2) && (lastkeys & G15_KEY_G2))
                                                           ^
g15_plugin_uinput.c:164:9: error: use of undeclared identifier 'GKEY_OFFSET'
                keyup(GKEY_OFFSET+1);
                      ^
g15_plugin_uinput.c:165:20: error: use of undeclared identifier 'G15_KEY_G3'
        if((currentkeys & G15_KEY_G3) && !(lastkeys & G15_KEY_G3))
                          ^
g15_plugin_uinput.c:165:48: error: use of undeclared identifier 'G15_KEY_G3'
        if((currentkeys & G15_KEY_G3) && !(lastkeys & G15_KEY_G3))
                                                      ^
g15_plugin_uinput.c:166:11: error: use of undeclared identifier 'GKEY_OFFSET'
                keydown(GKEY_OFFSET+2);
                        ^
g15_plugin_uinput.c:167:26: error: use of undeclared identifier 'G15_KEY_G3'
        else if(!(currentkeys & G15_KEY_G3) && (lastkeys & G15_KEY_G3))
                                ^
g15_plugin_uinput.c:167:53: error: use of undeclared identifier 'G15_KEY_G3'
        else if(!(currentkeys & G15_KEY_G3) && (lastkeys & G15_KEY_G3))
                                                           ^
g15_plugin_uinput.c:168:9: error: use of undeclared identifier 'GKEY_OFFSET'
                keyup(GKEY_OFFSET+2);
                      ^
g15_plugin_uinput.c:169:20: error: use of undeclared identifier 'G15_KEY_G4'
        if((currentkeys & G15_KEY_G4) && !(lastkeys & G15_KEY_G4))
                          ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]

Pointy hat to:	manu
This commit is contained in:
Jan Beich 2021-11-10 09:24:08 +00:00
parent c5fa8f5068
commit 5bd415e39c

View File

@ -9,6 +9,7 @@ COMMENT= Daemon for Logitech G15 Keyboards
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto
LIB_DEPENDS+= libg15.so:sysutils/libg15 \
libg15render.so:sysutils/libg15render \
libinput.so:x11/libinput