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
This commit is contained in:
nico 2007-01-10 00:24:06 +00:00
parent c044d6ce2a
commit eac3356248
2 changed files with 23 additions and 1 deletions

View File

@ -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)" \

View File

@ -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 <sys/ioctl.h>
#include <net/if_arp.h>
+#include <linux/version.h>
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,19)
+#include <linux/types.h>
+#include <linux/if.h>
+#endif
#include <linux/wireless.h>
#include <math.h>