Diff pgplot-5.2.2-r8 with a pgplot-5.2.2-r9
/usr/portage/sci-libs/pgplot/pgplot-5.2.2-r9.ebuild 2025-07-29 16:22:17.340467776 +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 |
... | ... | |
10 | 10 |
DESCRIPTION="FORTRAN/C device-independent scientific graphic library" |
11 | 11 |
HOMEPAGE="https://www.astro.caltech.edu/~tjp/pgplot/" |
12 | 12 |
SRC_URI="ftp://ftp.astro.caltech.edu/pub/pgplot/${MY_P}.tar.gz" |
13 |
S="${WORKDIR}/${PN}" |
|
13 | 14 | |
14 | 15 |
LICENSE="free-noncomm" |
15 | 16 |
SLOT="0" |
... | ... | |
28 | 29 |
doc? ( virtual/latex-base ) |
29 | 30 |
" |
30 | 31 | |
31 |
S="${WORKDIR}/${PN}" |
|
32 | ||
33 | 32 |
PATCHES=( |
34 | 33 |
"${FILESDIR}"/${PN}-drivers.patch |
35 | 34 |
"${FILESDIR}"/${PN}-makemake.patch |
... | ... | |
37 | 36 |
"${FILESDIR}"/${PN}-headers.patch |
38 | 37 |
"${FILESDIR}"/${PN}-libpng15.patch |
39 | 38 |
"${FILESDIR}"/${PN}-tk86.patch |
39 |
"${FILESDIR}"/${PN}-C99.patch |
|
40 | 40 |
) |
41 | 41 | |
42 | 42 |
src_prepare() { |
43 | 43 |
default |
44 | 44 | |
45 | 45 |
# fix pointers for 64 bits |
46 |
if use amd64; then |
|
46 |
if use amd64 || use ia64; then |
|
47 | 47 |
sed -e 's/INTEGER PIXMAP/INTEGER*8 PIXMAP/g' \ |
48 | 48 |
-i drivers/{gi,pp,wd}driv.f || die "sed 64bits failed" |
49 | 49 |
fi |