ports/53193: [Patch] unbroke port: math/simpack fix compiler_error
Serge Gagnon
gagnon__s at videotron.ca
Wed Jun 11 08:50:20 UTC 2003
>Number: 53193
>Category: ports
>Synopsis: [Patch] unbroke port: math/simpack fix compiler_error
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Wed Jun 11 01:50:18 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Serge Gagnon
>Release: FreeBSD 4.8-STABLE i386
>Organization:
me
>Environment:
System: FreeBSD quenix.dyndns.org 4.8-STABLE FreeBSD 4.8-STABLE #0: Tue May 6 22:02:29 EDT 2003 serge at quenix.dyndns.org:/usr/obj/usr/src/sys/OCEAN3 i386
>Description:
o Fix compiler error
o New file:
- patch-lex.yy.c
- patch-y.tab.c
- I didn't test if the software works properly.
In fact, I don't exactly know what it is suppose to do.
- I just remember, now, that this port doesn't seems
to have a distfile available on the web. I forgot to fix
this.
>How-To-Repeat:
http://bento.freebsd.org/errorlogs/i386-4-full/simpack-3.0.log
>Fix:
--- patch-simpack-hello begins here ---
diff -u /usr/ports/math/simpack/Makefile ./Makefile
--- /usr/ports/math/simpack/Makefile Tue May 6 20:27:36 2003
+++ ./Makefile Wed Jun 11 04:37:10 2003
@@ -14,8 +14,6 @@
MAINTAINER= ports at FreeBSD.org
COMMENT= SimPack & Sim++ libraries and tools for simulatiom modelling
-BROKEN= "Does not install/compile"
-
BUILD_DEPENDS= imake:${PORTSDIR}/devel/imake-4
USE_XLIB= yes
--- patch-simpack-hello ends here ---
--- patch-lex.yy.c begins here ---
--- func/event/pkgs/minigpss/gpsource/lex.yy.c.orig Wed Jun 11 04:40:52 2003
+++ func/event/pkgs/minigpss/gpsource/lex.yy.c Wed Jun 11 04:41:43 2003
@@ -1,4 +1,5 @@
-# include "stdio.h"
+# include <stdio.h>
+# include <unistd.h>
# define U(x) x
# define NLSTATE yyprevious=YYNEWLINE
# define BEGIN yybgin = yysvec + 1 +
@@ -17,7 +18,7 @@
int yymorfg;
extern char *yysptr, yysbuf[];
int yytchar;
-FILE *yyin = {stdin}, *yyout = {stdout};
+FILE *yyin = {STDIN_FILENO}, *yyout = {STDOUT_FILENO};
extern int yylineno;
struct yysvf {
struct yywork *yystoff;
--- patch-lex.yy.c ends here ---
--- patch-y.tab.c begins here ---
--- func/event/pkgs/minigpss/gpsource/y.tab.c.orig Wed Jun 11 04:46:08 2003
+++ func/event/pkgs/minigpss/gpsource/y.tab.c Wed Jun 11 04:46:40 2003
@@ -1,4 +1,3 @@
-extern char *malloc(), *realloc();
# line 2 "parse.y"
#define MAXINT "2147483647"
--- patch-y.tab.c ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list