summaryrefslogtreecommitdiff
path: root/devel/ddd/files/patch-ddd-GraphEditP.h
diff options
context:
space:
mode:
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