[arch-commits] Commit in d-stdx-allocator/trunk (PKGBUILD)
Dan Printzell
wild at archlinux.org
Thu Nov 7 19:26:38 UTC 2019
Date: Thursday, November 7, 2019 @ 19:26:36
Author: wild
Revision: 524521
upgpkg: d-stdx-allocator 3.0.2-7
Rebuilt against new ldc. Add meson building fixes
Modified:
d-stdx-allocator/trunk/PKGBUILD
----------+
PKGBUILD | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-11-07 19:25:58 UTC (rev 524520)
+++ PKGBUILD 2019-11-07 19:26:36 UTC (rev 524521)
@@ -3,7 +3,7 @@
pkgname=d-stdx-allocator
_pkgname=stdx-allocator
pkgver=3.0.2
-pkgrel=6
+pkgrel=7
pkgdesc='Extracted std.experimental.allocator'
arch=('x86_64')
url='https://github.com/dlang-community/stdx-allocator'
@@ -19,6 +19,9 @@
cd $_pkgname-$pkgver
patch -p1 < ../add-dependency.patch
+
+ # Meson forgot to add this flag when creating a shared library.
+ sed -i "/soversion:/a link_args: '-shared'," meson.build
}
build() {
@@ -29,6 +32,9 @@
arch-meson ..
+ # meson broke -soname for D in the latest update
+ sed -i "s/-soname,/=-soname=/g" build.ninja
+
ninja
}
More information about the arch-commits
mailing list