[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#2857: GNU Emacs 22.3 for Mac missing executable
From: |
YAMAMOTO Mitsuharu |
Subject: |
bug#2857: GNU Emacs 22.3 for Mac missing executable |
Date: |
Fri, 03 Apr 2009 09:09:55 +0900 |
User-agent: |
Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (Shijō) APEL/10.6 Emacs/22.3 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) |
>>>>> 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 */
/***********************************************************************
*************** 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. */);