all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Emacs 21.3.50 build broken on Mac OS X - getpgrp
@ 2002-11-28  3:48 Brian Smith
  0 siblings, 0 replies; only message in thread
From: Brian Smith @ 2002-11-28  3:48 UTC (permalink / raw)


src/emacs.c fails to compile on Mac OS X as of 11/27/02. gcc complains
that there are too many arguments to getpgrp.

OS X expects 0 arguments, but EMACS_GETPGRP(x) is apparently being
defined as getpgrp(x) instead of getpgrp().

Lacking an exhaustive investigation, v1.48 of src/systty.h appears to
be causing this issue. The log message explicitly states changes to
the definition of GETPGRP_NO_ARG.

To get the build going, I've forced the definition of EMACS_GETPGRP to
always be getpgrp(). Obviously not a fix, but the workaround gets the
compile going for OS X.

Heres the diff:
 
cvs server: Diffing src
Index: src/systty.h
===================================================================
RCS file: /cvsroot/emacs/emacs/src/systty.h,v
retrieving revision 1.48
diff -r1.48 systty.h
277c277
< #  define EMACS_GETPGRP(x) getpgrp(x)
---
> #  define EMACS_GETPGRP(x) getpgrp()

I'm having other problems later in the build with the autoloads
target, but this hack gets me past the getpgrp prototype issue.

-brian

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-11-28  3:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-28  3:48 Emacs 21.3.50 build broken on Mac OS X - getpgrp Brian Smith

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.