mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
sci-visualization/opendx: Allow for compiling with GCC 6
Gentoo-bug: 593932 * EAPI=6 Package-Manager: portage-2.3.0
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST dx-4.4.4.tar.gz 9676049 SHA256 a9915e17d49c5499edd3df69ffeac0b7ba24f8b38ddf7509712b48eb3c21f1ff SHA512 e6ef0075a696c442fd4615eb32b9ebd3f85728321a33297e3402b19bbc6210953a6599d643fc0a20bc349fbc72411326c69187223ee0e65560603d8e6f7527ee WHIRLPOOL 6d6931fabfb054ff06464649b2b2ce5f094aa6d0c28f0f2e6ee22176ef4749d78f102ed9d0c27cf3c84ea10038d4502d908ec7a95a597d32f21574b277a54fa0
|
||||
DIST opendx-4.4.4_p20160917-fix-c++14.patch.bz2 3162 SHA256 306a3dcedee38dc61f27ce184a88018b78d541d168eb1b85f04a5964b527e02a SHA512 0d671e5a085b446969fbe57eb9d08e4dd103bc29058ce8c6167c3cad18f14b816a3f2cae329b194ef9827ff6590d31da95fc04176e0824f95bdf89761007bc6f WHIRLPOOL b8eecf3955acaa58c94d63a8781691bc4eb2ea62a82077052a1cf221e811cae586a691aff311e08633c70d80d9f15a3d162ad4bd4c4f5b8362fcbfc582a1bf9f
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
--- configure.ac.orig 2009-06-14 22:10:24.000000000 +1200
|
||||
+++ configure.ac 2009-06-14 22:26:29.000000000 +1200
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -148,6 +148,12 @@ AC_ARG_WITH(netcdf,
|
||||
[with_netcdf=$withval],
|
||||
[with_netcdf='yes'])
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
diff -up bin/url_handler.sh.orig bin/url_handler.sh
|
||||
--- bin/url_handler.sh.orig 2009-05-02 23:21:08.000000000 +1200
|
||||
+++ bin/url_handler.sh 2009-05-02 23:24:25.000000000 +1200
|
||||
--- a/bin/url_handler.sh
|
||||
+++ b/bin/url_handler.sh
|
||||
@@ -27,21 +27,7 @@ case $method in
|
||||
mailto) mutt `echo "$url" | sed 's;^[^:]*:\(.*\);\1;'`
|
||||
;;
|
||||
|
||||
@@ -2,14 +2,16 @@
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
EAPI=6
|
||||
|
||||
MYP=dx-${PV}
|
||||
inherit eutils flag-o-matic autotools multilib
|
||||
|
||||
inherit autotools eutils flag-o-matic
|
||||
|
||||
DESCRIPTION="3D data visualization tool"
|
||||
HOMEPAGE="http://www.opendx.org/"
|
||||
SRC_URI="http://opendx.sdsc.edu/source/${MYP}.tar.gz"
|
||||
SRC_URI="http://opendx.sdsc.edu/source/${MYP}.tar.gz
|
||||
https://dev.gentoo.org/~soap/distfiles/${PN}-4.4.4_p20160917-fix-c++14.patch.bz2"
|
||||
|
||||
LICENSE="IBM"
|
||||
SLOT="0"
|
||||
@@ -34,18 +36,22 @@ DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
S="${WORKDIR}/${MYP}"
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-4.3.2-sys.h.patch"
|
||||
"${FILESDIR}/${P}-installpaths.patch"
|
||||
"${FILESDIR}/${P}-xdg.patch"
|
||||
"${FILESDIR}/${P}-gcc43.patch"
|
||||
"${FILESDIR}/${P}-dx-errno.patch"
|
||||
"${FILESDIR}/${P}-libtool.patch"
|
||||
"${FILESDIR}/${P}-concurrent-make-fix.patch"
|
||||
"${FILESDIR}/${P}-open.patch"
|
||||
"${FILESDIR}/${P}-szip.patch"
|
||||
"${FILESDIR}/${P}-null.patch"
|
||||
"${WORKDIR}/${PN}-4.4.4_p20160917-fix-c++14.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${PN}-4.3.2-sys.h.patch"
|
||||
epatch "${FILESDIR}/${P}-installpaths.patch"
|
||||
epatch "${FILESDIR}/${P}-xdg.patch"
|
||||
epatch "${FILESDIR}/${P}-gcc43.patch"
|
||||
epatch "${FILESDIR}/${P}-dx-errno.patch"
|
||||
epatch "${FILESDIR}/${P}-libtool.patch"
|
||||
epatch "${FILESDIR}/${P}-concurrent-make-fix.patch"
|
||||
epatch "${FILESDIR}/${P}-open.patch"
|
||||
epatch "${FILESDIR}/${P}-szip.patch"
|
||||
epatch "${FILESDIR}/${P}-null.patch"
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
@@ -63,7 +69,6 @@ src_configure() {
|
||||
|
||||
# javadx is currently broken. we may try to fix it someday.
|
||||
econf \
|
||||
--libdir="${EPREFIX}"/usr/$(get_libdir) \
|
||||
--with-x \
|
||||
--without-javadx \
|
||||
$(use_with szip szlib) \
|
||||
|
||||
Reference in New Issue
Block a user