diff options
author | rh <rh@pkgsrc.org> | 2003-01-15 07:11:43 +0000 |
---|---|---|
committer | rh <rh@pkgsrc.org> | 2003-01-15 07:11:43 +0000 |
commit | 33b93d06cc331fec41e303776748127802a1f3a0 (patch) | |
tree | e40ce73d7d6278434249eb3ea28d49a61ee2b378 /graphics/xfig/patches | |
parent | 8db1c02db1fa91b03b8d6e1105c0d811201387c2 (diff) | |
download | pkgsrc-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-ad | 22 |
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> |