Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Feb 2002 14:25:32 -0800 (PST)
From:      Matthew Luckie <kluckie@ihug.co.nz>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/34888: editors/emacs21 does not build on alpha
Message-ID:  <200202122225.g1CMPWH28441@freefall.freebsd.org>

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

>Number:         34888
>Category:       ports
>Synopsis:       editors/emacs21 does not build on alpha
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 12 14:30:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Matthew Luckie
>Release:        FreeBSD 4.5-STABLE
>Organization:
>Environment:
FreeBSD latex 4.5-STABLE FreeBSD 4.5-STABLE #1: Tue Feb 12 21:28:36 NZDT 2002     root@latex:/usr/src/sys/compile/latex  alpha

>Description:
the compile fails when it tries to #include alloca.h at some point early on in the compile stage.
i'd go back and get the complete log, except that it took around 2 or 3 hours to build on my 233mhz alpha after i had created the patch below.
>How-To-Repeat:
on an alpha machine
cd /usr/ports/editors/emacs21 && make
>Fix:
the following patch should be added under editors/emacs21/files

--- src/m/alpha.h.orig  Tue Oct  3 03:30:39 2000
+++ src/m/alpha.h       Sun Feb 10 21:52:33 2002
@@ -198,7 +198,7 @@

  #ifndef NOT_C_CODE
  /* We need these because pointers are larger than the default ints.  */
-#if !defined(__NetBSD__) && !defined(__OpenBSD__)
+#if !defined(__NetBSD__) && !defined(__OpenBSD__) && !defined(__FreeBSD__)
  #include <alloca.h>
  #endif

>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?200202122225.g1CMPWH28441>