summaryrefslogtreecommitdiff
path: root/x11/gtkmm-utils/patches/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'x11/gtkmm-utils/patches/patch-ab')
-rw-r--r--x11/gtkmm-utils/patches/patch-ab15
1 files changed, 15 insertions, 0 deletions
diff --git a/x11/gtkmm-utils/patches/patch-ab b/x11/gtkmm-utils/patches/patch-ab
new file mode 100644
index 00000000000..77d9f6b912e
--- /dev/null
+++ b/x11/gtkmm-utils/patches/patch-ab
@@ -0,0 +1,15 @@
+$NetBSD: patch-ab,v 1.1.1.1 2010/04/30 10:17:46 wiz Exp $
+
+--- examples/logging.cc.orig 2008-01-16 18:22:26.000000000 +0100
++++ examples/logging.cc
+@@ -34,6 +34,10 @@
+ #include "glibmm-utils/glibmm-utils.h"
+ #include "logging.h"
+
++#ifndef __ASSERT_FUNCTION
++#define __ASSERT_FUNCTION __func__
++#endif
++
+ enum Operation
+ {
+ OPERATION_ADDITION,