[99327] trunk/dports/science/freehdl

jmr at macports.org jmr at macports.org
Thu Nov 1 15:41:07 PDT 2012


Revision: 99327
          http://trac.macports.org//changeset/99327
Author:   jmr at macports.org
Date:     2012-11-01 15:41:07 -0700 (Thu, 01 Nov 2012)
Log Message:
-----------
freehdl: fix invalid declarations

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

Added Paths:
-----------
    trunk/dports/science/freehdl/files/driver_info.cc.patch

Modified: trunk/dports/science/freehdl/Portfile
===================================================================
--- trunk/dports/science/freehdl/Portfile	2012-11-01 22:25:33 UTC (rev 99326)
+++ trunk/dports/science/freehdl/Portfile	2012-11-01 22:41:07 UTC (rev 99327)
@@ -21,4 +21,5 @@
                     sha1    eca7ad3ac58e56b72842e83a0a702c05b8f86aa4 \
                     rmd160  d00e14d6b1cd97154b221717124c6e20b0d4f776
 
-patchfiles          std-vhdl-types.hh.patch kernel-sig-info.hh.patch
+patchfiles          std-vhdl-types.hh.patch kernel-sig-info.hh.patch \
+                    driver_info.cc.patch

Added: trunk/dports/science/freehdl/files/driver_info.cc.patch
===================================================================
--- trunk/dports/science/freehdl/files/driver_info.cc.patch	                        (rev 0)
+++ trunk/dports/science/freehdl/files/driver_info.cc.patch	2012-11-01 22:41:07 UTC (rev 99327)
@@ -0,0 +1,36 @@
+--- kernel/driver_info.cc.orig	2009-03-13 07:46:31.000000000 +1100
++++ kernel/driver_info.cc	2012-11-02 09:33:11.000000000 +1100
+@@ -268,6 +268,7 @@ do_scalar_inertial_assignment(driver_inf
+  *************************************************************************
+  *************************************************************************/
+ 
++inline int do_record_transport_assignment(driver_info &, const record_base &, int, const vtime &);
+ 
+ // Creates transaction composite signals. Returns number of assigned scalars.
+ inline int
+@@ -311,7 +312,6 @@ do_array_transport_assignment(driver_inf
+ 	assigned_scalars += do_array_transport_assignment(driver, (array_base&)value.data[j], i, tr_time);
+ 	break;
+       case RECORD:
+-	inline int do_record_transport_assignment(driver_info &, const record_base &, int, const vtime &);
+ 	assigned_scalars += do_record_transport_assignment(driver, (record_base&)value.data[j], i, tr_time);
+ 	break;
+       }
+@@ -337,6 +337,8 @@ driver_info::transport_assign(const arra
+   do_array_transport_assignment(*this, value, first, tr_time);
+ }
+ 
++inline int do_record_inertial_assignment(driver_info &, const record_base &, int,  
++						  const vtime &, const vtime &);
+ 
+ // Creates transaction for composite signals. Returns number of assigned scalars.
+ inline int
+@@ -381,8 +383,6 @@ do_array_inertial_assignment(driver_info
+ 	assigned_scalars += do_array_inertial_assignment(driver, (array_base&)value.data[j], i, tr_time, rm_time);
+ 	break;
+       case RECORD:
+-	inline int do_record_inertial_assignment(driver_info &, const record_base &, int,  
+-						  const vtime &, const vtime &); 
+ 	assigned_scalars += do_record_inertial_assignment(driver, (record_base&)value.data[j], i, tr_time, rm_time);
+ 	break;
+       }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121101/b6a63b3c/attachment.html>


More information about the macports-changes mailing list