Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updpatch: d-stdx-allocator 3.0.2-21 #3380

Merged
merged 1 commit into from
Dec 26, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 10 additions & 17 deletions d-stdx-allocator/riscv64.patch
Original file line number Diff line number Diff line change
@@ -1,33 +1,26 @@
diff --git PKGBUILD PKGBUILD
index 6d45b0e56..fb1afc3b0 100644
--- PKGBUILD
+++ PKGBUILD
@@ -11,14 +11,17 @@ license=('Boost')
depends=('liblphobos' 'd-mir-core')
makedepends=('meson' 'ldc')
source=("$_pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz"
- "add-dependency.patch::https://github.com/dlang-community/stdx-allocator/commit/676b4c782ba9c484864075508c27ef44399396f7.patch")
+ "add-dependency.patch::https://github.com/dlang-community/stdx-allocator/commit/676b4c782ba9c484864075508c27ef44399396f7.patch"
+ "support-riscv64.patch")
sha512sums=('f4dc887225926cc4530314976e5e236c696a54c6e2ccdb48271b97b0c0a70882b70e92768c94c2932ccc9bd2282c3e953b27cf72088904458f7fc15234dca4be'
- '13d52d3bb4d90e7b5fb3163f1761c20a57a59be1306ac665fea0eb9331864821d77e790f8ca6027b1936a6930085d2ccca7a1d49d4bd139a939e2c58f03bd47a')
+ '13d52d3bb4d90e7b5fb3163f1761c20a57a59be1306ac665fea0eb9331864821d77e790f8ca6027b1936a6930085d2ccca7a1d49d4bd139a939e2c58f03bd47a'
+ '3da013d6027527180f529155ab90e23a6c0e2f218dcf237de040d2bfb75acb9b95a94e417240bdfd058dfaf859cb87b3cdeacce0af8916b62526a8052d00fa7f')

prepare() {
@@ -19,6 +19,7 @@ prepare() {
cd $_pkgname-$pkgver

patch -p1 < ../add-dependency.patch
+ patch -p1 < ../support-riscv64.patch
}

build() {
@@ -26,7 +29,7 @@ build() {
@@ -26,7 +27,7 @@ build() {
cd $_pkgname-$pkgver/build

export DC=ldc
- export LDFLAGS="$(echo -ne $LDFLAGS | sed -e 's/-flto=auto/--flto=full/')"
- export LDFLAGS="$(echo -ne $LDFLAGS | sed -e 's/-flto=auto/-flto=full/')"
+ export LDFLAGS="$(echo -ne $LDFLAGS | sed -e 's/-flto=auto//')"

arch-meson ..

@@ -44,3 +45,6 @@ package() {

DESTDIR="$pkgdir" ninja install
}
+
+source+=("support-riscv64.patch")
+sha512sums+=('3da013d6027527180f529155ab90e23a6c0e2f218dcf237de040d2bfb75acb9b95a94e417240bdfd058dfaf859cb87b3cdeacce0af8916b62526a8052d00fa7f')