emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Emacs CVS, DJGPP CVS, broken build


From: Richard Dawe
Subject: Emacs CVS, DJGPP CVS, broken build
Date: Mon, 24 Feb 2003 21:57:22 +0000

Hello.

I just tried building Emacs CVS against DJGPP CVS. Unfortunately
the build failed with a couple of unresolved symbols: cancel_hourglass
and setup_process_coding_systems. These both look related to things
DJGPP doesn't support: X-Windows and subprocesses.

The patch below seems to fix things for DJGPP, but I don't know
whether it's correct for anything else.

Bye, Rich =]

Index: src/keyboard.c
===================================================================
RCS file: /cvsroot/emacs/emacs/src/keyboard.c,v
retrieving revision 1.728
diff -p -u -3 -r1.728 keyboard.c
--- src/keyboard.c      23 Feb 2003 22:11:20 -0000      1.728
+++ src/keyboard.c      24 Feb 2003 21:51:45 -0000
@@ -1353,6 +1353,7 @@ static int read_key_sequence P_ ((Lisp_O
 void safe_run_hooks P_ ((Lisp_Object));
 static void adjust_point_for_property P_ ((int, int));
 
+#ifdef HAVE_X_WINDOWS
 /* Cancel hourglass from protect_unwind.
    ARG is not used.  */
 static Lisp_Object
@@ -1361,6 +1362,7 @@ cancel_hourglass_unwind (arg)
 {
   cancel_hourglass ();
 }
+#endif
 
 Lisp_Object
 command_loop_1 ()
Index: src/buffer.c
===================================================================
RCS file: /cvsroot/emacs/emacs/src/buffer.c,v
retrieving revision 1.413
diff -p -u -3 -r1.413 buffer.c
--- src/buffer.c        10 Feb 2003 07:43:03 -0000      1.413
+++ src/buffer.c        24 Feb 2003 21:52:07 -0000
@@ -2293,8 +2293,10 @@ but the contents viewed as characters do
     Lisp_Object process;
 
     process = Fget_buffer_process (Fcurrent_buffer ());
+#ifdef subprocesses
     if (PROCESSP (process))
       setup_process_coding_systems (process);
+#endif
   }
 
   return flag;





reply via email to

[Prev in Thread] Current Thread [Next in Thread]