summaryrefslogtreecommitdiff
path: root/math/gnumeric/patches/patch-src_complex.h
diff options
context:
space:
mode:
Diffstat (limited to 'math/gnumeric/patches/patch-src_complex.h')
-rw-r--r--math/gnumeric/patches/patch-src_complex.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/math/gnumeric/patches/patch-src_complex.h b/math/gnumeric/patches/patch-src_complex.h
new file mode 100644
index 00000000000..aa2b10ca064
--- /dev/null
+++ b/math/gnumeric/patches/patch-src_complex.h
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_complex.h,v 1.1 2012/11/23 12:09:58 joerg Exp $
+
+--- src/complex.h.orig 2012-11-19 17:27:32.000000000 +0000
++++ src/complex.h
+@@ -22,7 +22,7 @@ typedef struct {
+ #ifdef __GNUC__
+
+ /* Have gcc -- inline functions. */
+-#define GNUMERIC_COMPLEX_PROTO(p) p; extern __inline__ p
++#define GNUMERIC_COMPLEX_PROTO(p) p; extern __attribute__((__gnu_inline__)) __inline__ p
+ #define GNUMERIC_COMPLEX_BODY
+
+ #else