From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: ansonyumo@yahoo.com (Brian Smith) Newsgroups: gmane.emacs.bugs Subject: Emacs 21.3.50 build broken on Mac OS X - getpgrp Date: 27 Nov 2002 19:48:47 -0800 Organization: http://groups.google.com/ Sender: bug-gnu-emacs-admin@gnu.org Message-ID: <68c25456.0211271948.15085eec@posting.google.com> NNTP-Posting-Host: main.gmane.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1038455238 12736 80.91.224.249 (28 Nov 2002 03:47:18 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 28 Nov 2002 03:47:18 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18HFe0-0003JI-00 for ; Thu, 28 Nov 2002 04:47:16 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 18HFfu-0005qW-00; Wed, 27 Nov 2002 22:49:14 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 18HFfY-0005AU-00 for bug-gnu-emacs@prep.ai.mit.edu; Wed, 27 Nov 2002 22:48:52 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 18HFfV-000578-00 for bug-gnu-emacs@prep.ai.mit.edu; Wed, 27 Nov 2002 22:48:51 -0500 Original-Received: from ashd1-2.relay.mail.uu.net ([199.171.54.246]) by monty-python.gnu.org with esmtp (Exim 4.10) id 18HFfV-00056G-00 for bug-gnu-emacs@prep.ai.mit.edu; Wed, 27 Nov 2002 22:48:49 -0500 Original-Received: from proxy.google.com by mr1.ash.ops.us.uu.net with ESMTP (peer crosschecked as: proxy.google.com [216.239.35.5]) id QQnqwl06903 for ; Thu, 28 Nov 2002 03:48:49 GMT Original-Received: from sjmm36.sj.google.com (sjmm36.prod.google.com [10.6.39.36]) by proxy.google.com (8.12.3/8.12.3) with ESMTP id gAS3mmru007882 for ; Wed, 27 Nov 2002 19:48:48 -0800 Original-Received: (from news@localhost) by sjmm36.sj.google.com (8.12.6/8.12.3) id gAS3mlfR023482 for gnu-emacs-bug@moderators.isc.org; Wed, 27 Nov 2002 19:48:47 -0800 Original-To: gnu-emacs-bug@moderators.isc.org Original-Path: not-for-mail Original-Newsgroups: gnu.emacs.bug Original-Lines: 31 Original-NNTP-Posting-Host: 66.69.214.167 Original-X-Trace: posting.google.com 1038455327 23481 127.0.0.1 (28 Nov 2002 03:48:47 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: 28 Nov 2002 03:48:47 GMT Errors-To: bug-gnu-emacs-admin@gnu.org X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.bugs:3976 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:3976 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