Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 693072 - dev-db/spatialite-4.3.0a with sci-libs/proj-6* - ?
Summary: dev-db/spatialite-4.3.0a with sci-libs/proj-6* - ?
Status: RESOLVED DUPLICATE of bug 685668
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sci-geo Project
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2019-08-29 15:02 UTC by José de Paula Rodrigues
Modified: 2019-10-20 13:32 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Added -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H on prepare (spatialite4.patch,398 bytes, patch)
2019-08-29 15:02 UTC, José de Paula Rodrigues
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description José de Paula Rodrigues 2019-08-29 15:02:59 UTC
Created attachment 588506 [details, diff]
Added -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H on prepare

If dev-db/spatialite-4.3.0a is being built against >=sci-libs/proj-6.0, then it is necessary to add "-DACCEPT_USE_OF_DEPRECATED_PROJ_API_H" to its CFLAGS.

Attached is the ebuild that I modified to solve the problem.

This is needed because I'm refreshing sci-geosciences/qgis-9999, which in turn won't work with the sci-libs/proj-4.x currently in the portage tree; I chose to use >=sci-libs/proj-6.0 because proj upstream says versions 4 and older are deprecated; please see https://github.com/OSGeo/PROJ/issues/836 .
Comment 1 Andreas Sturmlechner gentoo-dev 2019-10-20 13:32:39 UTC

*** This bug has been marked as a duplicate of bug 685668 ***