summaryrefslogtreecommitdiff
path: root/cad
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2011-11-26 17:10:24 +0000
committerjoerg <joerg@pkgsrc.org>2011-11-26 17:10:24 +0000
commit02356a8952ebb6ab79df704d8b674e6190a4ed24 (patch)
treed418d2c2ef7d69f70c19d16ee2f8874ed1300d6e /cad
parent3bd511aba39740544c2da811cf5a1d041ce8f245 (diff)
downloadpkgsrc-02356a8952ebb6ab79df704d8b674e6190a4ed24.tar.gz
Fix C++
Diffstat (limited to 'cad')
-rw-r--r--cad/verilog-current/distinfo3
-rw-r--r--cad/verilog-current/patches/patch-pform__disciplines.cc35
2 files changed, 37 insertions, 1 deletions
diff --git a/cad/verilog-current/distinfo b/cad/verilog-current/distinfo
index 65758489dcb..0d55ae1bdb2 100644
--- a/cad/verilog-current/distinfo
+++ b/cad/verilog-current/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.30 2010/02/28 15:59:19 dmcmahill Exp $
+$NetBSD: distinfo,v 1.31 2011/11/26 17:10:24 joerg Exp $
SHA1 (verilog-20090923.tar.gz) = 1836ebc4ef78341fb1a077e807c8d5b195ebb253
RMD160 (verilog-20090923.tar.gz) = 32a009d1390e71721d3a72a1940b655ed1853ba5
Size (verilog-20090923.tar.gz) = 1121376 bytes
SHA1 (patch-ad) = 9492af75153405c49076f2dcd11d2dc338640514
+SHA1 (patch-pform__disciplines.cc) = 113365b68723462791728e6f998685a4ebca3547
diff --git a/cad/verilog-current/patches/patch-pform__disciplines.cc b/cad/verilog-current/patches/patch-pform__disciplines.cc
new file mode 100644
index 00000000000..59dacc52de7
--- /dev/null
+++ b/cad/verilog-current/patches/patch-pform__disciplines.cc
@@ -0,0 +1,35 @@
+$NetBSD: patch-pform__disciplines.cc,v 1.1 2011/11/26 17:10:24 joerg Exp $
+
+--- pform_disciplines.cc.orig 2011-11-26 03:29:20.000000000 +0000
++++ pform_disciplines.cc
+@@ -27,8 +27,8 @@ map<perm_string,ivl_nature_t> natures;
+ map<perm_string,ivl_discipline_t> disciplines;
+ map<perm_string,ivl_nature_t> access_function_nature;
+
+-static perm_string nature_name = perm_string::perm_string();
+-static perm_string nature_access = perm_string::perm_string();
++static perm_string nature_name = perm_string();
++static perm_string nature_access = perm_string();
+
+ void pform_start_nature(const char*name)
+ {
+@@ -82,8 +82,8 @@ void pform_end_nature(const struct vllty
+ // expressions that use the access function can find it.
+ access_function_nature[nature_access] = tmp;
+
+- nature_name = perm_string::perm_string();
+- nature_access = perm_string::perm_string();
++ nature_name = perm_string();
++ nature_access = perm_string();
+ }
+
+
+@@ -171,7 +171,7 @@ void pform_end_discipline(const struct v
+ FILE_NAME(tmp, loc);
+
+ /* Clear the static variables for the next item. */
+- discipline_name = perm_string::perm_string();
++ discipline_name = perm_string();
+ discipline_domain = IVL_DIS_NONE;
+ discipline_potential = 0;
+ discipline_flow = 0;