diff options
author | NHOrus <jy6x2b32pie9@yahoo.com> | 2024-04-04 16:12:37 +0400 |
---|---|---|
committer | Andrew Ammerlaan <andrewammerlaan@gentoo.org> | 2024-04-05 09:39:34 +0200 |
commit | f05911cd1a46ac7b974ddcd9d09fec1a911373ac (patch) | |
tree | cbee032fae3f7361726144871b822875ed9d3c1b /sci-libs/ogdi | |
parent | sci-libs/datasets: pytorch must be built with numpy support (diff) | |
download | gentoo-f05911cd1a46ac7b974ddcd9d09fec1a911373ac.tar.gz gentoo-f05911cd1a46ac7b974ddcd9d09fec1a911373ac.tar.bz2 gentoo-f05911cd1a46ac7b974ddcd9d09fec1a911373ac.zip |
sci-libs/ogdi: Fix C99 errors
Closes: https://bugs.gentoo.org/886460
Signed-off-by: NHOrus <jy6x2b32pie9@yahoo.com>
Closes: https://github.com/gentoo/gentoo/pull/36095
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Diffstat (limited to 'sci-libs/ogdi')
-rw-r--r-- | sci-libs/ogdi/files/ogdi-4.1.0-c99-conversions.patch | 21 | ||||
-rw-r--r-- | sci-libs/ogdi/ogdi-4.1.0-r1.ebuild | 3 |
2 files changed, 23 insertions, 1 deletions
diff --git a/sci-libs/ogdi/files/ogdi-4.1.0-c99-conversions.patch b/sci-libs/ogdi/files/ogdi-4.1.0-c99-conversions.patch new file mode 100644 index 000000000000..476f77b938ef --- /dev/null +++ b/sci-libs/ogdi/files/ogdi-4.1.0-c99-conversions.patch @@ -0,0 +1,21 @@ +--- a/vpflib/vpfprop.c 2024-04-04 12:03:43.682864289 +0000 ++++ b/vpflib/vpfprop.c 2024-04-04 12:07:30.498441728 +0000 +@@ -840,7 +840,8 @@ + #endif + + { +- int32 ncov,i,j,k,n; ++ char ncov; ++ int32 i,j,k,n; + char path[255]; + char **ptr, **coverages, **subset, **fcnames=(char **)NULL; + +@@ -1447,7 +1447,7 @@ + int32 *nfc ) + #else + char **coverage_feature_class_names (library_path, coverage, nfc) +- char *library_path, coverage; ++ char *library_path, *coverage; + int32 *nfc; + #endif + diff --git a/sci-libs/ogdi/ogdi-4.1.0-r1.ebuild b/sci-libs/ogdi/ogdi-4.1.0-r1.ebuild index e449cbd2f7e3..c0eb8f3c5dff 100644 --- a/sci-libs/ogdi/ogdi-4.1.0-r1.ebuild +++ b/sci-libs/ogdi/ogdi-4.1.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -26,6 +26,7 @@ PATCHES=( "${FILESDIR}"/${PN}-3.2.0-endianess.patch "${FILESDIR}"/${PN}-3.2.0-optimisation.patch "${FILESDIR}"/${PN}-3.2.0-tcl.patch + "${FILESDIR}"/${P}-c99-conversions.patch ) src_prepare() { |