diff options
author | dmcmahill <dmcmahill@pkgsrc.org> | 2007-01-23 02:49:23 +0000 |
---|---|---|
committer | dmcmahill <dmcmahill@pkgsrc.org> | 2007-01-23 02:49:23 +0000 |
commit | dfb08d39f8e39375b4540b3d120884efcca652dd (patch) | |
tree | d6af54da8f95bf64217273875d869934a22d97f5 /cad/gwave | |
parent | be03fb899978bf0e8ead32ae959ea633960fe1d5 (diff) | |
download | pkgsrc-dfb08d39f8e39375b4540b3d120884efcca652dd.tar.gz |
fix this package when building with sunpro compilers
Diffstat (limited to 'cad/gwave')
-rw-r--r-- | cad/gwave/distinfo | 4 | ||||
-rw-r--r-- | cad/gwave/patches/patch-ae | 20 |
2 files changed, 18 insertions, 6 deletions
diff --git a/cad/gwave/distinfo b/cad/gwave/distinfo index dfe20837494..056ecc746bb 100644 --- a/cad/gwave/distinfo +++ b/cad/gwave/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.8 2005/12/06 18:25:55 joerg Exp $ +$NetBSD: distinfo,v 1.9 2007/01/23 02:49:23 dmcmahill Exp $ SHA1 (gwave-20030804.tar.gz) = 22983d0b6b646467eab584a6de0aef86d5148186 RMD160 (gwave-20030804.tar.gz) = fd772026b1e62b7ddb7fa24e83bc5cb7678dc86d @@ -7,7 +7,7 @@ SHA1 (patch-aa) = ae837194a751eb25bbda4dee551d1d57ec696d24 SHA1 (patch-ab) = cedd28158b2a467c93536ddd5a39dec8dd7d7c64 SHA1 (patch-ac) = 7f535a13925577fa6a3acda2a1ab61eda4a2aad2 SHA1 (patch-ad) = 2378a782cb99a2aebed0e058a88b4343604f38e8 -SHA1 (patch-ae) = e4023dc78ef7032a127e4d72507ac6f128aa3aec +SHA1 (patch-ae) = a3e192f11a6bc8529a9c36f165f29d8944c9930c SHA1 (patch-af) = 8c3a5811711e521df2835208f7f1d4f421579cd1 SHA1 (patch-ag) = b112064e3abdee36c66df027412580e18f90f686 SHA1 (patch-ah) = 1f66028878250d183d532c36a1602b44f2d6d476 diff --git a/cad/gwave/patches/patch-ae b/cad/gwave/patches/patch-ae index 9bf4c9ecdb2..00d42d99c86 100644 --- a/cad/gwave/patches/patch-ae +++ b/cad/gwave/patches/patch-ae @@ -1,8 +1,20 @@ -$NetBSD: patch-ae,v 1.1 2003/11/05 22:31:43 dmcmahill Exp $ +$NetBSD: patch-ae,v 1.2 2007/01/23 02:49:23 dmcmahill Exp $ + +- fix multiline strings which newer gcc's don't like +- fix __inline__ which sunpro doesn't like --- src/scwm_guile.c.orig 2002-03-27 23:07:03.000000000 -0500 +++ src/scwm_guile.c -@@ -45,12 +45,12 @@ +@@ -42,15 +42,21 @@ + #include "dmalloc.h" + #endif + ++#ifndef __GNUC__ ++#ifndef __inline__ ++#define __inline__ ++#endif ++#endif ++ extern char *prog_name; XSCM_HOOK(error_hook, "error-hook", 5, (SCM a, SCM b, SCM c, SCM d, SCM e), @@ -21,7 +33,7 @@ $NetBSD: patch-ae,v 1.1 2003/11/05 22:31:43 dmcmahill Exp $ struct scwm_body_apply_data { SCM proc; -@@ -209,12 +209,12 @@ scwm_safe_call7 (SCM proc, SCM arg1, SCM +@@ -209,12 +215,12 @@ scwm_safe_call7 (SCM proc, SCM arg1, SCM /* FIXDOC: We need a way to cross-reference concepts in docs. */ XSCM_CONCEPT("Hooks", @@ -40,7 +52,7 @@ $NetBSD: patch-ae,v 1.1 2003/11/05 22:31:43 dmcmahill Exp $ static SCM run_hook_proc; -@@ -395,11 +395,11 @@ scwm_handle_error (void *ARG_IGNORE(data +@@ -395,11 +401,11 @@ scwm_handle_error (void *ARG_IGNORE(data XSCM_DEFINE(safe_load, "safe-load", 1, 0, 0, (SCM fname), |