unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Ciamac Moallemi <ciamac@moallemi.com>
Subject: Emacs CVS on Mac OS X 10.4 Tiger
Date: Wed, 27 Apr 2005 19:04:08 -0700	[thread overview]
Message-ID: <87CA8FFF-7786-4A0E-99B2-E5E8DADE26C1@moallemi.com> (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

             reply	other threads:[~2005-04-28  2:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-28  2:04 Ciamac Moallemi [this message]
2005-04-28  2:49 ` Emacs CVS on Mac OS X 10.4 Tiger YAMAMOTO Mitsuharu
2005-04-30  4:24   ` John Owens

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87CA8FFF-7786-4A0E-99B2-E5E8DADE26C1@moallemi.com \
    --to=ciamac@moallemi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).