From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Jun 11 01:50:20 2003 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 36D1937B401 for ; Wed, 11 Jun 2003 01:50:20 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3BB6243FBD for ; Wed, 11 Jun 2003 01:50:19 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h5B8oJUp012997 for ; Wed, 11 Jun 2003 01:50:19 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h5B8oJxg012996; Wed, 11 Jun 2003 01:50:19 -0700 (PDT) Resent-Date: Wed, 11 Jun 2003 01:50:19 -0700 (PDT) Resent-Message-Id: <200306110850.h5B8oJxg012996@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Serge Gagnon Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7530037B401 for ; Wed, 11 Jun 2003 01:49:09 -0700 (PDT) Received: from quenix.dyndns.org (modemcable207.151-131-66.nowhere.mc.videotron.ca [66.131.151.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id DFB6243FCB for ; Wed, 11 Jun 2003 01:49:08 -0700 (PDT) (envelope-from serge@quenix.dyndns.org) Received: from serge by quenix.dyndns.org with local (Exim 4.20) id 19Q1hV-0009sm-NJ for FreeBSD-gnats-submit@freebsd.org; Wed, 11 Jun 2003 05:15:25 -0400 Message-Id: Date: Wed, 11 Jun 2003 05:15:25 -0400 From: Serge Gagnon Sender: Serge Gagnon To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/53193: [Patch] unbroke port: math/simpack fix compiler_error X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Serge Gagnon List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jun 2003 08:50:20 -0000 >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@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@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 +# include # 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: