commit 7039079dea19f5e5bad5d2ea00db6e83d400fc36
Author: Vitaly Zaitsev <vitaly(a)easycoding.org>
Date: Tue Dec 11 16:14:56 2018 +0100
Use better patch for ppc64le.
libtgvoip-build-fixes.patch | 17 +++++++++--------
1 file changed, 9 insertions(+), 8 deletions(-)
---
diff --git a/libtgvoip-build-fixes.patch b/libtgvoip-build-fixes.patch
index 2ffb94b..94f3e6b 100644
--- a/libtgvoip-build-fixes.patch
+++ b/libtgvoip-build-fixes.patch
@@ -1,4 +1,4 @@
-From 79b9d100959fa31b8e5a744ab10171e70e687617 Mon Sep 17 00:00:00 2001
+From 7272300fad8057c0fb7e47c0be7d50b00c75eb30 Mon Sep 17 00:00:00 2001
From: Vitaly Zaitsev <vitaly(a)easycoding.org>
Date: Thu, 6 Jul 2017 17:27:01 +0200
Subject: [PATCH] Fixed build of libtgvoip under Fedora as shared library.
@@ -7,8 +7,8 @@ Subject: [PATCH] Fixed build of libtgvoip under Fedora as shared library.
libtgvoip.gyp | 7 +++---
webrtc_dsp/common_audio/wav_file.cc | 20 ++++++++++++----
webrtc_dsp/common_audio/wav_header.cc | 34 ++++++++++++++++++++++++++-
- webrtc_dsp/typedefs.h | 23 +++++++++++++++++-
- 4 files changed, 74 insertions(+), 10 deletions(-)
+ webrtc_dsp/typedefs.h | 24 ++++++++++++++++++-
+ 4 files changed, 75 insertions(+), 10 deletions(-)
diff --git a/libtgvoip.gyp b/libtgvoip.gyp
index 8c62b56..c362667 100644
@@ -131,18 +131,19 @@ index e49b748..68a2620 100644
static inline uint32_t RiffChunkSize(size_t bytes_in_payload) {
diff --git a/webrtc_dsp/typedefs.h b/webrtc_dsp/typedefs.h
-index c960d95..93c863a 100644
+index c960d95..d6ce35e 100644
--- a/webrtc_dsp/typedefs.h
+++ b/webrtc_dsp/typedefs.h
-@@ -47,8 +47,29 @@
+@@ -47,8 +47,30 @@
#elif defined(__pnacl__)
#define WEBRTC_ARCH_32_BITS
#define WEBRTC_ARCH_LITTLE_ENDIAN
-+#elif defined(__powerpc64le__)
-+#define WEBRTC_ARCH_LITTLE_ENDIAN
-+#define WEBRTC_ARCH_64_BITS
+#elif defined(__powerpc64__)
++#if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
++#define WEBRTC_ARCH_LITTLE_ENDIAN
++#else
+#define WEBRTC_ARCH_BIG_ENDIAN
++#endif
+#define WEBRTC_ARCH_64_BITS
+#elif defined(__powerpc__)
+#define WEBRTC_ARCH_BIG_ENDIAN
Show replies by date