$NetBSD: patch-at,v 1.1 2007/11/15 09:19:37 rillig Exp $

--- addressbook/libebook/e-book.c.orig	2007-10-12 08:29:45.000000000 +0200
+++ addressbook/libebook/e-book.c	2007-11-15 08:58:40.958576000 +0100
@@ -21,6 +21,10 @@
 
 #define d(x)
 
+#if !defined(__GNUC__) && !defined(__FUNCTION__)
+#define __FUNCTION__ __func__
+#endif
+
 GMainContext *_ebook_context;
 
 static GObjectClass *parent_class;
