mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 12:26:52 +02:00
testing/libdparse: upgrade to 0.15.1
This commit is contained in:
parent
40ea258811
commit
0439110c5d
@ -1,23 +0,0 @@
|
||||
From 052470ca738d5c683ab5511e47bdf335bf754db4 Mon Sep 17 00:00:00 2001
|
||||
From: Jan Jurzitza <gh@webfreak.org>
|
||||
Date: Fri, 17 Apr 2020 08:47:24 +0200
|
||||
Subject: [PATCH] Fixed unittest on x86 (fix #388)
|
||||
|
||||
---
|
||||
src/dparse/lexer.d | 3 ++-
|
||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/dparse/lexer.d b/src/dparse/lexer.d
|
||||
index 2661543..22ab0c1 100644
|
||||
--- a/src/dparse/lexer.d
|
||||
+++ b/src/dparse/lexer.d
|
||||
@@ -1891,7 +1891,8 @@ unittest
|
||||
{
|
||||
assert(optimalBucketCount(1) == 2);
|
||||
assert(optimalBucketCount(9000 * 32) == 16384);
|
||||
- assert(optimalBucketCount(100_000_000_000UL) == 1 << 30);
|
||||
+ static if (size_t.sizeof == ulong.sizeof)
|
||||
+ assert(optimalBucketCount(100_000_000_000UL) == 1 << 30);
|
||||
}
|
||||
|
||||
/**
|
||||
@ -1,7 +1,7 @@
|
||||
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
|
||||
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
|
||||
pkgname=libdparse
|
||||
pkgver=0.14.0
|
||||
pkgver=0.15.1
|
||||
pkgrel=0
|
||||
pkgdesc="Library for lexing and parsing D source code"
|
||||
url="https://libdparse.dlang.io/"
|
||||
@ -9,8 +9,7 @@ arch="x86 x86_64 aarch64" # ldc
|
||||
license="BSL-1.0"
|
||||
makedepends="meson ldc ldc-runtime stdx-allocator-dev"
|
||||
subpackages="$pkgname-dev"
|
||||
source="https://github.com/dlang-community/libdparse/archive/v$pkgver/libdparse-$pkgver.tar.gz
|
||||
389.patch"
|
||||
source="https://github.com/dlang-community/libdparse/archive/v$pkgver/libdparse-$pkgver.tar.gz"
|
||||
|
||||
build() {
|
||||
meson \
|
||||
@ -31,5 +30,4 @@ package() {
|
||||
DESTDIR="$pkgdir" ninja -C output install
|
||||
}
|
||||
|
||||
sha512sums="c4c4ba232cf462ccfb43147284af55d587be58136072a1ac9d24265800e8418a72e5927607206b909f767455af1fd82da57d54183df4342a95cad0b40899c383 libdparse-0.14.0.tar.gz
|
||||
5e8fe47e04f52dbdbbcd9be525b7e67c00e78259342be617ec4b2bd8dc32b5a02fba6d66075babe2b1c0efdcc7b726911389419c7c4f427d76d2a2a0c1e998aa 389.patch"
|
||||
sha512sums="339fa055247f7eef4807a60aaf910f3558054b97afd453b08088b80216c9707b178f3b4199f782b105f9ad0b5802453afaea7815cb688f569a96de5f0c19c02e libdparse-0.15.1.tar.gz"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user