qhull: update to 2019.1.
This commit is contained in:
parent
410a073908
commit
ce6172085b
|
@ -1,29 +0,0 @@
|
|||
diff --git src/libqhull/io.c src/libqhull/io.c
|
||||
index 09a0079..7ad4b35 100644
|
||||
--- src/libqhull/io.c
|
||||
+++ src/libqhull/io.c
|
||||
@@ -68,8 +68,8 @@ void qh_produce_output2(void) {
|
||||
qh_memstatistics(qh ferr);
|
||||
d_1= sizeof(setT) + (qh hull_dim - 1) * SETelemsize;
|
||||
qh_fprintf(qh ferr, 8040, "\
|
||||
- size in bytes: merge %d ridge %d vertex %d facet %d\n\
|
||||
- normal %d ridge vertices %d facet vertices or neighbors %d\n",
|
||||
+ size in bytes: merge %zd ridge %zd vertex %zd facet %zd\n\
|
||||
+ normal %d ridge vertices %d facet vertices or neighbors %zd\n",
|
||||
(int)sizeof(mergeT), (int)sizeof(ridgeT),
|
||||
(int)sizeof(vertexT), (int)sizeof(facetT),
|
||||
qh normal_size, d_1, d_1 + SETelemsize);
|
||||
diff --git src/libqhull/stat.c src/libqhull/stat.c
|
||||
index 7dc60b9..5721130 100644
|
||||
--- src/libqhull/stat.c
|
||||
+++ src/libqhull/stat.c
|
||||
@@ -472,7 +472,7 @@ void qh_initstatistics(void) {
|
||||
qh_allstatI();
|
||||
if (qhstat next > (int)sizeof(qhstat id)) {
|
||||
qh_fprintf(qhmem.ferr, 6184, "qhull error (qh_initstatistics): increase size of qhstat.id[].\n\
|
||||
- qhstat.next %d should be <= sizeof(qhstat id) %d\n", qhstat next, (int)sizeof(qhstat id));
|
||||
+ qhstat.next %d should be <= sizeof(qhstat id) %zd\n", qhstat next, (int)sizeof(qhstat id));
|
||||
#if 0 /* for locating error, Znumridges should be duplicated */
|
||||
for(i=0; i < ZEND; i++) {
|
||||
int j;
|
||||
|
|
@ -1,15 +1,14 @@
|
|||
# Template file for 'qhull'
|
||||
pkgname=qhull
|
||||
version=2015.2
|
||||
version=2019.1
|
||||
revision=1
|
||||
_soname=7.2.0
|
||||
build_style=cmake
|
||||
short_desc="Computes volumes, surface areas and approximations to the convex hull"
|
||||
maintainer="Martin Riese <grauehaare@gmx.de>"
|
||||
license="BSD"
|
||||
homepage="http://www.qhull.org"
|
||||
distfiles="http://www.qhull.org/download/${pkgname}-${version%.*}-src-${_soname}.tgz"
|
||||
checksum=78b010925c3b577adc3d58278787d7df08f7c8fb02c3490e375eab91bb58a436
|
||||
distfiles="https://github.com/qhull/qhull/archive/$version.tar.gz"
|
||||
checksum=cf7235b76244595a86b9407b906e3259502b744528318f2178155e5899d6cf9f
|
||||
|
||||
post_install() {
|
||||
install -Dm644 ${FILESDIR}/qhull.pc ${DESTDIR}/usr/lib/pkgconfig/qhull.pc
|
||||
|
|
Loading…
Reference in New Issue