diff options
author | Felix Fietkau <nbd@openwrt.org> | 2006-01-20 03:19:35 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2006-01-20 03:19:35 +0000 |
commit | ea45a49b0c83c208fe6f908a6f71121ec8f1149a (patch) | |
tree | dc68a778f3c049f50286aaf8aada9fed786c494c /package/lcd4linux/patches/120-remove_parport_outb.patch | |
parent | d300ebcaafad097de9ea216786cd49187f27616e (diff) | |
download | upstream-ea45a49b0c83c208fe6f908a6f71121ec8f1149a.tar.gz upstream-ea45a49b0c83c208fe6f908a6f71121ec8f1149a.tar.bz2 upstream-ea45a49b0c83c208fe6f908a6f71121ec8f1149a.zip |
sync lcd4linux with whiterussian
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3022 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/lcd4linux/patches/120-remove_parport_outb.patch')
-rw-r--r-- | package/lcd4linux/patches/120-remove_parport_outb.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/package/lcd4linux/patches/120-remove_parport_outb.patch b/package/lcd4linux/patches/120-remove_parport_outb.patch new file mode 100644 index 0000000000..37693241a0 --- /dev/null +++ b/package/lcd4linux/patches/120-remove_parport_outb.patch @@ -0,0 +1,15 @@ +diff -urN lcd4linux.old/drv_generic_parport.c lcd4linux.dev/drv_generic_parport.c +--- lcd4linux.old/drv_generic_parport.c 2006-01-20 03:52:18.426419500 +0100 ++++ lcd4linux.dev/drv_generic_parport.c 2006-01-20 03:57:59.205263500 +0100 +@@ -134,6 +134,11 @@ + #define PARPORT_STATUS_BUSY 0x80 + #endif + ++#ifndef WITH_OUTB ++#define inb(foo) 0 ++#define outb(foo,bar) 0 ++#endif ++ + #if !defined(WITH_OUTB) && !defined(WITH_PPDEV) + #error neither outb() nor ppdev() possible + #error cannot compile parallel port driver |