mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
community/kiwix-lib: try fix build
This commit is contained in:
parent
cfa7f2d4e4
commit
8f79a6c90d
@ -22,7 +22,9 @@ makedepends="
|
||||
samurai
|
||||
xapian-core-dev
|
||||
"
|
||||
source="$pkgname-$pkgver.tar.gz::https://github.com/kiwix/libkiwix/archive/$pkgver.tar.gz"
|
||||
source="$pkgname-$pkgver.tar.gz::https://github.com/kiwix/libkiwix/archive/$pkgver.tar.gz
|
||||
fix-build.patch
|
||||
"
|
||||
subpackages="$pkgname-dev $pkgname-doc"
|
||||
builddir="$srcdir/$_pkgname-$pkgver"
|
||||
|
||||
@ -41,4 +43,5 @@ package() {
|
||||
|
||||
sha512sums="
|
||||
4f89dbd9214c2c72ec2d327e0c516cd5ff00e85818abec1a119a099c361b14a2912c2a4a249c1f58b2449fe9748e3fa0fa9919f44d85119744af6cade4da89df kiwix-lib-12.0.0.tar.gz
|
||||
428c1865dcb35d572b34187b63234bc1ee72672259218a8d7e19b60a96953e1ef5392fd3d106f2bbf77bc405fb13106794acb8ce566695744f826a9b0fef8450 fix-build.patch
|
||||
"
|
||||
|
13
community/kiwix-lib/fix-build.patch
Normal file
13
community/kiwix-lib/fix-build.patch
Normal file
@ -0,0 +1,13 @@
|
||||
diff --git a/meson.build b/meson.build
|
||||
index d3927e4..cbb936f 100644
|
||||
--- a/meson.build
|
||||
+++ b/meson.build
|
||||
@@ -1,7 +1,7 @@
|
||||
project('libkiwix', 'cpp',
|
||||
version : '12.0.0',
|
||||
license : 'GPLv3+',
|
||||
- default_options : ['c_std=c11', 'cpp_std=c++11', 'werror=true'])
|
||||
+ default_options : ['c_std=c11', 'cpp_std=c++14'])
|
||||
|
||||
compiler = meson.get_compiler('cpp')
|
||||
|
Loading…
Reference in New Issue
Block a user