bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Emacs 21.3.50 build broken on Mac OS X - getpgrp


From: Brian Smith
Subject: Emacs 21.3.50 build broken on Mac OS X - getpgrp
Date: 27 Nov 2002 19:48:47 -0800

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]