All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [git commit branch/2020.02.x] package/linphone: fix powerpc build
@ 2021-01-29  7:50 Peter Korsgaard
  0 siblings, 0 replies; only message in thread
From: Peter Korsgaard @ 2021-01-29  7:50 UTC (permalink / raw
  To: buildroot

commit: https://git.buildroot.net/buildroot/commit/?id=390fe636ba007921059b3001c05cd77c8f3d3344
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2020.02.x

Fixes:
 - http://autobuild.buildroot.org/results/d90bca02c2771df8dfbf39892d529fb5f9069656

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit d81b4433de12c238c65692c8207d427fd051c457)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
 ...rc-core-paths-paths.cpp-fix-powerpc-build.patch | 35 ++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/package/linphone/0001-src-core-paths-paths.cpp-fix-powerpc-build.patch b/package/linphone/0001-src-core-paths-paths.cpp-fix-powerpc-build.patch
new file mode 100644
index 0000000000..1655fa59a1
--- /dev/null
+++ b/package/linphone/0001-src-core-paths-paths.cpp-fix-powerpc-build.patch
@@ -0,0 +1,35 @@
+From d5d528e7562f358b9564e64cea0678020c51479a Mon Sep 17 00:00:00 2001
+From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
+Date: Sun, 15 Mar 2020 18:56:19 +0100
+Subject: [PATCH] src/core/paths/paths.cpp: fix powerpc build
+
+Fix the following build failure on powerpc:
+
+/home/test/autobuild/run/instance-2/output-1/build/linphone-4.3.1/src/core/paths/paths.cpp:32:3: error: #error "Unsupported system."
+  #error "Unsupported system."
+   ^~~~~
+
+Fixes:
+ - http://autobuild.buildroot.org/results/d90bca02c2771df8dfbf39892d529fb5f9069656
+
+Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
+---
+ src/core/paths/paths.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/core/paths/paths.cpp b/src/core/paths/paths.cpp
+index 0442282fe..2c6508a51 100644
+--- a/src/core/paths/paths.cpp
++++ b/src/core/paths/paths.cpp
+@@ -26,7 +26,7 @@
+ 	#include "paths-android.h"
+ #elif defined(_WIN32)
+ 	#include "paths-windows.h"
+-#elif defined(__linux)
++#elif defined(__linux) || defined(__linux__)
+ 	#include "paths-linux.h"
+ #else
+ 	#error "Unsupported system."
+-- 
+2.25.1
+

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2021-01-29  7:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-01-29  7:50 [Buildroot] [git commit branch/2020.02.x] package/linphone: fix powerpc build Peter Korsgaard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.