summaryrefslogtreecommitdiff
path: root/misc/zyGrib
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2012-06-15 18:56:57 +0000
committerjoerg <joerg@pkgsrc.org>2012-06-15 18:56:57 +0000
commit6ebc550cc070a14a0857f862f1879fa5bfbf7c7b (patch)
tree4b4464a02f8550b820d0566c0aa6e20886e06eee /misc/zyGrib
parent6c59ba22cfb7ac36d26657a8e21c86f5416cc008 (diff)
downloadpkgsrc-6ebc550cc070a14a0857f862f1879fa5bfbf7c7b.tar.gz
Fix use of the vexing parse problem.
Diffstat (limited to 'misc/zyGrib')
-rw-r--r--misc/zyGrib/distinfo3
-rw-r--r--misc/zyGrib/patches/patch-Terrain.cpp13
2 files changed, 15 insertions, 1 deletions
diff --git a/misc/zyGrib/distinfo b/misc/zyGrib/distinfo
index 29bbff836ce..e219eb0890e 100644
--- a/misc/zyGrib/distinfo
+++ b/misc/zyGrib/distinfo
@@ -1,8 +1,9 @@
-$NetBSD: distinfo,v 1.13 2012/03/15 22:46:01 plunky Exp $
+$NetBSD: distinfo,v 1.14 2012/06/15 18:56:57 joerg Exp $
SHA1 (zyGrib-5.1.3.tgz) = e8965dd6ec1f8cbf13a302540f01b9e42ec4bab2
RMD160 (zyGrib-5.1.3.tgz) = 8f378d726f076a701b0ed1d529c9ef2195ede29e
Size (zyGrib-5.1.3.tgz) = 17046935 bytes
+SHA1 (patch-Terrain.cpp) = bb9ffacbf9434cb1288bbd21162aa1e9b165b2e3
SHA1 (patch-aa) = be561cd1d7d784d09071cde600819ad4bbc41d22
SHA1 (patch-ab) = dcd400ea957ae6e1f550e4277ce2f5337fc4eac8
SHA1 (patch-map_Projection__libproj.cpp) = be1db6ab90cc9d6bff84a5bb8d2ec3a43622c7fa
diff --git a/misc/zyGrib/patches/patch-Terrain.cpp b/misc/zyGrib/patches/patch-Terrain.cpp
new file mode 100644
index 00000000000..90939d8e565
--- /dev/null
+++ b/misc/zyGrib/patches/patch-Terrain.cpp
@@ -0,0 +1,13 @@
+$NetBSD: patch-Terrain.cpp,v 1.1 2012/06/15 18:56:58 joerg Exp $
+
+--- Terrain.cpp.orig 2012-06-15 13:44:42.000000000 +0000
++++ Terrain.cpp
+@@ -1024,7 +1024,7 @@ void Terrain::paintEvent(QPaintEvent * /
+
+ if (showOrthodromie)
+ {
+- QPen penLine(QColor(Qt::white));
++ QPen penLine = QColor(Qt::white);
+ penLine.setWidthF(1.6);
+ pnt.setPen(penLine);
+ draw_Orthodromie(pnt);