summaryrefslogtreecommitdiff
path: root/devel/ddd/files/patch-ddd-GraphEditP.h
diff options
context:
space:
mode:
authorKurt Jaeger <pi@FreeBSD.org>2016-04-29 21:13:28 +0000
committerKurt Jaeger <pi@FreeBSD.org>2016-04-29 21:13:28 +0000
commit9d76b86b5baf3d5d993aca49d6ea19f33c4be354 (patch)
tree1dd899724c8887ed615924e71631c285227af39b /devel/ddd/files/patch-ddd-GraphEditP.h
parentAdd upstream patches to build with recent iASL on head. (diff)
devel/ddd: Fix build with libc++ 3.8.0
PR: 208528 Submitted by: dim Approved by: sergio@softshark.org (maintainer timeout)
Notes
Notes: svn path=/head/; revision=414293
Diffstat (limited to 'devel/ddd/files/patch-ddd-GraphEditP.h')
-rw-r--r--devel/ddd/files/patch-ddd-GraphEditP.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/devel/ddd/files/patch-ddd-GraphEditP.h b/devel/ddd/files/patch-ddd-GraphEditP.h
new file mode 100644
index 000000000000..b3585e71047d
--- /dev/null
+++ b/devel/ddd/files/patch-ddd-GraphEditP.h
@@ -0,0 +1,18 @@
+--- ddd/GraphEditP.h.orig 2009-02-11 18:25:06.000000000 +0100
++++ ddd/GraphEditP.h 2016-04-04 21:29:40.084971000 +0200
+@@ -30,15 +30,11 @@
+
+ // Superclasses
+ extern "C" {
+-#define new new_w
+-#define class class_w
+ #include <X11/CoreP.h>
+ #include <Xm/XmP.h>
+ #if XmVersion >= 1002
+ #include <Xm/PrimitiveP.h>
+ #endif
+-#undef new
+-#undef class
+ }
+
+ // This class