summaryrefslogtreecommitdiff
path: root/package/network/config/ltq-adsl-app/patches
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2013-07-08 09:01:38 +0000
committerJohn Crispin <john@openwrt.org>2013-07-08 09:01:38 +0000
commitfc40051569e1adc3e1c3591f85cd24c61f839389 (patch)
tree16fd921aa445153c9fba922b34e2c46fd0e4d053 /package/network/config/ltq-adsl-app/patches
parentf18bb17fad0ca307155b3f4f9ba63f02ad7bd1c4 (diff)
downloadmtk-20170518-fc40051569e1adc3e1c3591f85cd24c61f839389.zip
mtk-20170518-fc40051569e1adc3e1c3591f85cd24c61f839389.tar.gz
mtk-20170518-fc40051569e1adc3e1c3591f85cd24c61f839389.tar.bz2
lantiq: move dsl tools to package/network/config
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 37198
Diffstat (limited to 'package/network/config/ltq-adsl-app/patches')
-rw-r--r--package/network/config/ltq-adsl-app/patches/010-eglibc_compile_fix.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/package/network/config/ltq-adsl-app/patches/010-eglibc_compile_fix.patch b/package/network/config/ltq-adsl-app/patches/010-eglibc_compile_fix.patch
new file mode 100644
index 0000000..268f868
--- /dev/null
+++ b/package/network/config/ltq-adsl-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 <arpa/inet.h>
+ #include <sys/socket.h> /* socket */
+ #include <sys/sem.h> /* semget */
+-#include <semaphore.h> /* sem_t */
++#include <semaphore.h> /* sem_t */
++#include <limits.h>
+
+ #ifdef DSL_DEBUG_TOOL_INTERFACE
+ #include <sys/socket.h>