sci-geosciences/merkaartor: fix compilation with proj-6.0.0
authorAmy Liffey <amynka@gentoo.org>
Sun, 30 Jun 2019 07:17:40 +0000 (09:17 +0200)
committerAmy Liffey <amynka@gentoo.org>
Sun, 30 Jun 2019 07:18:42 +0000 (09:18 +0200)
Closes: https://bugs.gentoo.org/685234
Submitted-by: <phobosk@fastmail.fm>
Signed-off-by: Amy Liffey <amynka@gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11

sci-geosciences/merkaartor/merkaartor-0.18.3-r4.ebuild

index d3bb9dded76ecbb5842ed5454259601f6371bb71..7c990dab37943e5863c506b505eac353b14511f7 100644 (file)
@@ -1,11 +1,11 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 
 PLOCALES="ar cs de en es et fr hr hu id_ID it ja nl pl pt_BR pt ru sk sv uk vi zh_CN zh_TW"
 
-inherit gnome2-utils l10n qmake-utils xdg-utils
+inherit gnome2-utils l10n qmake-utils xdg-utils flag-o-matic
 
 DESCRIPTION="Qt based map editor for the openstreetmap.org project"
 HOMEPAGE="http://www.merkaartor.be https://github.com/openstreetmap/merkaartor"
@@ -65,6 +65,8 @@ src_prepare() {
 }
 
 src_configure() {
+       append-flags -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H
+
        # TRANSDIR_SYSTEM is for bug #385671
        eqmake5 \
                PREFIX="${ED%/}/usr" \