[138143] trunk/dports/science/magicspp

takeshi at macports.org takeshi at macports.org
Tue Jun 30 05:56:04 PDT 2015


Revision: 138143
          https://trac.macports.org/changeset/138143
Author:   takeshi at macports.org
Date:     2015-06-30 05:56:04 -0700 (Tue, 30 Jun 2015)
Log Message:
-----------
magicspp: add patch-src-decoders-GribSatelliteInterpretor.cc.diffi

Modified Paths:
--------------
    trunk/dports/science/magicspp/Portfile

Added Paths:
-----------
    trunk/dports/science/magicspp/files/
    trunk/dports/science/magicspp/files/patch-src-decoders-GribSatelliteInterpretor.cc.diff

Modified: trunk/dports/science/magicspp/Portfile
===================================================================
--- trunk/dports/science/magicspp/Portfile	2015-06-30 07:40:53 UTC (rev 138142)
+++ trunk/dports/science/magicspp/Portfile	2015-06-30 12:56:04 UTC (rev 138143)
@@ -62,6 +62,8 @@
 
 default_variants-append +python27
 
+patchfiles              patch-src-decoders-GribSatelliteInterpretor.cc.diff
+
 use_configure           yes
 configure.cmd           cmake
 configure.dir           ${workpath}/build

Added: trunk/dports/science/magicspp/files/patch-src-decoders-GribSatelliteInterpretor.cc.diff
===================================================================
--- trunk/dports/science/magicspp/files/patch-src-decoders-GribSatelliteInterpretor.cc.diff	                        (rev 0)
+++ trunk/dports/science/magicspp/files/patch-src-decoders-GribSatelliteInterpretor.cc.diff	2015-06-30 12:56:04 UTC (rev 138143)
@@ -0,0 +1,13 @@
+--- src/decoders/GribSatelliteInterpretor.cc.orig	2015-04-23 00:35:55.000000000 +0900
++++ src/decoders/GribSatelliteInterpretor.cc	2015-06-30 21:50:25.000000000 +0900
+@@ -223,8 +223,8 @@
+   /* page 28, Ref. [1]. And finding nearest integer value for them. */
+ 
+ 
+-  cc = coff + xx *  pow(2,-16) * cfac ;
+-  ll = loff + yy *  pow(2,-16) * lfac ;
++  cc = coff + xx *  pow(2.,-16) * cfac ;
++  ll = loff + yy *  pow(2.,-16) * lfac ;
+ 
+ 
+   ccc=nint(cc);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150630/a17e95a6/attachment.html>


More information about the macports-changes mailing list