Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Mar 1999 13:42:57 +1000
From:      Peter Jeremy <jeremyp@gsmx07.alcatel.com.au>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/10782: emacs 19.34 failed to compile under 4.0-current
Message-ID:  <99Mar25.142338est.40409@border.alcanet.com.au>

next in thread | raw e-mail | index | archive | help

>Number:         10782
>Category:       ports
>Synopsis:       emacs 19.34 failed to compile under 4.0-current
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 24 20:40:00 PST 1999
>Closed-Date:
>Last-Modified:
>Originator:     Peter Jeremy
>Release:        FreeBSD 4.0-CURRENT i386
>Organization:
Alcatel Australia Limited
>Environment:

	-current from about 2 weeks ago, with the latest emacs port

>Description:

	fakemail (which is part of emacs) fails to link, with an undefined
	reference to cuserid.

	Either fakemail needs to be linked against libcompat, or the
	cuserid() implementation in fakemail.c needs to be enabled.
	The fix below does the latter.

>How-To-Repeat:

	cd /usr/ports/editors/emacs; make

>Fix:
	Add patch as follows:

--- /usr/ports_2.x/editors/emacs/work/emacs-19.34/lib-src/fakemail.c    Tue Jul 16 06:52:39 1996
+++ lib-src/fakemail.c  Fri Mar 12 12:28:42 1999
@@ -138,6 +138,7 @@
 extern FILE *popen ();
 extern int fclose (), pclose ();
 
+#define CURRENT_USER
 #ifdef CURRENT_USER
 extern struct passwd *getpwuid ();
 extern unsigned short geteuid ();


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?99Mar25.142338est.40409>