diff options
author | joerg <joerg@pkgsrc.org> | 2012-06-29 12:31:12 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2012-06-29 12:31:12 +0000 |
commit | 8ba77f5a5b145530914111080d08b53820f9acf7 (patch) | |
tree | 4cee3e0603aea7f57ef02b3d310cf9079fa99cc6 | |
parent | a640e97c4b5d2692c20af86cb6b49bba7fb3044c (diff) | |
download | pkgsrc-8ba77f5a5b145530914111080d08b53820f9acf7.tar.gz |
Fix build with clang.
-rw-r--r-- | cad/adms/distinfo | 3 | ||||
-rw-r--r-- | cad/adms/patches/patch-admsXml_admsXml.c | 13 |
2 files changed, 15 insertions, 1 deletions
diff --git a/cad/adms/distinfo b/cad/adms/distinfo index a9765824ece..93b8ee3d835 100644 --- a/cad/adms/distinfo +++ b/cad/adms/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.4 2012/05/05 22:14:42 dholland Exp $ +$NetBSD: distinfo,v 1.5 2012/06/29 12:31:12 joerg Exp $ SHA1 (adms-2.2.5.tar.gz) = 03093643feee7ef759cf2f65b497155e2e0df791 RMD160 (adms-2.2.5.tar.gz) = 274f2330696e9e0825b77a3a3ca0a307e9f00bed @@ -6,4 +6,5 @@ Size (adms-2.2.5.tar.gz) = 706220 bytes SHA1 (patch-aa) = d1aae5799925a164841b7905ef991d261a33867a SHA1 (patch-ab) = fc6914555c5ccaa33c1b787f705ce6a205d83235 SHA1 (patch-admsVeriloga_verilogaLex.l) = d064e39c6e265d8e9af1b623cc88a1c005cdd67b +SHA1 (patch-admsXml_admsXml.c) = ba024c97a4a3da3dfc177f7cddec9b8e7373033c SHA1 (patch-admsXml_xmlXpath.c) = fb7ac04ba6790a1b6a1af1a2193d944d8de5fea6 diff --git a/cad/adms/patches/patch-admsXml_admsXml.c b/cad/adms/patches/patch-admsXml_admsXml.c new file mode 100644 index 00000000000..f01553a8dfa --- /dev/null +++ b/cad/adms/patches/patch-admsXml_admsXml.c @@ -0,0 +1,13 @@ +$NetBSD: patch-admsXml_admsXml.c,v 1.3 2012/06/29 12:31:13 joerg Exp $ + +--- admsXml/admsXml.c.orig 2012-06-28 14:59:22.000000000 +0000 ++++ admsXml/admsXml.c +@@ -304,7 +304,7 @@ static p_admstvariable adms_admstpath_ad + typedef void (t_admsttransform_evaluate) (p_admsttransform myadmsttransform,p_admst myadmstparent); + typedef void (*p_admsttransform_evaluate) (p_admsttransform myadmsttransform,p_admst myadmstparent); + #define _t_admsttransform_evaluate(function) void (function) (p_admsttransform myadmsttransform,p_admst myadmstparent) +-#define _t_inline_admsttransform_evaluate(function) inline _t_admsttransform_evaluate(function) ++#define _t_inline_admsttransform_evaluate(function) static _t_admsttransform_evaluate(function) + + /*xml parser built from admstpath.xml*/ + static char *adms_admsttext_tostring (const p_admst myadmstparent,const p_admsttext myadmsttext); |