From 2916640688155d2f2efe93df28968c3315ed0279 Mon Sep 17 00:00:00 2001 From: florian Date: Mon, 12 Dec 2005 20:40:01 +0000 Subject: Added serdisplib, thanks to Christoph Haderer for the package git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2642 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/serdisplib/patches/100-io.patch | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 package/serdisplib/patches/100-io.patch (limited to 'package/serdisplib/patches/100-io.patch') diff --git a/package/serdisplib/patches/100-io.patch b/package/serdisplib/patches/100-io.patch new file mode 100644 index 0000000000..5b78e10f2a --- /dev/null +++ b/package/serdisplib/patches/100-io.patch @@ -0,0 +1,19 @@ +diff -ru serdisplib-1.96.orig/src/serdisp_connect.c serdisplib-1.96/src/serdisp_connect.c +--- serdisplib-1.96.orig/src/serdisp_connect.c 2005-10-07 20:40:50.000000000 +0200 ++++ serdisplib-1.96/src/serdisp_connect.c 2005-12-12 18:48:58.000000000 +0200 +@@ -60,6 +60,7 @@ + /* directIO only with linux and i386 */ + #if defined(__linux__) && (defined(__i386__) || defined(__x86_64__)) + #define __sd_linux_use_directIO__ 1 ++ #include + #endif + + +@@ -67,7 +68,6 @@ + #if defined(__linux__) + #include + #include +- #include + #include + #define OUTB(_d, _p) outb( (_d), (_p) ) + #define INB(_p) inb( (_p) ) -- cgit v1.2.3