unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: ansonyumo@yahoo.com (Brian Smith)
Subject: Emacs 21.3.50 build broken on Mac OS X - getpgrp
Date: 27 Nov 2002 19:48:47 -0800	[thread overview]
Message-ID: <68c25456.0211271948.15085eec@posting.google.com> (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

                 reply	other threads:[~2002-11-28  3:48 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=68c25456.0211271948.15085eec@posting.google.com \
    --to=ansonyumo@yahoo.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).