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

* Re: Emacs CVS on Mac OS X 10.4 Tiger
  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
  0 siblings, 1 reply; 3+ messages in thread
From: YAMAMOTO Mitsuharu @ 2005-04-28  2:49 UTC (permalink / raw)
  Cc: emacs-devel

>>>>> On Wed, 27 Apr 2005 19:04:08 -0700, Ciamac Moallemi <ciamac@moallemi.com> said:

> 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.

Actually, I made a similar patch the other day and it has been tested
by a Tiger user.  I myself don't have Tiger now, and I'm not sure
about its NDA, so I don't make it public now just in case.  But it
will be checked in as soon as Tiger is out tomorrow.  That'll be at
18:00 Japan Standard Time, 9:00 GMT.

				     YAMAMOTO Mitsuharu
				mituharu@math.s.chiba-u.ac.jp

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

* Re: Emacs CVS on Mac OS X 10.4 Tiger
  2005-04-28  2:49 ` YAMAMOTO Mitsuharu
@ 2005-04-30  4:24   ` John Owens
  0 siblings, 0 replies; 3+ messages in thread
From: John Owens @ 2005-04-30  4:24 UTC (permalink / raw)


YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp> writes:
> Actually, I made a similar patch the other day and it has been tested
> by a Tiger user.  I myself don't have Tiger now, and I'm not sure
> about its NDA, so I don't make it public now just in case.  But it
> will be checked in as soon as Tiger is out tomorrow.  That'll be at
> 18:00 Japan Standard Time, 9:00 GMT.

Confirmed this patch works with Tiger and gcc 3.3. Thanks!
(Haven't tried with 4.0 yet.)

JDO

^ 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).