pkgsrc/graphics/xfig/patches/patch-ad
rh 33b93d06cc Add patch provided by Masao Uebayashi that allows using xfig to be used
with non-3d versions of Xaw.
Bring back XAW_TYPE detection and Imakefile modification.
2003-01-15 07:11:43 +00:00

22 lines
544 B
Text

$NetBSD: patch-ad,v 1.3 2003/01/15 07:11:44 rh Exp $
--- SimpleMenu.c.orig Sat Sep 21 05:28:45 2002
+++ SimpleMenu.c
@@ -39,10 +39,17 @@
#include <X11/IntrinsicP.h>
#include <X11/StringDefs.h>
+#ifdef XAW3D
#include <X11/Xaw3d/XawInit.h>
#include <X11/Xaw3d/SimpleMenP.h>
#include <X11/Xaw3d/SmeBSB.h>
#include <X11/Xaw3d/Cardinals.h>
+#else
+#include <X11/Xaw/XawInit.h>
+#include <X11/Xaw/SimpleMenP.h>
+#include <X11/Xaw/SmeBSB.h>
+#include <X11/Xaw/Cardinals.h>
+#endif
#include <X11/Xmu/Initer.h>
#include <X11/Xmu/CharSet.h>