diff options
Diffstat (limited to 'print/ghostscript-gpl/patches/patch-base_gserrors_h')
-rw-r--r-- | print/ghostscript-gpl/patches/patch-base_gserrors_h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/print/ghostscript-gpl/patches/patch-base_gserrors_h b/print/ghostscript-gpl/patches/patch-base_gserrors_h new file mode 100644 index 00000000000..9c28a432d29 --- /dev/null +++ b/print/ghostscript-gpl/patches/patch-base_gserrors_h @@ -0,0 +1,15 @@ +$NetBSD: patch-base_gserrors_h,v 1.1 2013/03/16 21:32:01 dholland Exp $ +# This suppresses the noisy warning that __func__ redefined + +--- base/gserrors.h.orig 2012-02-08 17:48:48.000000000 +0900 ++++ base/gserrors.h 2012-03-24 07:26:35.000000000 +0900 +@@ -53,6 +53,9 @@ + #define return_error(err) return gs_note_error(err) + + #if !defined(__STDC_VERSION__) || __STDC_VERSION__ < 199901L ++# if (defined(__func__)) ++# undef __func__ ++# endif + # if defined(__GNUC__) && __GNUC__ >= 2 + # define __func__ __FUNCTION__ + # elif defined(__FUNCTION__) |