SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
23
devel/ddd/patches/patch-ddd_LabelH_C
Normal file
23
devel/ddd/patches/patch-ddd_LabelH_C
Normal file
|
@ -0,0 +1,23 @@
|
|||
Motif 1.1 is long gone, and this breaks with clang
|
||||
|
||||
Index: ddd/LabelH.C
|
||||
--- ddd/LabelH.C.orig
|
||||
+++ ddd/LabelH.C
|
||||
@@ -30,8 +30,6 @@
|
||||
* cwikla@wolfram.com
|
||||
*/
|
||||
|
||||
-#define new a_new // Motif 1.1 wants this
|
||||
-#define class a_class
|
||||
extern "C" {
|
||||
#include <Xm/XmP.h>
|
||||
#include <Xm/LabelP.h>
|
||||
@@ -41,8 +39,6 @@ extern "C" {
|
||||
#include <Xm/ManagerP.h>
|
||||
#endif
|
||||
}
|
||||
-#undef new
|
||||
-#undef class
|
||||
|
||||
#include "LabelHP.h"
|
||||
#include "casts.h"
|
Loading…
Add table
Add a link
Reference in a new issue