diff options
author | Mirko Vogt <mirko@openwrt.org> | 2012-12-03 12:46:57 +0000 |
---|---|---|
committer | Mirko Vogt <mirko@openwrt.org> | 2012-12-03 12:46:57 +0000 |
commit | 4c30952394850cf5f2b5d22a2bc50c2151b009f5 (patch) | |
tree | 107f2a3d1612dee87d83f4ae62ba1f9e326a6755 /package/network/config/ltq-dsl-app/patches | |
parent | a7220cd9f870af7165ff3531ce2756f1f1b0f72e (diff) | |
download | mtk-20170518-4c30952394850cf5f2b5d22a2bc50c2151b009f5.zip mtk-20170518-4c30952394850cf5f2b5d22a2bc50c2151b009f5.tar.gz mtk-20170518-4c30952394850cf5f2b5d22a2bc50c2151b009f5.tar.bz2 |
Make ltq-dsl-app compile with an eglibc-based toolchain
Signed-Off-By: Frank Meerkötter <frank@meerkoetter.org>
SVN-Revision: 34468
Diffstat (limited to 'package/network/config/ltq-dsl-app/patches')
-rw-r--r-- | package/network/config/ltq-dsl-app/patches/010-eglibc_compile_fix.patch | 23 |
1 files changed, 23 insertions, 0 deletions
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 0000000..268f868 --- /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 <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> |