summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-06-18 21:26:37 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2009-06-18 21:26:37 +0200
commit1f9d97c7c317a240fd864c686a79a0e5aa2d95d8 (patch)
tree53c0c7a8437a8ab7ec3097e2b84d9203fa6401ef
parent96dcd54773fa810e7b0b27dbdae5f3d10014aba8 (diff)
enable rtorrent for uclibc, fix squid compile
-rw-r--r--package/rtorrent/Config.in10
-rw-r--r--package/squid/patch-src_HttpHeaderTools_cc11
2 files changed, 11 insertions, 10 deletions
diff --git a/package/rtorrent/Config.in b/package/rtorrent/Config.in
index 58e0fa6bf..19df602aa 100644
--- a/package/rtorrent/Config.in
+++ b/package/rtorrent/Config.in
@@ -2,9 +2,6 @@ config ADK_PACKAGE_RTORRENT
prompt "rtorrent........................... console bittorrent client"
tristate
depends on ADK_CXX
- # libtorrent / rtorrent does not work with uclibc++
- # with gcc 4.4 libstdc++ needs TLS in uClibc
- depends on ADK_TARGET_LIB_GLIBC
select ADK_PACKAGE_LIBNCURSES
select ADK_PACKAGE_LIBTORRENT
select ADK_PACKAGE_LIBCURL
@@ -16,17 +13,10 @@ choice
prompt "C++ library to use"
depends on ADK_PACKAGE_RTORRENT
default ADK_COMPILE_RTORRENT_WITH_STDCXX if ADK_TARGET_LIB_GLIBC
-default ADK_COMPILE_RTORRENT_WITH_UCLIBCXX if ADK_TARGET_LIB_UCLIBC
config ADK_COMPILE_RTORRENT_WITH_STDCXX
bool "Standard C++ library"
select ADK_PACKAGE_LIBSTDCXX
help
-config ADK_COMPILE_RTORRENT_WITH_UCLIBCXX
- bool "Embedded uClibc++ library"
- select ADK_PACKAGE_UCLIBCXX
- depends ADK_BROKEN
- help
-
endchoice
diff --git a/package/squid/patch-src_HttpHeaderTools_cc b/package/squid/patch-src_HttpHeaderTools_cc
new file mode 100644
index 000000000..3b456ebf5
--- /dev/null
+++ b/package/squid/patch-src_HttpHeaderTools_cc
@@ -0,0 +1,11 @@
+--- squid-3.0.STABLE15.orig/src/HttpHeaderTools.cc 2009-05-06 13:11:40.000000000 +0200
++++ squid-3.0.STABLE15/src/HttpHeaderTools.cc 2009-06-15 18:29:41.000000000 +0200
+@@ -356,7 +356,7 @@ httpHeaderParseQuotedString (const char
+ pos = start + 1;
+
+ while (1) {
+- if (!(end = index (pos,'"'))) {
++ if (!(end = strchr (pos,'"'))) {
+ debugs(66, 2, "failed to parse a quoted-string header field near '" << start << "'");
+ return 0;
+ }