Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Oct 2002 15:19:54 -0700 (PDT)
From:      "Steven G. Kargl" <kargl@troutmask.apl.washington.edu>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/44285: Fix build of lang/elk onf -current
Message-ID:  <200210192219.g9JMJs52077378@troutmask.apl.washington.edu>

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

>Number:         44285
>Category:       ports
>Synopsis:       Fix build of lang/elk onf -current
>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:   Sat Oct 19 15:20:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Steven G. Kargl
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
apl/uw
>Environment:
System: FreeBSD troutmask.apl.washington.edu 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Wed Sep 4 12:10:46 PDT 2002 kargl@troutmask.apl.washington.edu:/usr/obj/usr/src/sys/TROUTMASK i386


	
>Description:

lang/elk does not build due to "extern int sys_nerr"

>How-To-Repeat:

cd lang/elk ; make

>Fix:

diff -ur elk.orig/files/patch-af elk/files/patch-af
--- elk.orig/files/patch-af	Thu Dec 23 10:50:23 1999
+++ elk/files/patch-af	Sat Oct 19 15:15:14 2002
@@ -1,5 +1,5 @@
---- src/print.c.orig	Thu Apr  4 07:25:04 1996
-+++ src/print.c	Sun Dec 12 16:29:07 1999
+--- src/print.c.orig	Sat Oct 19 15:13:43 2002
++++ src/print.c	Sat Oct 19 15:14:41 2002
 @@ -6,6 +6,7 @@
  #include <errno.h>
  #include <ctype.h>
@@ -8,12 +8,13 @@
  
  #ifdef FLUSH_TIOCFLUSH
  #  include <sys/ioctl.h>
-@@ -556,7 +557,7 @@
+@@ -555,8 +556,8 @@
+     char *p;
      register c;
      char buf[256];
++#if !(defined(BSD) && (BSD >= 199306))
      extern sys_nerr;
 -#ifndef __bsdi__
-+#if !(defined(BSD) && (BSD >= 199306))
      extern char *sys_errlist[];
  #endif
      GC_Node;

>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?200210192219.g9JMJs52077378>