libtorrent: use patch file names generated by git format-patch

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Thomas Petazzoni 2018-09-09 15:56:48 +02:00
parent 39a9125364
commit d7abf197e2
2 changed files with 13 additions and 11 deletions

View file

@ -1,4 +1,4 @@
From c4cc0ba76c81e1967c648be423f5f0312ac9d87f Mon Sep 17 00:00:00 2001 From c99179777d8f4cf69c51378b91ae580c49cb57a2 Mon Sep 17 00:00:00 2001
From: Vicente Olivert Riera <Vincent.Riera@imgtec.com> From: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Date: Mon, 5 Oct 2015 00:40:25 +0100 Date: Mon, 5 Oct 2015 00:40:25 +0100
Subject: [PATCH] Fix cross compilation, based on OpenWRT patch. Subject: [PATCH] Fix cross compilation, based on OpenWRT patch.
@ -10,13 +10,12 @@ Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
--- ---
configure.ac | 1 - scripts/checks.m4 | 2 +-
scripts/checks.m4 | 2 +- scripts/common.m4 | 4 ++--
scripts/common.m4 | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-)
3 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/scripts/checks.m4 b/scripts/checks.m4 diff --git a/scripts/checks.m4 b/scripts/checks.m4
index 598f39b..0e5abe0 100644 index 8d77fc5e..c446995b 100644
--- a/scripts/checks.m4 --- a/scripts/checks.m4
+++ b/scripts/checks.m4 +++ b/scripts/checks.m4
@@ -96,7 +96,7 @@ AC_DEFUN([TORRENT_CHECK_KQUEUE], [ @@ -96,7 +96,7 @@ AC_DEFUN([TORRENT_CHECK_KQUEUE], [
@ -29,10 +28,10 @@ index 598f39b..0e5abe0 100644
#include <stdlib.h> #include <stdlib.h>
#include <unistd.h> #include <unistd.h>
diff --git a/scripts/common.m4 b/scripts/common.m4 diff --git a/scripts/common.m4 b/scripts/common.m4
index 5127624..cc68269 100644 index ff023928..932b205c 100644
--- a/scripts/common.m4 --- a/scripts/common.m4
+++ b/scripts/common.m4 +++ b/scripts/common.m4
@@ -223,7 +223,7 @@ dnl Need to fix this so that it uses the stuff defined by the system. @@ -153,7 +153,7 @@ dnl Need to fix this so that it uses the stuff defined by the system.
AC_DEFUN([TORRENT_CHECK_EXECINFO], [ AC_DEFUN([TORRENT_CHECK_EXECINFO], [
AC_MSG_CHECKING(for execinfo.h) AC_MSG_CHECKING(for execinfo.h)
@ -41,7 +40,7 @@ index 5127624..cc68269 100644
#include <execinfo.h> #include <execinfo.h>
int main() { backtrace((void**)0, 0); backtrace_symbols((char**)0, 0); return 0;} int main() { backtrace((void**)0, 0); backtrace_symbols((char**)0, 0); return 0;}
])], ])],
@@ -238,7 +238,7 @@ AC_DEFUN([TORRENT_CHECK_EXECINFO], [ @@ -168,7 +168,7 @@ AC_DEFUN([TORRENT_CHECK_EXECINFO], [
AC_DEFUN([TORRENT_CHECK_ALIGNED], [ AC_DEFUN([TORRENT_CHECK_ALIGNED], [
AC_MSG_CHECKING(the byte alignment) AC_MSG_CHECKING(the byte alignment)
@ -51,5 +50,5 @@ index 5127624..cc68269 100644
int main() { int main() {
char buf@<:@8@:>@ = { 0, 0, 0, 0, 1, 0, 0, 0 }; char buf@<:@8@:>@ = { 0, 0, 0, 0, 1, 0, 0, 0 };
-- --
1.7.1 2.14.4

View file

@ -1,4 +1,4 @@
From 7b29b6bd2547e72e22b9b7981df27092842d2a10 Mon Sep 17 00:00:00 2001 From 9af3be81c75b44415a6e7efe19f8f89d55091f84 Mon Sep 17 00:00:00 2001
From: rakshasa <sundell.software@gmail.com> From: rakshasa <sundell.software@gmail.com>
Date: Tue, 20 Dec 2016 19:51:02 +0900 Date: Tue, 20 Dec 2016 19:51:02 +0900
Subject: [PATCH] Added support for openssl 1.1. Subject: [PATCH] Added support for openssl 1.1.
@ -107,3 +107,6 @@ index aa653d45..7ec13165 100644
#endif #endif
} }
--
2.14.4