Created attachment 575438 [details, diff]
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-geosciences/merkaartor-0.18.3-r4 package gives the error too:
In file included from common/Projection.h:12:0,
/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 tested to be working OK ...
*** Bug 685526 has been marked as a duplicate of this bug. ***
The bug has been closed via the following commit(s):
Author: Amy Liffey <firstname.lastname@example.org>
AuthorDate: 2019-06-30 07:17:40 +0000
Commit: Amy Liffey <email@example.com>
CommitDate: 2019-06-30 07:18:42 +0000
sci-geosciences/merkaartor: fix compilation with proj-6.0.0
Signed-off-by: Amy Liffey <firstname.lastname@example.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11
sci-geosciences/merkaartor/merkaartor-0.18.3-r4.ebuild | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
Re-opening as a workaround is no fix and it is running out of time.