mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
media-libs/qhull: Drop old, EAPI5--
Package-Manager: Portage-2.3.43, Repoman-2.3.10
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST qhull-2012.1-src.tgz 716665 BLAKE2B b704b87ac36be3d22ab45bce1ec3bf06ed0a3786f6294e6d07af3ead6e313c947a601edccdc03c96512daaf9dead147c024d8c0963c8f3d6125c3c99b41dbfc5 SHA512 e35ea2cb73ef32b23b64a6594a8b5ea22ed8e2ea7535cfd72dca44331602368dfcb681600a0d2b090e80e67e6be7b32272244b9083d4805f2fbcf5897eb73240
|
||||
DIST qhull-2015.2.tar.gz 1010153 BLAKE2B 854d1897ad5a92b2e13f6b2304d707b21023a47d60fcc7065b487c24dad06fa016536311e224155b879ad699c046f15991a840f5f04283ffdeef8a68dfbf7c15 SHA512 a544f88b5fbabc592fdc4c5533ba58a8f856e018b85128f43d0532a1143123ceb0d5ca9ae1d27722efa5d08092c017bf7715c157d1019f447e6746f23f02dcd4
|
||||
|
||||
@@ -1,16 +0,0 @@
|
||||
src/libqhull/io.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/libqhull/io.c b/src/libqhull/io.c
|
||||
index 09a0079..2bd066e 100644
|
||||
--- a/src/libqhull/io.c
|
||||
+++ b/src/libqhull/io.c
|
||||
@@ -2238,7 +2238,7 @@ void qh_printfacet3math(FILE *fp, facetT *facet, qh_PRINT format, int notfirst)
|
||||
qh_memfree(point, qh normal_size);
|
||||
qh_settempfree(&points);
|
||||
qh_settempfree(&vertices);
|
||||
- qh_fprintf(fp, 9110, endfmt);
|
||||
+ fprintf(fp, "%s", endfmt);
|
||||
} /* printfacet3math */
|
||||
|
||||
|
||||
@@ -1,52 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit cmake-utils flag-o-matic
|
||||
|
||||
MY_P="${PN}${PV}"
|
||||
|
||||
DESCRIPTION="Geometry library"
|
||||
HOMEPAGE="http://www.qhull.org/"
|
||||
SRC_URI="${HOMEPAGE}/download/${P}-src.tgz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="BSD"
|
||||
KEYWORDS="amd64 arm ppc ppc64 x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
|
||||
IUSE="doc static-libs"
|
||||
|
||||
DOCS=( Announce.txt File_id.diz README.txt REGISTER.txt )
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-64bit.patch
|
||||
"${FILESDIR}"/${P}-format-security.patch
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
append-flags -fno-strict-aliasing
|
||||
mycmakeargs+=(
|
||||
-DLIB_INSTALL_DIR="${EPREFIX}"/usr/$(get_libdir)
|
||||
-DDOC_INSTALL_DIR="${EPREFIX}"/usr/share/doc/${PF}/html
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
# See https://bugs.gentoo.org/show_bug.cgi?id=435006
|
||||
# If qhull-2010 is installed we need to remove its include dir so
|
||||
# that it can be replaced with a symlink in this version.
|
||||
rm -rf "${EROOT}"usr/include/qhull || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
# compatibility with previous installs
|
||||
dosym libqhull /usr/include/qhull
|
||||
if ! use doc; then
|
||||
rm -rf "${ED}"/usr/share/doc/${PF}/html || die
|
||||
fi
|
||||
if ! use static-libs; then
|
||||
rm -f "${ED}"/usr/$(get_libdir)/lib*.a || die
|
||||
fi
|
||||
}
|
||||
Reference in New Issue
Block a user