summaryrefslogtreecommitdiff
path: root/graphics/xfig/patches
diff options
context:
space:
mode:
authorrh <rh@pkgsrc.org>2003-01-15 07:11:43 +0000
committerrh <rh@pkgsrc.org>2003-01-15 07:11:43 +0000
commit33b93d06cc331fec41e303776748127802a1f3a0 (patch)
treee40ce73d7d6278434249eb3ea28d49a61ee2b378 /graphics/xfig/patches
parent8db1c02db1fa91b03b8d6e1105c0d811201387c2 (diff)
downloadpkgsrc-33b93d06cc331fec41e303776748127802a1f3a0.tar.gz
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.
Diffstat (limited to 'graphics/xfig/patches')
-rw-r--r--graphics/xfig/patches/patch-ad22
1 files changed, 22 insertions, 0 deletions
diff --git a/graphics/xfig/patches/patch-ad b/graphics/xfig/patches/patch-ad
new file mode 100644
index 00000000000..e88bb2941bd
--- /dev/null
+++ b/graphics/xfig/patches/patch-ad
@@ -0,0 +1,22 @@
+$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>