]> diplodocus.org Git - xorg-xinput/commitdiff
Mandriva patches to xinput.
authorPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
Sun, 16 Mar 2008 22:36:17 +0000 (19:36 -0300)
committerPeter Hutterer <peter@cs.unisa.edu.au>
Mon, 7 Apr 2008 07:47:24 +0000 (17:17 +0930)
  Change to src/list.c fixes a typo/oversight.
  Change to configure.ac required to avoid possible error in configure step
due to "unquoted" version test.

Signed-off-by: Peter Hutterer <peter@cs.unisa.edu.au>
configure.ac
src/list.c

index d296038348078172740ff58d8fda696e21233145..f38914f00fc962bb17814cb046fd1b0f20665c23 100644 (file)
@@ -12,7 +12,7 @@ AC_PROG_CC
 AC_PROG_INSTALL
 
 # Checks for pkg-config packages
-PKG_CHECK_MODULES(XINPUT, x11 xext xi inputproto >= 1.4)
+PKG_CHECK_MODULES(XINPUT, x11 xext xi [inputproto >= 1.4])
 AC_SUBST(XINPUT_CFLAGS)
 AC_SUBST(XINPUT_LIBS)
 
index 1bdffed3af61d05e978ad6afffad467be1dd2da5..4004ada51cf76179a76e5b18ffe06f8fe353469e 100644 (file)
@@ -125,10 +125,10 @@ list(Display      *display,
        int     ret = EXIT_SUCCESS;
 
        for(loop=0; loop<argc; loop++) {
-           info = find_device_info(display, argv[0], False);
+           info = find_device_info(display, argv[loop], False);
 
            if (!info) {
-               fprintf(stderr, "unable to find device %s\n", argv[0]);
+               fprintf(stderr, "unable to find device %s\n", argv[loop]);
                ret = EXIT_FAILURE;
            } else {
                print_info(info, shortformat);