all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
To: Anders Bolt-Evensen <a-bolt@online.no>, 2857@emacsbugs.donarmstrong.com
Subject: bug#2857: GNU Emacs 22.3 for Mac missing executable
Date: Fri, 03 Apr 2009 09:09:55 +0900	[thread overview]
Message-ID: <wlbpred2cs.wl%mituharu@math.s.chiba-u.ac.jp> (raw)
In-Reply-To: <28206854.959793.1238672389712.JavaMail.adm-moff@moffice3.nsc.no>

>>>>> On Thu, 2 Apr 2009 13:39:49 +0200 (MEST), Anders Bolt-Evensen <a-bolt@online.no> said:

> 1) Emacs 22.3 does not include any executeable files for Mac.

Yes, that's normal.

> 2) I tried to install GNU Emacs 22.2 and Emacs 22.3 on Mac OS X Snow
> Leopard (beta), but the "sudo make install" command fails on both
> versions

Could you try the following patch?

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

*** src/mac.c~	2008-08-30 00:16:02.000000000 +0900
--- src/mac.c	2009-04-03 09:00:50.000000000 +0900
*************** static int wakeup_from_rne_enabled_p = 0
*** 93,99 ****
  #ifndef MAC_OSX
  static OSErr posix_pathname_to_fsspec P_ ((const char *, FSSpec *));
  static OSErr fsspec_to_posix_pathname P_ ((const FSSpec *, char *, int));
- #endif
  
  /* When converting from Mac to Unix pathnames, /'s in folder names are
     converted to :'s.  This function, used in copying folder names,
--- 93,98 ----
*************** posix_to_mac_pathname (const char *ufn, 
*** 271,276 ****
--- 270,276 ----
  
    return 1;
  }
+ #endif	/* !MAC_OSX */
  
  \f
  /***********************************************************************
*************** link (const char *name1, const char *nam
*** 2986,2992 ****
    return -1;
  }
  
- #endif  /* ! MAC_OSX */
  
  /* Determine the path name of the file specified by VREFNUM, DIRID,
     and NAME and place that in the buffer PATH of length
--- 2986,2991 ----
*************** path_from_vol_dir_name (char *path, int 
*** 3036,3042 ****
  }
  
  
- #ifndef MAC_OSX
  
  static OSErr
  posix_pathname_to_fsspec (ufn, fs)
--- 3035,3040 ----
*************** getpid ()
*** 3307,3313 ****
  #endif
  #endif /* __MWERKS__ */
  
- #endif /* ! MAC_OSX */
  
  
  /* Return the path to the directory in which Emacs can create
--- 3305,3310 ----
*************** get_temp_dir_name ()
*** 3363,3369 ****
    return temp_dir_name;
  }
  
- #ifndef MAC_OSX
  
  /* Allocate and construct an array of pointers to strings from a list
     of strings stored in a 'STR#' resource.  The returned pointer array
--- 3360,3365 ----
*************** component.  */)
*** 4449,4454 ****
--- 4445,4451 ----
  }
  
  
+ #ifndef MAC_OSX
  DEFUN ("mac-file-name-to-posix", Fmac_file_name_to_posix,
         Smac_file_name_to_posix, 1, 1, 0,
         doc: /* Convert Macintosh FILENAME to Posix form.  */)
*************** DEFUN ("posix-file-name-to-mac", Fposix_
*** 4481,4486 ****
--- 4478,4484 ----
    else
      return Qnil;
  }
+ #endif
  
  
  DEFUN ("mac-coerce-ae-data", Fmac_coerce_ae_data, Smac_coerce_ae_data, 3, 3, 0,
*************** syms_of_mac ()
*** 5464,5471 ****
--- 5462,5471 ----
    defsubr (&Smac_get_file_creator);
    defsubr (&Smac_get_file_type);
    defsubr (&Sdo_applescript);
+ #ifndef MAC_OSX
    defsubr (&Smac_file_name_to_posix);
    defsubr (&Sposix_file_name_to_mac);
+ #endif
  
    DEFVAR_INT ("mac-system-script-code", &mac_system_script_code,
      doc: /* The system script code.  */);






  reply	other threads:[~2009-04-03  0:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-02 11:39 bug#2857: GNU Emacs 22.3 for Mac missing executable Anders Bolt-Evensen
2009-04-03  0:09 ` YAMAMOTO Mitsuharu [this message]
2009-04-25  0:17   ` YAMAMOTO Mitsuharu
2011-03-10  6:49     ` Glenn Morris

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

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

  git send-email \
    --in-reply-to=wlbpred2cs.wl%mituharu@math.s.chiba-u.ac.jp \
    --to=mituharu@math.s.chiba-u.ac.jp \
    --cc=2857@emacsbugs.donarmstrong.com \
    --cc=a-bolt@online.no \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.