From 3abfc82ebeb06c5a5334520a26c14229e9098bf9 Mon Sep 17 00:00:00 2001 From: mirko Date: Mon, 3 Dec 2012 12:46:57 +0000 Subject: Make ltq-dsl-app compile with an eglibc-based toolchain MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-Off-By: Frank Meerkötter git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34468 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/network/config/ltq-dsl-app/Makefile | 2 ++ .../patches/010-eglibc_compile_fix.patch | 23 ++++++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 package/network/config/ltq-dsl-app/patches/010-eglibc_compile_fix.patch (limited to 'package/network/config/ltq-dsl-app') diff --git a/package/network/config/ltq-dsl-app/Makefile b/package/network/config/ltq-dsl-app/Makefile index 664bc5d8e..37a72ee33 100644 --- a/package/network/config/ltq-dsl-app/Makefile +++ b/package/network/config/ltq-dsl-app/Makefile @@ -17,6 +17,8 @@ PKG_SOURCE_URL:=http://mirror2.openwrt.org/sources/ PKG_MD5SUM:=ee315306626b68794d3d3636dabfe161 PKG_MAINTAINER:=John Crispin +PKG_FIXUP:=autoreconf + PKG_CONFIG_DEPENDS:=\ CONFIG_LTQ_DSL_ENABLE_SOAP \ CONFIG_LTQ_DSL_ENABLE_DSL_EVENT_POLLING diff --git a/package/network/config/ltq-dsl-app/patches/010-eglibc_compile_fix.patch b/package/network/config/ltq-dsl-app/patches/010-eglibc_compile_fix.patch new file mode 100644 index 000000000..268f868e0 --- /dev/null +++ b/package/network/config/ltq-dsl-app/patches/010-eglibc_compile_fix.patch @@ -0,0 +1,23 @@ +--- a/configure.in ++++ b/configure.in +@@ -29,6 +29,8 @@ AC_C_VOLATILE + #AC_FUNC_STRTOD + #AC_CHECK_FUNCS([ftime gethostbyname gettimeofday localtime_r memset select socket strchr strerror strstr strtoull]) + ++AC_SEARCH_LIBS([clock_gettime],[rt]) ++ + # + # save the configure arguments + # +--- a/src/dsl_cpe_linux.h ++++ b/src/dsl_cpe_linux.h +@@ -45,7 +45,8 @@ + #include + #include /* socket */ + #include /* semget */ +-#include /* sem_t */ ++#include /* sem_t */ ++#include + + #ifdef DSL_DEBUG_TOOL_INTERFACE + #include -- cgit v1.2.3