mirror of
https://github.com/void-linux/void-packages.git
synced 2025-09-04 11:03:06 +02:00
mdds: update to 3.1.0.
This commit is contained in:
parent
5fcb0323c8
commit
b7e9895ad9
2 changed files with 11 additions and 39 deletions
|
@ -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 <gnu/stubs-32.h>
|
|
||||||
| ^~~~~~~~~~~~~~~~
|
|
||||||
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"
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -5,16 +5,23 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
pkgname=mdds
|
pkgname=mdds
|
||||||
version=2.1.1
|
version=3.1.0
|
||||||
revision=1
|
revision=1
|
||||||
build_style=gnu-configure
|
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"
|
short_desc="Collection of multi-dimensional data structures and indexing algorithms"
|
||||||
maintainer="Enno Boland <gottox@voidlinux.org>"
|
maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
homepage="https://gitlab.com/mdds/mdds"
|
homepage="https://gitlab.com/mdds/mdds"
|
||||||
distfiles="http://kohei.us/files/mdds/src/mdds-${version}.tar.bz2"
|
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() {
|
post_install() {
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
|
|
Loading…
Add table
Reference in a new issue