unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Emacs CVS on Mac OS X 10.4 Tiger
@ 2005-04-28  2:04 Ciamac Moallemi
  2005-04-28  2:49 ` YAMAMOTO Mitsuharu
  0 siblings, 1 reply; 3+ messages in thread
From: Ciamac Moallemi @ 2005-04-28  2:04 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 454 bytes --]

Hi all,
Attached is a patch to allow the current version of Emacs in CVS to  
compile on Tiger. It was suggested [1] to comment out sys_select()  
and select_and_poll_event() in sys/mac.c. This is a bad idea, on my  
system it results in an Emacs that eats up 100% of the CPU. Instead,  
my patch reorders the includes in sys/mac.c so that things work out  
fine.

Best,
Ciamac.

1. <http://lists.gnu.org/archive/html/emacs-devel/2005-04/msg00593.html>


[-- Attachment #2: emacs-tiger.patch --]
[-- Type: application/octet-stream, Size: 582 bytes --]

diff -u -r1.34 mac.c
--- src/mac.c	24 Apr 2005 06:05:39 -0000	1.34
+++ src/mac.c	28 Apr 2005 01:55:44 -0000
@@ -28,8 +28,8 @@
 
 #include "lisp.h"
 #include "process.h"
-#include "sysselect.h"
 #include "systime.h"
+#include "sysselect.h"
 #include "blockinput.h"
 
 #include "macterm.h"
diff -u -r1.17 macgui.h
--- src/macgui.h	19 Apr 2005 12:03:38 -0000	1.17
+++ src/macgui.h	28 Apr 2005 01:55:44 -0000
@@ -43,8 +43,6 @@
 #undef min
 #undef init_process
 #include <Carbon/Carbon.h>
-#undef mktime
-#define mktime emacs_mktime
 #undef free
 #define free unexec_free
 #undef malloc

[-- Attachment #3: Type: text/plain, Size: 142 bytes --]

_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-04-30  4:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-28  2:04 Emacs CVS on Mac OS X 10.4 Tiger Ciamac Moallemi
2005-04-28  2:49 ` YAMAMOTO Mitsuharu
2005-04-30  4:24   ` John Owens

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).