summaryrefslogtreecommitdiff
path: root/mail/evolution-data-server/patches/patch-af
diff options
context:
space:
mode:
authorsketch <sketch@pkgsrc.org>2004-11-18 14:20:26 +0000
committersketch <sketch@pkgsrc.org>2004-11-18 14:20:26 +0000
commit2ebe388a0925a2db1db7191c24ac7c6dd23f20e5 (patch)
tree23b71cb1e01ce1fdeb6ccb8f1fe2c5c947dea5df /mail/evolution-data-server/patches/patch-af
parent4c36ecdca9d32df516dfd30447840f2f803c700c (diff)
downloadpkgsrc-2ebe388a0925a2db1db7191c24ac7c6dd23f20e5.tar.gz
Apply some minor tweaks to get this package compiling with SunPro and possibly
other non-gcc compilers.
Diffstat (limited to 'mail/evolution-data-server/patches/patch-af')
-rw-r--r--mail/evolution-data-server/patches/patch-af13
1 files changed, 13 insertions, 0 deletions
diff --git a/mail/evolution-data-server/patches/patch-af b/mail/evolution-data-server/patches/patch-af
new file mode 100644
index 00000000000..b3b255e4d94
--- /dev/null
+++ b/mail/evolution-data-server/patches/patch-af
@@ -0,0 +1,13 @@
+$NetBSD: patch-af,v 1.1 2004/11/18 14:20:26 sketch Exp $
+
+--- config.h.in.orig 2004-11-13 22:06:01.870247000 +0000
++++ config.h.in 2004-11-13 22:07:10.887923000 +0000
+@@ -99,3 +99,8 @@
+ #ifndef __cplusplus
+ #undef inline
+ #endif
++
++/* __PRETTY_FUNCTION__ is a GNUism only */
++#ifndef __GNUC__
++#define __PRETTY_FUNCTION__ __func__
++#endif