diff --git a/srcpkgs/mdds/patches/configure.patch b/srcpkgs/mdds/patches/configure.patch new file mode 100644 index 00000000000..e838ac27a9d --- /dev/null +++ b/srcpkgs/mdds/patches/configure.patch @@ -0,0 +1,27 @@ +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. + +diff --git a/configure.ac b/configure.ac +index 40569655..5a64324a 100644 +--- 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" diff --git a/srcpkgs/mdds/template b/srcpkgs/mdds/template index ea40d874ad4..3ce27a1a395 100644 --- a/srcpkgs/mdds/template +++ b/srcpkgs/mdds/template @@ -5,16 +5,17 @@ # pkgname=mdds -version=1.5.0 -revision=3 +version=2.0.3 +revision=1 build_style=gnu-configure hostmakedepends="automake" +checkdepends="boost-devel" short_desc="Collection of multi-dimensional data structures and indexing algorithms" maintainer="Enno Boland " license="MIT" homepage="https://gitlab.com/mdds/mdds" distfiles="http://kohei.us/files/mdds/src/mdds-${version}.tar.bz2" -checksum=144d6debd7be32726f332eac14ef9f17e2d3cf89cb3250eb31a7127e0789680d +checksum=9771fe42e133443c13ca187253763e17c8bc96a1a02aec9e1e8893367ffa9ce5 post_install() { vlicense LICENSE