diff options
Diffstat (limited to 'external/meta-openembedded/meta-oe/recipes-connectivity/rtorrent/rtorrent/don-t-run-code-while-configuring-package.patch')
-rw-r--r-- | external/meta-openembedded/meta-oe/recipes-connectivity/rtorrent/rtorrent/don-t-run-code-while-configuring-package.patch | 48 |
1 files changed, 29 insertions, 19 deletions
diff --git a/external/meta-openembedded/meta-oe/recipes-connectivity/rtorrent/rtorrent/don-t-run-code-while-configuring-package.patch b/external/meta-openembedded/meta-oe/recipes-connectivity/rtorrent/rtorrent/don-t-run-code-while-configuring-package.patch index 79d4f29f..7d09f438 100644 --- a/external/meta-openembedded/meta-oe/recipes-connectivity/rtorrent/rtorrent/don-t-run-code-while-configuring-package.patch +++ b/external/meta-openembedded/meta-oe/recipes-connectivity/rtorrent/rtorrent/don-t-run-code-while-configuring-package.patch @@ -1,19 +1,26 @@ -Using AC_RUN_IFELSE prevent people from configuring package for -cross-compiling. Don't run code while configuring package. +Using AC_RUN_IFELSE prevent people from configuring package + for cross-compiling. Don't run code while configuring package. Upstream-Status: Pending Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> -Index: libtorrent-0.13.3/scripts/checks.m4 -=================================================================== ---- libtorrent-0.13.3.orig/scripts/checks.m4 2012-05-14 14:17:04.000000000 +0300 -+++ libtorrent-0.13.3/scripts/checks.m4 2013-02-10 15:28:37.414445524 +0200 -@@ -95,40 +95,6 @@ +Update for 0.9.8. +Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com> +--- + scripts/checks.m4 | 34 ---------------------------------- + scripts/common.m4 | 28 ---------------------------- + 2 files changed, 62 deletions(-) +diff --git a/scripts/checks.m4 b/scripts/checks.m4 +index 83be846..1af80f5 100644 +--- a/scripts/checks.m4 ++++ b/scripts/checks.m4 +@@ -95,40 +95,6 @@ AC_DEFUN([TORRENT_CHECK_KQUEUE], [ + AC_DEFUN([TORRENT_CHECK_KQUEUE_SOCKET_ONLY], [ AC_MSG_CHECKING(whether kqueue supports pipes and ptys) - -- AC_RUN_IFELSE([AC_LANG_SOURCE([ +- AC_LINK_IFELSE([AC_LANG_SOURCE([ - #include <fcntl.h> - #include <stdlib.h> - #include <unistd.h> @@ -47,18 +54,18 @@ Index: libtorrent-0.13.3/scripts/checks.m4 - AC_MSG_RESULT(no) - ]) ]) - + AC_DEFUN([TORRENT_WITH_KQUEUE], [ -Index: libtorrent-0.13.3/scripts/common.m4 -=================================================================== ---- libtorrent-0.13.3.orig/scripts/common.m4 2012-05-14 14:17:04.000000000 +0300 -+++ libtorrent-0.13.3/scripts/common.m4 2013-02-10 15:27:55.874446741 +0200 -@@ -222,38 +222,10 @@ - +diff --git a/scripts/common.m4 b/scripts/common.m4 +index aaf005e..42fb016 100644 +--- a/scripts/common.m4 ++++ b/scripts/common.m4 +@@ -152,38 +152,10 @@ dnl Need to fix this so that it uses the stuff defined by the system. + AC_DEFUN([TORRENT_CHECK_EXECINFO], [ AC_MSG_CHECKING(for execinfo.h) - -- AC_RUN_IFELSE([AC_LANG_SOURCE([ +- AC_COMPILE_IFELSE([AC_LANG_SOURCE([ - #include <execinfo.h> - int main() { backtrace((void**)0, 0); backtrace_symbols((char**)0, 0); return 0;} - ])], @@ -69,11 +76,11 @@ Index: libtorrent-0.13.3/scripts/common.m4 - AC_MSG_RESULT(no) - ]) ]) - + AC_DEFUN([TORRENT_CHECK_ALIGNED], [ AC_MSG_CHECKING(the byte alignment) - -- AC_RUN_IFELSE([AC_LANG_SOURCE([ +- AC_LINK_IFELSE([AC_LANG_SOURCE([ - #include <inttypes.h> - int main() { - char buf@<:@8@:>@ = { 0, 0, 0, 0, 1, 0, 0, 0 }; @@ -90,5 +97,8 @@ Index: libtorrent-0.13.3/scripts/common.m4 - AC_MSG_RESULT(required) - ]) ]) - + + +-- +2.7.4 |