[backfire/packages] lcd4linux: refresh patches
authorNicolas Thill <nico@openwrt.org>
Fri, 14 Oct 2011 10:54:00 +0000 (10:54 +0000)
committerNicolas Thill <nico@openwrt.org>
Fri, 14 Oct 2011 10:54:00 +0000 (10:54 +0000)
SVN-Revision: 28451

utils/lcd4linux/patches/100-drv_RouterBoard.patch
utils/lcd4linux/patches/120-remove_parport_outb.patch
utils/lcd4linux/patches/140-no_repnop_T6963.patch
utils/lcd4linux/patches/150-addlibmpdclient.patch
utils/lcd4linux/patches/160-uinput_defs.patch

index ff9ab2782182fead9516ce8a846794875b21c6b1..9780f5a6b719ed6e8cdf0b53a3185c868aa8980c 100644 (file)
@@ -1,7 +1,5 @@
-Index: lcd4linux-847/drv_RouterBoard.c
-===================================================================
---- lcd4linux-847.orig/drv_RouterBoard.c       2007-12-01 17:15:10.000000000 +0100
-+++ lcd4linux-847/drv_RouterBoard.c    2007-12-01 17:15:10.000000000 +0100
+--- a/drv_RouterBoard.c
++++ b/drv_RouterBoard.c
 @@ -106,7 +106,7 @@
  #include <string.h>
  #include <errno.h>
index 9ae1d0b7ecfb755c421ea0f4009554d9fdf05660..68d4bd48b524d1eb4e9994ca2785a1876a58acae 100644 (file)
@@ -1,7 +1,5 @@
-Index: lcd4linux-847/drv_generic_parport.c
-===================================================================
---- lcd4linux-847.orig/drv_generic_parport.c   2007-12-01 17:15:10.000000000 +0100
-+++ lcd4linux-847/drv_generic_parport.c        2007-12-01 17:15:11.000000000 +0100
+--- a/drv_generic_parport.c
++++ b/drv_generic_parport.c
 @@ -39,16 +39,6 @@
  #include <sys/stat.h>
  #include <sys/ioctl.h>
@@ -19,9 +17,9 @@ Index: lcd4linux-847/drv_generic_parport.c
  #if defined (HAVE_LINUX_PARPORT_H) && defined (HAVE_LINUX_PPDEV_H)
  #define WITH_PPDEV
  #include <linux/parport.h>
-@@ -65,6 +55,11 @@
- #define PARPORT_STATUS_BUSY       0x80
- #endif
+@@ -68,6 +58,11 @@
+ /* these signals are inverted by hardware on the parallel port */
+ #define PARPORT_CONTROL_INVERTED (PARPORT_CONTROL_STROBE | PARPORT_CONTROL_SELECT | PARPORT_CONTROL_AUTOFD)
  
 +#ifndef WITH_OUTB
 +#define inb(foo) 0
index 9c224dfdecce356f68144cc00e76b82117bfcd67..31ac8a53151a2e281abe16a21598f8a095fb2b61 100644 (file)
@@ -1,8 +1,6 @@
-Index: lcd4linux-847/drv_T6963.c
-===================================================================
---- lcd4linux-847.orig/drv_T6963.c     2007-12-01 17:15:10.000000000 +0100
-+++ lcd4linux-847/drv_T6963.c  2007-12-01 17:15:11.000000000 +0100
-@@ -114,7 +114,9 @@
+--- a/drv_T6963.c
++++ b/drv_T6963.c
+@@ -114,7 +114,9 @@ static void drv_T6_status1(void)
      /* wait for STA0=1 and STA1=1 */
      n = 0;
      do {
@@ -12,7 +10,7 @@ Index: lcd4linux-847/drv_T6963.c
        if (++n > 1000) {
            debug("hang in status1");
            bug = 1;
-@@ -150,7 +152,9 @@
+@@ -150,7 +152,9 @@ static void drv_T6_status2(void)
      /* wait for STA3=1 */
      n = 0;
      do {
index 7e0c2b25caa6c7533ec912686ea020a8b53cb1fd..0e51f6760964facc0fe4b24825e1c27c458f035e 100644 (file)
@@ -1,6 +1,5 @@
-diff -urN lcd4linux-r870.orig/libmpdclient.c lcd4linux-r870/libmpdclient.c
---- lcd4linux-r870.orig/libmpdclient.c 1970-01-01 01:00:00.000000000 +0100
-+++ lcd4linux-r870/libmpdclient.c      2008-03-26 04:43:31.000000000 +0100
+--- /dev/null
++++ b/libmpdclient.c
 @@ -0,0 +1,1957 @@
 +/* libmpdclient
 +   (c)2003-2006 by Warren Dukes (warren.dukes@gmail.com)
@@ -1959,9 +1958,8 @@ diff -urN lcd4linux-r870.orig/libmpdclient.c lcd4linux-r870/libmpdclient.c
 +    free(sPlaylist);
 +    free(string);
 +}
-diff -urN lcd4linux-r870.orig/libmpdclient.h lcd4linux-r870/libmpdclient.h
---- lcd4linux-r870.orig/libmpdclient.h 1970-01-01 01:00:00.000000000 +0100
-+++ lcd4linux-r870/libmpdclient.h      2008-03-26 04:43:32.000000000 +0100
+--- /dev/null
++++ b/libmpdclient.h
 @@ -0,0 +1,661 @@
 +/* libmpdclient
 +   (c)2003-2006 by Warren Dukes (warren.dukes@gmail.com)
index 5c7b98f796b66affbfea87b19831926abe7a3dc9..44b24b3c8038e78584d5bc2195d69f962c1ce451 100644 (file)
@@ -1,6 +1,5 @@
-diff -urN lcd4linux-r877/drv_G15.c lcd4linux-r877.new/drv_G15.c
---- lcd4linux-r877/drv_G15.c   2008-06-01 22:47:45.000000000 +0200
-+++ lcd4linux-r877.new/drv_G15.c       2008-08-06 17:31:04.000000000 +0200
+--- a/drv_G15.c
++++ b/drv_G15.c
 @@ -42,6 +42,7 @@
  
  #include <usb.h>
@@ -9,7 +8,7 @@ diff -urN lcd4linux-r877/drv_G15.c lcd4linux-r877.new/drv_G15.c
  #include <linux/input.h>
  #include <linux/uinput.h>
  
-@@ -258,8 +259,13 @@
+@@ -269,8 +270,13 @@ void drv_G15_initKeyHandling(char *devic
      }
      memset(&device, 0, sizeof(device));
      strncpy(device.name, "G15 Keys", UINPUT_MAX_NAME_SIZE);