HomeFreeBSD

sysutils/g15daemon: unbreak build after 5d998836b36f

Description

sysutils/g15daemon: unbreak build after 5d998836b36f

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

Details

Provenance
jbeichAuthored on Nov 10 2021, 9:24 AM
Parents
R11:c5fa8f506838: misc/dahdi-kmod: partially unbreak, change maintainer
Branches
Unknown
Tags
Unknown