From ba50b420f758f5b2f16819eda12ef7cb56a53afe Mon Sep 17 00:00:00 2001 From: Guido Falsi Date: Thu, 11 Jun 2015 20:44:34 +0000 Subject: - Update libtorrent-rasterbar to 1.0.4 - Update qbittorrent 3.2.0 - Use Github masterisite for qbittorrent - Remove STRIP option, it's the default, and can be inhibited with the DEBUG option - Pet some portlint warnings PR: 200108 Submitted by: yuri at rawbw.com --- net-p2p/qbittorrent/files/patch-configure | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 net-p2p/qbittorrent/files/patch-configure (limited to 'net-p2p/qbittorrent/files/patch-configure') diff --git a/net-p2p/qbittorrent/files/patch-configure b/net-p2p/qbittorrent/files/patch-configure new file mode 100644 index 000000000000..596e5583a7a8 --- /dev/null +++ b/net-p2p/qbittorrent/files/patch-configure @@ -0,0 +1,22 @@ +--- configure.orig 2015-05-10 01:20:19 UTC ++++ configure +@@ -4263,7 +4263,7 @@ fi + # Detect OS + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether OS is FreeBSD" >&5 + $as_echo_n "checking whether OS is FreeBSD... " >&6; } +-if test "x$host_os" = "x*FreeBSD*"; then : ++if expr "$host_os" : ".*freebsd.*" > /dev/null; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 + $as_echo "yes" >&6; } + LIBS="-lexecinfo $LIBS" +@@ -5808,8 +5808,8 @@ extract() { + return 1 + fi + +- # Convert " -" to "\n" if not between quotes +- string=$(echo " $*" | $SED -e 's: -:\n:g' -e 's:"\(.*\)\n\(.*\)":\"\1 -\2":g' -e "s:'\(.*\)\n\(.*\)':\'\1 -\2':g") ++ # Convert " -" to "\n" if not between quotes and remove possible leading white spaces ++ string=$(echo " $*" | tr ' -' '\n' | $SED -e 's:"\(.*\)\n\(.*\)":\"\1 -\2":g' -e "s:'\(.*\)\n\(.*\)':\'\1 -\2':g" -e 's/^[:space:]*//') + SAVEIFS=$IFS + IFS=$(printf "\n\b") + for i in $string; do -- cgit v1.2.3