openbsd-ports/geo/qlandkarte/patches/patch-src_CProjEckII_cpp
landry a8c5805167 Unbreak after proj update, by manually porting it to proj_api.h.
This project is dead upstream anyway, and people should switch to QLandKarteGT.
2013-03-10 09:51:22 +00:00

13 lines
385 B
Plaintext

$OpenBSD: patch-src_CProjEckII_cpp,v 1.1 2013/03/10 09:51:22 landry Exp $
--- src/CProjEckII.cpp.orig Sun Mar 10 10:26:46 2013
+++ src/CProjEckII.cpp Sun Mar 10 10:26:55 2013
@@ -22,7 +22,7 @@
CProjEckII::CProjEckII()
{
- pj = pj_init_plus("+proj=eck2 +lat_ts=0 +datum=WGS84 +ellps=WGS84");
+ pj = (PJ*) pj_init_plus("+proj=eck2 +lat_ts=0 +datum=WGS84 +ellps=WGS84");
}