diff options
author | martin <martin> | 2003-04-23 22:54:42 +0000 |
---|---|---|
committer | martin <martin> | 2003-04-23 22:54:42 +0000 |
commit | 5d8f7773c5f8ca0640cc9af7118ca76087c8c5ab (patch) | |
tree | a60aed4fc486d8b979bc342d2f8ec68fdb586441 /editors/xemacs-current/patches | |
parent | 74a106de80b7c27beae4eef30df87711fcff0818 (diff) | |
download | pkgsrc-5d8f7773c5f8ca0640cc9af7118ca76087c8c5ab.tar.gz |
Make it compile with XEMACS_WIDGETS=gtk.
Diffstat (limited to 'editors/xemacs-current/patches')
-rw-r--r-- | editors/xemacs-current/patches/patch-af | 13 | ||||
-rw-r--r-- | editors/xemacs-current/patches/patch-ag | 69 |
2 files changed, 82 insertions, 0 deletions
diff --git a/editors/xemacs-current/patches/patch-af b/editors/xemacs-current/patches/patch-af new file mode 100644 index 00000000000..b40f4d7feb2 --- /dev/null +++ b/editors/xemacs-current/patches/patch-af @@ -0,0 +1,13 @@ +$NetBSD: patch-af,v 1.1 2003/04/23 22:54:43 martin Exp $ + +--- src/console-x.h.orig 2003-04-23 23:36:37.000000000 +0200 ++++ src/console-x.h 2003-04-23 23:37:07.000000000 +0200 +@@ -33,7 +33,7 @@ + #ifndef INCLUDED_console_x_h_ + #define INCLUDED_console_x_h_ + +-#ifdef HAVE_X_WINDOWS ++#if defined(HAVE_X_WINDOWS) || defined(HAVE_GTK) + + #include "console.h" + #include "xintrinsic.h" diff --git a/editors/xemacs-current/patches/patch-ag b/editors/xemacs-current/patches/patch-ag new file mode 100644 index 00000000000..e6fcbf7ce5f --- /dev/null +++ b/editors/xemacs-current/patches/patch-ag @@ -0,0 +1,69 @@ +$NetBSD: patch-ag,v 1.1 2003/04/23 22:54:43 martin Exp $ + +--- src/event-xlike-inc.c.orig 2003-04-23 23:17:05.000000000 +0200 ++++ src/event-xlike-inc.c 2003-04-23 23:39:47.000000000 +0200 +@@ -22,12 +22,63 @@ + + /* Synched up with: Not in FSF. */ + ++#include <config.h> ++#include "lisp.h" ++ ++#include "blocktype.h" ++#include "charset.h" ++#include "console-x.h" ++#include "device-impl.h" ++#include "elhash.h" ++#include "events.h" ++#include "file-coding.h" ++#include "frame-impl.h" ++#include "glyphs.h" ++#include "lstream.h" ++#include "process.h" ++#include "redisplay.h" ++#include "window.h" ++ ++#include "console-tty.h" ++ ++#include "console-x-impl.h" ++#include "objects-x.h" ++#include "../lwlib/lwlib.h" ++#include "EmacsFrame.h" ++ ++#include "sysproc.h" /* for MAXDESC */ ++#include "systime.h" ++ ++#include "xintrinsicp.h" /* CoreP.h needs this */ ++#include <X11/CoreP.h> /* Numerous places access the fields of ++ a core widget directly. We could ++ use XtGetValues(), but ... */ ++#include <X11/ShellP.h> ++ ++#if defined (HAVE_XIM) && defined (XIM_MOTIF) ++#include <Xm/Xm.h> ++#endif ++ ++#ifdef HAVE_DRAGNDROP ++#include "dragdrop.h" ++#endif ++ ++#if defined (HAVE_OFFIX_DND) ++#include "offix.h" ++#endif ++ ++/* Mask of bits indicating the descriptors that we wait for input on */ ++extern SELECT_TYPE input_wait_mask, non_fake_input_wait_mask; ++extern SELECT_TYPE process_only_mask, tty_only_mask; ++ ++static int last_quit_check_signal_tick_count; ++ + /* For some code it's reasonable to have only one copy and conditionalize + at run-time. For other code it isn't. #### Perhaps all code should be + included here, not in event-xlike.c. However, event-xlike.c is always + X-specific, whereas the following code isn't, in the GTK case. */ + +-static int ++int + #ifdef THIS_IS_GTK + emacs_gtk_event_pending_p (int how_many) + #else |