freebsd-ports/devel/ddd/files/patch-ddd-GraphEditP.h
Kurt Jaeger 9d76b86b5b devel/ddd: Fix build with libc++ 3.8.0
PR:		208528
Submitted by:	dim
Approved by:	sergio@softshark.org (maintainer timeout)
2016-04-29 21:13:28 +00:00

18 lines
364 B
C

--- 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