From b7e9895ad91f5d7ba431b4891dc92dea83b682ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Tue, 12 Aug 2025 21:51:44 +0700 Subject: [PATCH] mdds: update to 3.1.0. --- srcpkgs/mdds/patches/configure.patch | 35 ---------------------------- srcpkgs/mdds/template | 15 ++++++++---- 2 files changed, 11 insertions(+), 39 deletions(-) delete mode 100644 srcpkgs/mdds/patches/configure.patch diff --git a/srcpkgs/mdds/patches/configure.patch b/srcpkgs/mdds/patches/configure.patch deleted file mode 100644 index d546d750ac8..00000000000 --- a/srcpkgs/mdds/patches/configure.patch +++ /dev/null @@ -1,35 +0,0 @@ -This patch is needed, otherwise the sanity test for cpp fails on cross builds: - -configure:5267: aarch64-linux-gnu-cpp -Wall -Wshadow -g -pedantic-errors -I/usr/include -I/usr/local/include conftest.c -In file included from /usr/include/features.h:489, - from /usr/include/bits/libc-header-start.h:33, - from /usr/include/limits.h:26, - from conftest.c:13: -/usr/include/gnu/stubs.h:7:11: fatal error: gnu/stubs-32.h: No such file or directory - 7 | # include - | ^~~~~~~~~~~~~~~~ -compilation terminated. - -Normally, this isn't an issue with the compiler itself, because we have a -wrapper that discards bad -I flags, but we don't have a cpp wrapper. - ---- a/configure.ac -+++ b/configure.ac -@@ -24,7 +24,6 @@ AC_SUBST(QUICKCHECKDIR) - AX_CXX_COMPILE_STDCXX_17([noext], [mandatory]) - - CPPFLAGS="$CPPFLAGS -Wall -Wshadow -g -pedantic-errors" --CPPFLAGS="$CPPFLAGS -I/usr/include -I/usr/local/include" - - AC_CHECK_SIZEOF([void *]) - CXXFLAGS="$CXXFLAGS -DSIZEOF_VOID_P=$ac_cv_sizeof_void_p" ---- a/configure -+++ b/configure -@@ -5237,7 +5237,6 @@ printf "%s\n" "#define HAVE_CXX17 1" >>c - - - CPPFLAGS="$CPPFLAGS -Wall -Wshadow -g -pedantic-errors" --CPPFLAGS="$CPPFLAGS -I/usr/include -I/usr/local/include" - - - diff --git a/srcpkgs/mdds/template b/srcpkgs/mdds/template index 60fa31cde55..8b5a335dedb 100644 --- a/srcpkgs/mdds/template +++ b/srcpkgs/mdds/template @@ -5,16 +5,23 @@ # pkgname=mdds -version=2.1.1 +version=3.1.0 revision=1 build_style=gnu-configure -checkdepends="boost-devel" +configure_args="--enable-release-tests" +hostmakedepends="automake" +checkdepends="boost-devel-minimal" short_desc="Collection of multi-dimensional data structures and indexing algorithms" -maintainer="Enno Boland " +maintainer="Đoàn Trần Công Danh " license="MIT" homepage="https://gitlab.com/mdds/mdds" distfiles="http://kohei.us/files/mdds/src/mdds-${version}.tar.bz2" -checksum=8a3767f0a60c53261b5ebbaa717381446813aef8cf28fe9d0ea1371123bbe3f1 +distfiles="https://gitlab.com/mdds/mdds/-/archive/${version}/mdds-${version}.tar.gz" +checksum=f19a1426ced40167faac97af366dc60d2b456ccf1d3ab56457a55749a57eecce + +pre_configure() { + autoreconf -fi +} post_install() { vlicense LICENSE