mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-21 10:37:22 -08:00
sci-geosciences/grass: patch, fixes failure built with format-security
qa issue; error filed upstream by 'wraeth', patch rebased from the upstream commit, runtested by myself, closes gentoo bug Upstream patch: https://trac.osgeo.org/grass/changeset/66561 Gentoo bug: #563490 Package-Manager: portage-2.2.20.1
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -77,8 +77,7 @@ S="${WORKDIR}/${MY_P}"
|
||||
|
||||
REQUIRED_USE="
|
||||
${PYTHON_REQUIRED_USE}
|
||||
opengl? ( X )
|
||||
"
|
||||
opengl? ( X )"
|
||||
|
||||
pkg_setup() {
|
||||
if use lapack; then
|
||||
@@ -111,10 +110,13 @@ pkg_setup() {
|
||||
src_prepare() {
|
||||
# Fix undefined reference to errno in lib/raster/open.c
|
||||
# see http://trac.osgeo.org/grass/changeset/66398
|
||||
epatch "${FILESDIR}/${P}-include-errno.patch"
|
||||
epatch "${FILESDIR}/${P}"-include-errno.patch
|
||||
|
||||
# Fix undeclared variable if OSG is disabled
|
||||
epatch "${FILESDIR}/${P}-declare-inespg.patch"
|
||||
epatch "${FILESDIR}/${P}"-declare-inespg.patch
|
||||
|
||||
# Bug #563490
|
||||
epatch "${FILESDIR}/${PV}"-sec-format.patch
|
||||
|
||||
# Fix unversioned python calls
|
||||
local pyver=${EPYTHON/python/}
|
||||
|
||||
Reference in New Issue
Block a user