[Git][debian-gis-team/zoo-project][master] Fix building with PROJ 9.

Bas Couwenberg (@sebastic) gitlab at salsa.debian.org
Tue Aug 2 12:42:55 BST 2022



Bas Couwenberg pushed to branch master at Debian GIS Project / zoo-project


Commits:
bfa82984 by Bas Couwenberg at 2022-08-02T13:42:47+02:00
Fix building with PROJ 9.

- - - - -


1 changed file:

- debian/rules


Changes:

=====================================
debian/rules
=====================================
@@ -3,8 +3,7 @@
 
 # Enable hardening build flags
 export DEB_BUILD_MAINT_OPTIONS=hardening=+all
-export DEB_CFLAGS_MAINT_APPEND=-DACCEPT_USE_OF_DEPRECATED_PROJ_API_H
-export DEB_CXXFLAGS_MAINT_APPEND=-DACCEPT_USE_OF_DEPRECATED_PROJ_API_H
+export DEB_CPPFLAGS_MAINT_APPEND=-DPROJ_VERSION_MAJOR=$(shell dpkg-query -W -f='$${Version}' libproj-dev | awk -F. '{ print $$1 }')
 
 include /usr/share/dpkg/pkg-info.mk
 



View it on GitLab: https://salsa.debian.org/debian-gis-team/zoo-project/-/commit/bfa82984e7197bd7e020ca44c78c70cbdf9d43e3

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/zoo-project/-/commit/bfa82984e7197bd7e020ca44c78c70cbdf9d43e3
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20220802/afd7f9ca/attachment.htm>


More information about the Pkg-grass-devel mailing list