From eac3356248eca349120cb92507b3ba792f603124 Mon Sep 17 00:00:00 2001 From: nico Date: Wed, 10 Jan 2007 00:24:06 +0000 Subject: [PATCH] add a patch to fix lcd4linux on linux 2.6.19 (see [6052]), add some touches to prevent aclocal, autoconf & automake from beeing run, fix typo git-svn-id: svn://svn.openwrt.org/openwrt/packages@6054 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- utils/lcd4linux/Makefile | 9 ++++++++- .../patches/130-linux_2.6.19_wireless_h.patch | 15 +++++++++++++++ 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 utils/lcd4linux/patches/130-linux_2.6.19_wireless_h.patch diff --git a/utils/lcd4linux/Makefile b/utils/lcd4linux/Makefile index 264c3856a..c343eefaa 100644 --- a/utils/lcd4linux/Makefile +++ b/utils/lcd4linux/Makefile @@ -33,10 +33,17 @@ define Package/lcd4linux URL:=http://lcd4linux.bulix.org/ endef -# commas are interpreted by the $(call ...) macro, so define a intermediate variable holding our drivers spec +# commas are interpreted by the $(call ...) macro, so define an intermediate variable holding our drivers spec PKG_CONFIGURE_DRIVERS:=all,!PNG,!RouterBoard,!X11 define Build/Configure + (cd $(PKG_BUILD_DIR); touch \ + configure.in \ + aclocal.m4 \ + Makefile.in \ + config-h.in \ + configure \ + ); $(call Build/Configure/Default, \ --without-x \ --with-drivers="$(PKG_CONFIGURE_DRIVERS)" \ diff --git a/utils/lcd4linux/patches/130-linux_2.6.19_wireless_h.patch b/utils/lcd4linux/patches/130-linux_2.6.19_wireless_h.patch new file mode 100644 index 000000000..9f7957b8d --- /dev/null +++ b/utils/lcd4linux/patches/130-linux_2.6.19_wireless_h.patch @@ -0,0 +1,15 @@ +diff -ruN lcd4linux-0.10.0+cvs20051015-old/plugin_wireless.c lcd4linux-0.10.0+cvs20051015-new/plugin_wireless.c +--- lcd4linux-0.10.0+cvs20051015-old/plugin_wireless.c 2005-05-08 06:32:45.000000000 +0200 ++++ lcd4linux-0.10.0+cvs20051015-new/plugin_wireless.c 2007-01-10 01:08:13.000000000 +0100 +@@ -92,6 +92,11 @@ + + #include + #include ++#include ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,19) ++#include ++#include ++#endif + #include + #include +