Created attachment 575436 [details, diff] shapelib-1.4.1.ebuild.patch The new sci-libs/proj-6.0.0 is preparing for v. 7.0.0 where the usage of proj_api.h will be deprecated, so now at version 6.0.0 an error occurs when trying to use it. Packages must be updated properly upstream, but till that happens a way to fix this is to append the necessary flags. The sci-libs/shapelib-1.4.1 package gives the error too: In file included from shpgeo.h:76:0, from shpcentrd.c:52: /usr/include/proj_api.h:37:2: error: #error 'To use the proj_api.h you must define the macro ACCEPT_USE_OF_DEPRECATED_PROJ_API_H' #error 'To use the proj_api.h you must define the macro ACCEPT_USE_OF_DEPRECATED_PROJ_API_H' I am uploading a proposed fix for the ebuild...
An alternative (better) solution is to bump to version 1.5.0
(In reply to Helmut Jarausch from comment #1) > An alternative (better) solution is to bump to version 1.5.0 ebuild here (although it is largely a rename minus proj dependency): https://github.com/gentoo/gentoo/pull/11506
The same compilation error in the current stable version -- 1.4.0-r1. Should I post a new bug report for it?
Stable libgeotiff-1.4.0 also failed.
Oh, it's a problem in unstable proj package, sorry, no more report needed therefore.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b467cf776c315eb62a08cd19e0bfe054ec88600 commit 4b467cf776c315eb62a08cd19e0bfe054ec88600 Author: Chris Mayo <aklhfex@gmail.com> AuthorDate: 2019-03-25 19:50:48 +0000 Commit: Stefan Strogin <steils@gentoo.org> CommitDate: 2019-05-11 14:31:41 +0000 sci-libs/shapelib: version bump 1.5.0 Closes: https://bugs.gentoo.org/685232 Package-Manager: Portage-2.3.62, Repoman-2.3.11 Signed-off-by: Chris Mayo <aklhfex@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/11506 Signed-off-by: Stefan Strogin <steils@gentoo.org> sci-libs/shapelib/Manifest | 1 + sci-libs/shapelib/shapelib-1.5.0.ebuild | 36 +++++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+)