openbsd-ports/geo/qlandkarte/patches/patch-src_IProjection_h
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

21 lines
527 B
Plaintext

$OpenBSD: patch-src_IProjection_h,v 1.1 2013/03/10 09:51:22 landry Exp $
--- src/IProjection.h.orig Wed Feb 13 11:15:18 2008
+++ src/IProjection.h Sun Mar 10 10:11:47 2013
@@ -19,10 +19,15 @@
#ifndef IPROJECTION_H
#define IPROJECTION_H
-#include <projects.h>
+#include <proj_api.h>
#include <QRectF>
#include <QPolygonF>
#include <QString>
+
+#define PI 3.14159265358979323846
+#define TWOPI 6.2831853071795864769
+typedef projPJ PJ;
+typedef projXY XY;
extern void setupProjection(quint32 key);