Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Oct 2002 15:54:59 -0700 (PDT)
From:      "Steven G. Kargl" <kargl@troutmask.apl.washington.edu>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/44288: Fix build of x11-fm/ezfm on -current
Message-ID:  <200210192254.g9JMsxao077750@troutmask.apl.washington.edu>

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

>Number:         44288
>Category:       ports
>Synopsis:       Fix build of x11-fm/ezfm on -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 16:00:17 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:

  x11-fm/ezfm does not build due to "extern int sys_nerr"
	
>How-To-Repeat:

cd x11-fm/exfm ; make

>Fix:

Replace files/patch-ab with the following patch.

--- ezfm.h.orig	Sat Oct 19 15:44:40 2002
+++ ezfm.h	Sat Oct 19 15:46:16 2002
@@ -52,8 +52,11 @@
 #define REMOVABLE_DRIVES
 #endif
 /*************************************************************/
-EXTERN   int erron, sys_nerr;
+EXTERN   int erron;
+#ifndef __FreeBSD__
+EXTERN   int sys_nerr;
 EXTERN   char *sys_errlist[];
+#endif
 #define syserr(en) (((en) >= 0 && (en) < sys_nerr) ? sys_errlist[(en)] : "Unknown error")
 #define SECONDS_IN_YEAR         31536000
 #define SelectionBackground     "yellow"
>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?200210192254.g9JMsxao077750>