mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-04 14:39:54 +00:00
rtorrent: upgrade 0.9.7 -> 0.9.8
1) Upgrade rtorrent from 0.9.7 to 0.9.8. 2) Update don-t-run-code-while-configuring-package.patch for new version Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
+29
-19
@@ -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
|
||||
|
||||
|
||||
@@ -8,10 +8,10 @@ DEPENDS = "libsigc++-2.0 curl cppunit libtorrent ncurses"
|
||||
SRC_URI = "git://github.com/rakshasa/rtorrent \
|
||||
file://don-t-run-code-while-configuring-package.patch \
|
||||
"
|
||||
# v0.9.7
|
||||
SRCREV = "327164f9d86aafcd2500a317d485374df32ea622"
|
||||
# v0.9.8
|
||||
SRCREV = "6154d1698756e0c4842b1c13a0e56db93f1aa947"
|
||||
|
||||
PV = "0.9.7+git${SRCPV}"
|
||||
PV = "0.9.8"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user