View | Details | Raw Unified | Return to bug 208528
Collapse All | Expand All

(-)devel/ddd/files/patch-ddd-GraphEditP.h (+18 lines)
Line 0 Link Here
1
--- ddd/GraphEditP.h.orig	2009-02-11 18:25:06.000000000 +0100
2
+++ ddd/GraphEditP.h	2016-04-04 21:29:40.084971000 +0200
3
@@ -30,15 +30,11 @@
4
 
5
 // Superclasses
6
 extern "C" {
7
-#define new new_w
8
-#define class class_w
9
 #include <X11/CoreP.h>
10
 #include <Xm/XmP.h>
11
 #if XmVersion >= 1002
12
 #include <Xm/PrimitiveP.h>
13
 #endif
14
-#undef new
15
-#undef class
16
 }
17
 
18
 // This class
(-)devel/ddd/files/patch-ddd-LabelH.C (+20 lines)
Line 0 Link Here
1
--- ddd/LabelH.C.orig	2009-02-11 18:25:07.000000000 +0100
2
+++ ddd/LabelH.C	2016-04-04 21:29:40.083516000 +0200
3
@@ -30,8 +30,6 @@
4
  *  cwikla@wolfram.com
5
 */
6
 
7
-#define new a_new		// Motif 1.1 wants this
8
-#define class a_class
9
 extern "C" {
10
 #include <Xm/XmP.h>
11
 #include <Xm/LabelP.h>
12
@@ -41,8 +39,6 @@ extern "C" {
13
 #include <Xm/ManagerP.h>
14
 #endif
15
 }
16
-#undef new
17
-#undef class
18
 
19
 #include "LabelHP.h"
20
 #include "casts.h"
(-)devel/ddd/files/patch-ddd-PannedGEP.h (+18 lines)
Line 0 Link Here
1
--- ddd/PannedGEP.h.orig	2009-02-11 18:25:06.000000000 +0100
2
+++ ddd/PannedGEP.h	2016-04-04 21:29:40.083754000 +0200
3
@@ -32,15 +32,11 @@
4
 #include <Xm/Xm.h>
5
 
6
 // Superclasses
7
-#define new new_w
8
-#define class class_w
9
 extern "C" {
10
 #include <X11/IntrinsicP.h>
11
 #include <X11/CompositeP.h>
12
 #include <X11/Xaw/PortholeP.h>
13
 }
14
-#undef new
15
-#undef class
16
 
17
 // This class
18
 #include "PannedGE.h"
(-)devel/ddd/files/patch-ddd-Sash.h (+14 lines)
Line 0 Link Here
1
--- ddd/Sash.h.orig	2009-02-11 18:25:06.000000000 +0100
2
+++ ddd/Sash.h	2016-04-04 21:29:40.084679000 +0200
3
@@ -29,11 +29,7 @@
4
 #define _DDD_Sash_h
5
 
6
 extern "C" {
7
-#define new new_w
8
-#define class class_w
9
 #include <Xm/SashP.h>		// XmIsSash()
10
-#undef class
11
-#undef new
12
 }
13
 
14
 #endif // _DDD_Sash_h
(-)devel/ddd/files/patch-ddd-ScrolleGEP.h (+16 lines)
Line 0 Link Here
1
--- ddd/ScrolleGEP.h.orig	2009-02-11 18:25:07.000000000 +0100
2
+++ ddd/ScrolleGEP.h	2016-04-04 21:29:40.085223000 +0200
3
@@ -31,13 +31,9 @@
4
 #include <Xm/Xm.h>
5
 
6
 // Superclasses
7
-#define new new_w
8
-#define class class_w
9
 #include <Xm/XmP.h>
10
 #include <X11/CoreP.h>
11
 #include <Xm/ScrolledWP.h>
12
-#undef new
13
-#undef class
14
 
15
 #ifdef MAX
16
 #undef MAX			// <Xm/XmP.h> on HP-UX defines this
(-)devel/ddd/files/patch-ddd-SwallowerP.h (+14 lines)
Line 0 Link Here
1
--- ddd/SwallowerP.h.orig	2009-02-11 18:25:07.000000000 +0100
2
+++ ddd/SwallowerP.h	2016-04-04 21:29:40.084451000 +0200
3
@@ -35,11 +35,7 @@
4
 
5
 // Superclasses
6
 extern "C" {
7
-#define new new_w
8
-#define class class_w
9
 #include <X11/CoreP.h>
10
-#undef new
11
-#undef class
12
 }
13
 
14
 // The Swallower class record
(-)devel/ddd/files/patch-ddd-converters.C (+22 lines)
Line 0 Link Here
1
--- ddd/converters.C.orig	2009-02-11 18:25:07.000000000 +0100
2
+++ ddd/converters.C	2016-04-04 21:29:40.084242000 +0200
3
@@ -56,9 +56,6 @@ char converters_rcsid[] = 
4
 
5
 #include <Xm/Xm.h>
6
 
7
-#define new new_w
8
-#define class class_w
9
-
10
 #if XmVersion < 1002
11
 #include <Xm/bitmaps.h>
12
 #else
13
@@ -101,9 +98,6 @@ extern "C" {
14
 #include <Xm/PrimitiveP.h>
15
 #endif
16
 
17
-#undef new
18
-#undef class
19
-
20
 #include "converters.h"
21
 #include "MString.h"
22
 

Return to bug 208528