git: 1ade84bb333e - main - devel/kiwix-lib: fix build on powerpc
Piotr Kubaj
pkubaj at FreeBSD.org
Wed Jun 9 23:48:53 UTC 2021
The branch main has been updated by pkubaj:
URL: https://cgit.FreeBSD.org/ports/commit/?id=1ade84bb333e2aa6dd9a8215c7231c36bd58785f
commit 1ade84bb333e2aa6dd9a8215c7231c36bd58785f
Author: Piotr Kubaj <pkubaj at FreeBSD.org>
AuthorDate: 2021-06-09 23:48:13 +0000
Commit: Piotr Kubaj <pkubaj at FreeBSD.org>
CommitDate: 2021-06-09 23:48:13 +0000
devel/kiwix-lib: fix build on powerpc
LLVM doesn't have libatomic.
---
devel/kiwix-lib/files/patch-meson.build | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/devel/kiwix-lib/files/patch-meson.build b/devel/kiwix-lib/files/patch-meson.build
new file mode 100644
index 000000000000..4e59d62a36b5
--- /dev/null
+++ b/devel/kiwix-lib/files/patch-meson.build
@@ -0,0 +1,11 @@
+--- meson.build.orig 2021-06-09 23:37:27 UTC
++++ meson.build
+@@ -19,7 +19,7 @@ if wrapper.contains('java')
+ endif
+
+ # See https://github.com/kiwix/kiwix-lib/issues/371
+-if ['arm', 'mips', 'm68k', 'ppc', 'sh4'].contains(target_machine.cpu_family())
++if ['arm', 'mips', 'm68k', 'sh4'].contains(target_machine.cpu_family())
+ extra_libs += '-latomic'
+ endif
+
More information about the dev-commits-ports-all
mailing list