openbsd-ports/geo/qlandkarte/patches/patch-src_CProjMerc_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
379 B
Plaintext

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