openbsd-ports/x11/Xaw3d/patches/patch-Imakefile
pvalchev 23369d8d22 Remove a bit that added -O0 for alpha compilation - it appears to have been
added at the time of gcc 2.8.1, but nowadays it works fine with default -O2
(we are at newer version of gcc, etc)
2002-12-05 06:08:54 +00:00

28 lines
704 B
Plaintext

$OpenBSD: patch-Imakefile,v 1.1 2002/12/05 06:08:54 pvalchev Exp $
--- Imakefile.orig Tue Oct 15 08:41:19 1996
+++ Imakefile Wed Dec 4 18:16:34 2002
@@ -6,7 +6,11 @@ XCOMM $XConsortium: Imakefile,v 1.78 91/
#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 @@ DEFINES = XawI18nDefines
LINTLIBS = $(LINTXLIB) $(LINTXTOOL)
-# EXTRA_DEFINES = -DARROW_SCROLLBAR -DUSEGRAY
+EXTRA_DEFINES = -DARROW_SCROLLBAR -DUSEGRAY
-# EXTRA_INCLUDES = -I.
+EXTRA_INCLUDES = -I.
HEADERS = \
AllWidgets.h \