openbsd-ports/x11/Xaw3d/patches/patch-aa

41 lines
766 B
Plaintext
Raw Normal View History

--- Imakefile.orig Tue Oct 15 16:41:19 1996
+++ Imakefile Sat Apr 8 16:37:33 2000
@@ -6,7 +6,11 @@
#define DoProfileLib ProfileLibXaw
#define HasSharedData YES
#define LibName Xaw3d
+#if XFree86Version < 4000
#define SoRev SOXAWREV
+#else
+#define SoRev SOXAW6REV
+#endif
#define IncSubdir X11
#define IncSubSubdir Xaw3d
@@ -39,9 +43,9 @@
1997-12-02 22:58:00 -05:00
LINTLIBS = $(LINTXLIB) $(LINTXTOOL)
-# EXTRA_DEFINES = -DARROW_SCROLLBAR -DUSEGRAY
1999-09-06 18:46:26 -04:00
+EXTRA_DEFINES = -DARROW_SCROLLBAR -DUSEGRAY
1997-12-02 22:58:00 -05:00
-# EXTRA_INCLUDES = -I.
1999-09-06 18:46:26 -04:00
+EXTRA_INCLUDES = -I.
1997-12-02 22:58:00 -05:00
HEADERS = \
AllWidgets.h \
@@ -222,6 +226,12 @@
#endif
#ifdef YaccCmd
YACC=YaccCmd
+#endif
+
+/* gcc 2.8.1 bug workaround */
+#ifdef AlphaArchitecture
+ CXXDEBUGFLAGS = -O0
+ CDEBUGFLAGS = -O0
#endif
all::
2000-05-16 14:47:20 -04:00