Remove pcmcia from packages
[gumsense-br.git] / package / cvoicecontrol / cvoicecontrol-keypressed.patch
blob937f4a21e4beb413bcee54f69fe361f6a7500ebe
1 --- cvoicecontrol-0.9alpha/cvoicecontrol/keypressed.c 2006-05-14 17:52:38.000000000 +0200
2 +++ cvoicecontrol-0.9alpha/cvoicecontrol/keypressed.c 2006-05-14 17:52:48.000000000 +0200
3 @@ -77,7 +77,9 @@
5 set_keypress();
7 - if ((fd_stdin = open("/dev/stdin", O_RDONLY, 0)) == -1)
8 + // FRANK patch - /dev/stdin does not exist on the gumstix
9 + //if ((fd_stdin = open("/dev/stdin", O_RDONLY, 0)) == -1)
10 + if ((fd_stdin = fileno(stdin)) == -1)
11 return 0;
13 FD_SET(fd_stdin, &reads_keypressed);