[140355] trunk/dports/science/gnss-sdr

michaelld at macports.org michaelld at macports.org
Fri Sep 18 09:19:11 PDT 2015


Revision: 140355
          https://trac.macports.org/changeset/140355
Author:   michaelld at macports.org
Date:     2015-09-18 09:19:11 -0700 (Fri, 18 Sep 2015)
Log Message:
-----------
gnss-sdr*: add temporary patch to fix build issue with Volk. Add comment to the post-patch reinplace that it is temporary too and will be fixed with the next release.

Modified Paths:
--------------
    trunk/dports/science/gnss-sdr/Portfile

Added Paths:
-----------
    trunk/dports/science/gnss-sdr/files/
    trunk/dports/science/gnss-sdr/files/patch-volk.diff

Modified: trunk/dports/science/gnss-sdr/Portfile
===================================================================
--- trunk/dports/science/gnss-sdr/Portfile	2015-09-18 15:43:03 UTC (rev 140354)
+++ trunk/dports/science/gnss-sdr/Portfile	2015-09-18 16:19:11 UTC (rev 140355)
@@ -88,6 +88,13 @@
 
 require_active_variants port:google-glog gflags
 
+# temporary patch to fix Volk #define in compatibility
+
+patchfiles-append patch-volk.diff
+
+# temporary patch; will be fixed in next release; this is in some of
+# the distros already, but it won't hurt to it for all ports.
+
 post-patch {
     reinplace "s at multithread@opencl at g" ${worksrcpath}/src/algorithms/acquisition/gnuradio_blocks/pcps_opencl_acquisition_cc.cc
 }

Added: trunk/dports/science/gnss-sdr/files/patch-volk.diff
===================================================================
--- trunk/dports/science/gnss-sdr/files/patch-volk.diff	                        (rev 0)
+++ trunk/dports/science/gnss-sdr/files/patch-volk.diff	2015-09-18 16:19:11 UTC (rev 140355)
@@ -0,0 +1,19 @@
+--- src/algorithms/libs/volk_gnsssdr_module/volk_gnsssdr/include/volk_gnsssdr/volk_gnsssdr_complex.h.orig
++++ src/algorithms/libs/volk_gnsssdr_module/volk_gnsssdr/include/volk_gnsssdr/volk_gnsssdr_complex.h
+@@ -24,6 +24,9 @@
+ #ifndef INCLUDE_VOLK_COMPLEX_H
+ #define INCLUDE_VOLK_COMPLEX_H
+ 
++#ifndef INCLUDED_VOLK_COMPLEX_H
++#define INCLUDED_VOLK_COMPLEX_H
++
+ /*!
+  * \brief Provide typedefs and operators for all complex types in C and C++.
+  *
+@@ -106,4 +109,6 @@ typedef double complex       lv_64fc_t;
+ 
+ #endif /* __cplusplus */
+ 
++#endif /* INCLUDED_VOLK_COMPLEX_H */
++
+ #endif /* INCLUDE_VOLK_COMPLEX_H */
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150918/f0441741/attachment-0001.html>


More information about the macports-changes mailing list