[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
ports/47508: Maintainer fix for math/scilab
>Number: 47508
>Category: ports
>Synopsis: Maintainer fix for math/scilab
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Sun Jan 26 03:30:03 PST 2003
>Closed-Date:
>Last-Modified:
>Originator: Jean-Sebastien Roy
>Release: FreeBSD 4.7-STABLE i386
>Organization:
-
>Environment:
System: FreeBSD durandal.root 4.7-STABLE FreeBSD 4.7-STABLE #0: Sat Nov 16 10:54:48 CET 2002 js@xxxxxxxxxxxxx:/mnt/backup/obj/opt/src/sys/JS i386
>Description:
The math/scilab port does not work on FreeBSD 5.0 due to an header conflict.
The following patch sent by Lyndon Nerenberg (ports/47498) fixes the problem.
There are two new files : files/patch-ay and files/patch-az
Reported by: Kris Kennaway (kris@xxxxxxxxxxxxxx)
Fix by: Lyndon Nerenberg (lyndon@xxxxxxxxxxxxx)
>How-To-Repeat:
-
>Fix:
diff -ruN scilab/Makefile scilab.new/Makefile
--- scilab/Makefile Sun Nov 24 23:12:33 2002
+++ scilab.new/Makefile Sun Jan 26 11:52:57 2003
@@ -7,7 +7,7 @@
PORTNAME= scilab
PORTVERSION= 2.6
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= math cad parallel
MASTER_SITES= ftp://ftp.inria.fr/INRIA/Projects/Meta2/Scilab/distributions/
EXTRACT_SUFX= .src.tar.gz
diff -ruN scilab/files/patch-ay scilab.new/files/patch-ay
--- scilab/files/patch-ay Thu Jan 1 01:00:00 1970
+++ scilab.new/files/patch-ay Sun Jan 26 11:52:03 2003
@@ -0,0 +1,11 @@
+--- routines/xsci/wf_fig.h 2003/01/25 17:23:40 1.1
++++ routines/xsci/wf_fig.h 2003/01/25 17:24:04
+@@ -48,7 +48,7 @@
+ #include <errno.h>
+
+ #ifndef linux
+-#if !defined(__bsdi__) && !defined(__NetBSD__)
++#if !defined(__bsdi__) && !defined(__NetBSD__) && !defined(__FreeBSD__)
+ extern int errno;
+ extern int sys_nerr;
+ #if (! (defined(BSD) && (BSD >= 199306))) && !defined(freebsd)
diff -ruN scilab/files/patch-az scilab.new/files/patch-az
--- scilab/files/patch-az Thu Jan 1 01:00:00 1970
+++ scilab.new/files/patch-az Sun Jan 26 11:52:05 2003
@@ -0,0 +1,25 @@
+--- routines/xsci/x_misc.c 2003/01/25 17:30:25 1.1
++++ routines/xsci/x_misc.c 2003/01/25 17:34:28
+@@ -509,10 +509,10 @@
+
+ /* #include "wf_fig.h" */ /** for sys_errlist **/
+ #ifndef linux
+-#if !defined(__bsdi__) && !defined(__NetBSD__)
++#if !defined(__bsdi__) && !defined(__NetBSD__) && !defined(__FreeBSD__)
+ extern int errno;
+ extern int sys_nerr;
+-#if (! (defined(BSD) && (BSD >= 199306))) && !defined(freebsd)
++#if (! (defined(BSD) && (BSD >= 199306))) && !defined(__FreeBSD__)
+ extern char *sys_errlist[];
+ #endif
+ #endif
+@@ -523,7 +523,9 @@
+ char *SysErrorMsg(n)
+ int n;
+ {
++#ifndef __FreeBSD__
+ extern int sys_nerr;
++#endif /* !__FreeBSD__ */
+ return ((n >= 0 && n < sys_nerr) ? sys_errlist[n] : UE );
+ }
+
>Release-Note:
>Audit-Trail:
>Unformatted:
To Unsubscribe: send mail to majordomo@xxxxxxxxxxx
with "unsubscribe freebsd-ports-bugs" in the body of the message