Diff cfitsio-3.490 with a cfitsio-4.0.0

/usr/portage/sci-libs/cfitsio/cfitsio-4.0.0.ebuild 2023-10-09 14:52:35.060368491 +0300
1 1
# Copyright 1999-2023 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI=7
4
EAPI=8
5 5

  
6
MY_P="${PN}-${PV%0*}"
7 6
inherit fortran-2 multilib-minimal
8 7

  
9 8
DESCRIPTION="C and Fortran library for manipulating FITS files"
10 9
HOMEPAGE="https://heasarc.gsfc.nasa.gov/docs/software/fitsio/fitsio.html"
11
SRC_URI="https://heasarc.gsfc.nasa.gov/FTP/software/fitsio/c/${MY_P}.tar.gz"
12
S="${WORKDIR}/${MY_P}"
10
SRC_URI="https://heasarc.gsfc.nasa.gov/FTP/software/fitsio/c/${P}.tar.gz"
13 11

  
14 12
LICENSE="ISC"
15 13
SLOT="0/9"
......
31 29
"
32 30

  
33 31
PATCHES=(
34
	"${FILESDIR}/${P}-ldflags.patch"
32
	"${FILESDIR}/${PN}-3.490-ldflags.patch"
35 33
	"${FILESDIR}/${P}-system-zlib.patch"
36 34
	"${FILESDIR}/${P}-pkgconfig.patch"
37 35
)
Thank you!