Diff xd3d-8.3.1-r2 with a xd3d-8.3.1-r3
| /usr/portage/sci-visualization/xd3d/xd3d-8.3.1-r3.ebuild 2025-07-29 16:22:17.356467841 +0300 | ||
|---|---|---|
| 1 |
# Copyright 1999-2024 Gentoo Authors |
|
| 1 |
# Copyright 1999-2025 Gentoo Authors |
|
| 2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 | 3 | |
| 4 | 4 |
EAPI=8 |
| ... | ... | |
| 6 | 6 |
inherit edo fortran-2 flag-o-matic toolchain-funcs |
| 7 | 7 | |
| 8 | 8 |
DESCRIPTION="Scientific visualization tool" |
| 9 |
HOMEPAGE="http://www.cmap.polytechnique.fr/~jouve/xd3d/" |
|
| 9 |
HOMEPAGE="https://www.ljll.fr/jouve/xd3d/" |
|
| 10 | 10 |
SRC_URI="mirror://gentoo/${P}.tar.gz"
|
| 11 | 11 | |
| 12 | 12 |
LICENSE="GPL-2" |
| ... | ... | |
| 20 | 20 | |
| 21 | 21 |
PATCHES=( |
| 22 | 22 |
"${FILESDIR}"/${P}-r1-gentoo.patch
|
| 23 |
"${FILESDIR}"/${P}-parallel.patch
|
|
| 23 |
"${FILESDIR}"/${P}-sane-makefiles.patch
|
|
| 24 | 24 |
"${FILESDIR}"/${P}-rotated.patch
|
| 25 |
"${FILESDIR}"/${P}-cflags.patch
|
|
| 25 |
"${FILESDIR}"/${P}-c99.patch
|
|
| 26 | 26 |
) |
| 27 | 27 | |
| 28 | 28 |
src_prepare() {
|
| 29 | 29 |
default |
| 30 | 30 | |
| 31 |
sed -i -e 's:"zutil.h":<zlib.h>:g' src/qlib/timestuff.c || die |
|
| 32 | 31 |
sed -i -e "s:##lib##:$(get_libdir):" RULES.gentoo || die "failed to set up RULES.gentoo" |
| 33 | 32 |
} |
| 34 | 33 | |
| ... | ... | |
| 40 | 39 | |
| 41 | 40 |
# bug #863368 |
| 42 | 41 |
append-flags -fno-strict-aliasing |
| 42 |
# bug #875236 |
|
| 43 |
append-cflags -std=gnu17 |
|
| 44 |
# I do not want to muck with redefining function names and linking problems, easiest way to deal with that |
|
| 45 |
append-fflags -fno-underscoring |
|
| 43 | 46 |
filter-lto |
| 44 | 47 | |
| 45 | 48 |
# GCC 10 workaround |