aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRasmus Thomsen <oss@cogitri.dev>2020-06-25 10:41:01 +0200
committerLeo <thinkabit.ukim@gmail.com>2020-06-25 14:37:03 +0000
commit0439110c5d9bdb00af477bb31adee55bc375ecd7 (patch)
treeb57e769f2e57829bf99f80d4c5677615c30148c8
parent40ea258811371ce4c530faeb4e77a2d5adb6e814 (diff)
downloadaports-0439110c5d9bdb00af477bb31adee55bc375ecd7.tar.gz
aports-0439110c5d9bdb00af477bb31adee55bc375ecd7.tar.bz2
aports-0439110c5d9bdb00af477bb31adee55bc375ecd7.tar.xz
testing/libdparse: upgrade to 0.15.1
-rw-r--r--testing/libdparse/389.patch23
-rw-r--r--testing/libdparse/APKBUILD8
2 files changed, 3 insertions, 28 deletions
diff --git a/testing/libdparse/389.patch b/testing/libdparse/389.patch
deleted file mode 100644
index 027d2a8282..0000000000
--- a/testing/libdparse/389.patch
+++ /dev/null
@@ -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);
- }
-
- /**
diff --git a/testing/libdparse/APKBUILD b/testing/libdparse/APKBUILD
index aa7dd8343a..c5c596047b 100644
--- a/testing/libdparse/APKBUILD
+++ b/testing/libdparse/APKBUILD
@@ -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"