From owner-freebsd-ports Thu Feb 11 09:50:06 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA19169 for freebsd-ports-outgoing; Thu, 11 Feb 1999 09:50:06 -0800 (PST) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA19097 for ; Thu, 11 Feb 1999 09:50:00 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.2/8.9.2) id JAA44196; Thu, 11 Feb 1999 09:50:00 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from nx5.HRZ.Uni-Dortmund.DE (nx5.HRZ.Uni-Dortmund.DE [129.217.131.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA17682 for ; Thu, 11 Feb 1999 09:40:19 -0800 (PST) (envelope-from kai@slowfox.cs.uni-dortmund.de) Received: from slowfox.cs.uni-dortmund.de (actually dialin-110.HRZ.Uni-Dortmund.DE) by nx5.HRZ.Uni-Dortmund.DE (PP) with ESMTP; Thu, 11 Feb 1999 18:40:07 +0100 Received: (from kai@localhost) by slowfox.cs.uni-dortmund.de (8.9.3/8.9.2) id SAA48481 for FreeBSD-gnats-submit@freebsd.org; Thu, 11 Feb 1999 18:39:32 +0100 (CET) (envelope-from kai) Message-Id: <199902111739.SAA48481@slowfox.cs.uni-dortmund.de> Date: Thu, 11 Feb 1999 18:39:32 +0100 (CET) From: Kai Grossjohann To: FreeBSD-gnats-submit@FreeBSD.ORG Subject: ports/10034: editors/emacs20 wouldn't compile, now doesn't run Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 10034 >Category: ports >Synopsis: editors/emacs20 wouldn't compile, now doesn't run >Confidential: yes >Severity: serious >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Feb 11 09:50:00 PST 1999 >Closed-Date: >Last-Modified: >Originator: Kai Grossjohann >Release: FreeBSD 4.0-CURRENT i386 >Organization: >Environment: FreeBSD slowfox.frob.org 4.0-CURRENT FreeBSD 4.0-CURRENT #9: Thu Feb 11 16:50:46 CET 1999 root@slowfox.frob.org:/usr/src/sys/compile/SLOWFOX i386 >Description: At first, Emacs wouldn't compile. I then patched emacs-20.3/s/freebsd.h as follows: *** BEGIN PATCH # diff -u freebsd.h.DIST freebsd.h --- freebsd.h.DIST Thu Feb 11 17:14:37 1999 +++ freebsd.h Thu Feb 11 17:12:06 1999 @@ -1,5 +1,8 @@ /* s/ file for freebsd system. */ +/* kai: must define CURRENT_USER? */ +#define CURRENT_USER + /* Get the correct __FreeBSD_version, even if this is before that was defined. */ #ifndef __FreeBSD__ *** END PATCH I also patched emacs-20.3/lib-src/fakemail.c as follows: *** BEGIN PATCH # diff -u fakemail.c.DIST fakemail.c --- fakemail.c.DIST Thu Feb 11 17:13:54 1999 +++ fakemail.c Thu Feb 11 17:13:24 1999 @@ -147,8 +147,8 @@ extern int fclose (), pclose (); #ifdef CURRENT_USER -extern struct passwd *getpwuid (); -extern unsigned short geteuid (); +/*extern struct passwd *getpwuid ();*/ +/*extern unsigned short geteuid ();*/ static struct passwd *my_entry; #define cuserid(s) \ (my_entry = getpwuid (((int) geteuid ())), \ *** END PATCH This allowed Emacs to compile. Though I realize it didn't do much -- fakemail isn't used in BSD, like the sources say. Anyway. Emacs works fine in a TTY. But in X, I get a blank window and nothing useful happens. Enclosed you can find the truss output showing what appears to be an infloop. (I killed the whole thing before the window appeared because it is so long.) begin 644 typescript.bz2 M0EIH.3%!629365TH]@N!-6S?@$!^?>?_\B^GGD'_[__P8"O_?%3Y%-?=W-EC,T>7WG<06\P77K-MAT.P!TH.[8;MN6-;O6[QW4A6M/35`\GNSM@'MGKKD$HJ*`DD(HDH@D4)H"8BGA M3#28:F-$``!H#TC($B(`@0DIA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q391;$HK81LK96T;4E383 M:JE;);0+843NZSW)PN.RG6^'\O%*ATTD+^NDLZT[:]Z\7RA-SCI?)>XX/H5DKYR M.[\;UE1W8D&R1?AYUW/:U?9S>[L2"[<0/MQ2-J)+[+^)4C^W2;*V(J=GZT?BA+TPJ+8E M>:E0Z8J;$46T5#:3:B4_%]ATYKL'YY1+:*3950]"M>/[EV]/4D_(7K[RH.61 M);)-FU1&RE-H139)#XL.W?U'2(\%\;A3GJ\BOKS4NTTL^/B^M>35)^V!39$2 MV5L*ELJHMDC:JJ&T0V#:A5M%#HT?%UJ,/R6(1]M51/>IOJG@0X%YWMRE[^3[ MO-\%=+\R]GARE$?3".55UD]^B.]T<:JG0\];2GGD^=5Y$X).O'N*I_]I$K:5 M+95!M&P"K91-D2&T"ME`?RCWOL]OMZI'EU?6`_3*0VH0VD2[K6+7+NB^[K]7 M[LB[B]6Z""O?CD`OEBJMI38#8DJ]D\?)H55]60C:H/4*O30K81+8E+M17RTE%L41M$+:2UA1LA5LD M)M54MA+:E#:+GEP/6"Z_'RJO:UM:\0E5]NB+GVZ_!W>F]Z\;Z)S"3TPJMJ(M MB%?.N].=^%*/ORJV0-D38B&P(V%0VBK9%-J0HV%`VE+:BC:)5L45L!;4K:@C M8E-I4MDB*V1-H%M%1;!)M*DVB5-H46PHFU!6U1#:H4V@EM(BVB)6R51Z/@7M MQ74J%>9)Y%T2NB2KEBH-B(MB4VJ*C:-IM`VD*-J"VE(VA1^/^0NY(IPH2"Z4 #>P6` ` end >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: Date: Thu, 11 Feb 1999 18:36:28 +0100 (CET) To: FreeBSD-gnats-submit@freebsd.org Subject: From: Kai.Grossjohann@CS.Uni-Dortmund.DE Reply-To: Kai.Grossjohann@CS.Uni-Dortmund.DE X-send-pr-version: 3.2 MIME-Version: 1.0 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message