[97230] trunk/dports/science/freehdl
jmr at macports.org
jmr at macports.org
Fri Aug 31 09:25:23 PDT 2012
Revision: 97230
https://trac.macports.org/changeset/97230
Author: jmr at macports.org
Date: 2012-08-31 09:25:20 -0700 (Fri, 31 Aug 2012)
Log Message:
-----------
freehdl: fix wrong code (#34868)
Modified Paths:
--------------
trunk/dports/science/freehdl/Portfile
Added Paths:
-----------
trunk/dports/science/freehdl/files/
trunk/dports/science/freehdl/files/std-vhdl-types.hh.patch
Modified: trunk/dports/science/freehdl/Portfile
===================================================================
--- trunk/dports/science/freehdl/Portfile 2012-08-31 15:20:43 UTC (rev 97229)
+++ trunk/dports/science/freehdl/Portfile 2012-08-31 16:25:20 UTC (rev 97230)
@@ -1,9 +1,14 @@
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id$
+
PortSystem 1.0
+
name freehdl
version 0.0.7
+revision 1
categories science math
+# most files are GPL or LGPL but there are some restrictively-licensed IEEE headers
+license Restrictive
maintainers digitalis.org:rowue openmaintainer
platforms darwin
description A free VHDL simulator used for digital simulations by qucs
@@ -16,3 +21,4 @@
sha1 eca7ad3ac58e56b72842e83a0a702c05b8f86aa4 \
rmd160 d00e14d6b1cd97154b221717124c6e20b0d4f776
+patchfiles std-vhdl-types.hh.patch
Added: trunk/dports/science/freehdl/files/std-vhdl-types.hh.patch
===================================================================
--- trunk/dports/science/freehdl/files/std-vhdl-types.hh.patch (rev 0)
+++ trunk/dports/science/freehdl/files/std-vhdl-types.hh.patch 2012-08-31 16:25:20 UTC (rev 97230)
@@ -0,0 +1,11 @@
+--- freehdl/std-vhdl-types.hh.orig 2008-02-16 03:31:41.000000000 +1100
++++ freehdl/std-vhdl-types.hh 2012-09-01 02:07:36.000000000 +1000
+@@ -1483,7 +1483,7 @@ A concat(array_info *ainfo, const A &a1,
+ new_array.info->add_ref();
+
+ /* Allocate memory for the data */
+- const int mem_size = length * ainfo->element_type->size();
++ const int mem_size = length * ainfo->element_type->size;
+ new_array.data = (char*)internal_dynamic_alloc(mem_size);
+
+ /* Note, scalar(...) can be evaluated at compile time. */
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120831/80a85fb6/attachment.html>
More information about the macports-changes
mailing list