[119441] trunk/dports/science/gnuradio

michaelld at macports.org michaelld at macports.org
Fri Apr 25 09:23:59 PDT 2014


Revision: 119441
          https://trac.macports.org/changeset/119441
Author:   michaelld at macports.org
Date:     2014-04-25 09:23:59 -0700 (Fri, 25 Apr 2014)
Log Message:
-----------
gnuradio-legacy: add patch to fix friend function API declaration.

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

Added Paths:
-----------
    trunk/dports/science/gnuradio/files/patch-gnuradio-core_src_lib_io_ppio_ppdev.h.diff

Modified: trunk/dports/science/gnuradio/Portfile
===================================================================
--- trunk/dports/science/gnuradio/Portfile	2014-04-25 15:22:23 UTC (rev 119440)
+++ trunk/dports/science/gnuradio/Portfile	2014-04-25 16:23:59 UTC (rev 119441)
@@ -79,6 +79,10 @@
 
     patchfiles-append patch-gnuradio-core_swig_include-std_string.i.diff
 
+    # fix friend function API declaration
+
+    patchfiles-append patch-gnuradio-core_src_lib_io_ppio_ppdev.h.diff
+
     # 3.6.5.1 is the last of the 3.6 API development
 
     livecheck.type  none

Added: trunk/dports/science/gnuradio/files/patch-gnuradio-core_src_lib_io_ppio_ppdev.h.diff
===================================================================
--- trunk/dports/science/gnuradio/files/patch-gnuradio-core_src_lib_io_ppio_ppdev.h.diff	                        (rev 0)
+++ trunk/dports/science/gnuradio/files/patch-gnuradio-core_src_lib_io_ppio_ppdev.h.diff	2014-04-25 16:23:59 UTC (rev 119441)
@@ -0,0 +1,22 @@
+--- gnuradio-core/src/lib/io/ppio_ppdev.h.orig	2014-04-25 12:10:07.000000000 -0400
++++ gnuradio-core/src/lib/io/ppio_ppdev.h	2014-04-25 12:10:28.000000000 -0400
+@@ -35,7 +35,7 @@
+  */
+ 
+ class GR_CORE_API ppio_ppdev : public ppio {
+-  friend GR_CORE_API ppio_ppdev_sptr make_ppio_ppdev (int which = 0);
++  friend GR_CORE_API ppio_ppdev_sptr make_ppio_ppdev (int which);
+   ppio_ppdev (int which = 0);
+ 
+  public:
+@@ -54,8 +54,8 @@
+   int	d_fd;
+ };
+ 
+-ppio_ppdev_sptr
+-make_ppio_ppdev (int which);
++GR_CORE_API ppio_ppdev_sptr
++make_ppio_ppdev (int which = 0);
+ 
+ 
+ #endif /* INCLUDED_PPIO_PPDEV_H */
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140425/10b3d307/attachment.html>


More information about the macports-changes mailing list