From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Jun 10 08:40:06 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 48CEA37B404 for ; Tue, 10 Jun 2003 08:40:06 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 368A643FF3 for ; Tue, 10 Jun 2003 08:40:05 -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 h5AFe5Up003410 for ; Tue, 10 Jun 2003 08:40:05 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h5AFe5mI003409; Tue, 10 Jun 2003 08:40:05 -0700 (PDT) Resent-Date: Tue, 10 Jun 2003 08:40:05 -0700 (PDT) Resent-Message-Id: <200306101540.h5AFe5mI003409@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 C5B3437B401 for ; Tue, 10 Jun 2003 08:32:51 -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 288BB43FF9 for ; Tue, 10 Jun 2003 08:32:51 -0700 (PDT) (envelope-from serge@quenix.dyndns.org) Received: from serge by quenix.dyndns.org with local (Exim 4.20) id 19PlWe-0004VG-AF for FreeBSD-gnats-submit@freebsd.org; Tue, 10 Jun 2003 11:59:08 -0400 Message-Id: Date: Tue, 10 Jun 2003 11:59:08 -0400 From: Serge Gagnon Sender: Serge Gagnon To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/53150: [Patch] unbroke port: lang/sr fix stdio 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: Tue, 10 Jun 2003 15:40:06 -0000 >Number: 53150 >Category: ports >Synopsis: [Patch] unbroke port: lang/sr fix stdio 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: Tue Jun 10 08:40:04 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 stdio error o New files: patch-lexed-sr.yy.c patch-lexed-srlatex.c patch-lexed-srtex.c o Fix pkg-plist by the way >How-To-Repeat: http://bento.freebsd.org/errorlogs/i386-4-full/sr-2.3.1.log >Fix: --- patch-sr-stdio begins here --- diff -u /usr/ports/lang/sr/Makefile ./Makefile --- /usr/ports/lang/sr/Makefile Tue May 6 20:27:36 2003 +++ ./Makefile Tue Jun 10 11:33:28 2003 @@ -15,8 +15,6 @@ MAINTAINER= ports@FreeBSD.org COMMENT= A parallel language "Synchronization Resources" -BROKEN= "Does not compile" - HAS_CONFIGURE= yes CONFIGURE_ARGS= prefix NO_WRKSUBDIR= yes diff -u /usr/ports/lang/sr/pkg-plist ./pkg-plist --- /usr/ports/lang/sr/pkg-plist Sat Sep 11 09:05:34 1999 +++ ./pkg-plist Tue Jun 10 11:51:46 2003 @@ -26,6 +26,7 @@ lib/sr/srlib.a lib/sr/srmap lib/sr/srmulti.h +lib/sr/srwin.o lib/sr/srx share/doc/sr/notes/Memory share/doc/sr/notes/Questions --- patch-sr-stdio ends here --- --- patch-lexed-sr.yy.c begins here --- --- lexed/sr.yy.c.orig Tue Jun 10 11:40:54 2003 +++ lexed/sr.yy.c Tue Jun 10 11:42:06 2003 @@ -1,4 +1,5 @@ -# include "stdio.h" +# include +# include # define U(x) ((x)&0377) # 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-lexed-sr.yy.c ends here --- --- patch-lexed-srlatex.c begins here --- --- lexed/srlatex.yy.c.orig Tue Jun 10 11:46:02 2003 +++ lexed/srlatex.yy.c Tue Jun 10 11:46:50 2003 @@ -1,4 +1,5 @@ -# include "stdio.h" +# include +# include # define U(x) ((x)&0377) # 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-lexed-srlatex.c ends here --- --- patch-lexed-srtex.c begins here --- --- lexed/srtex.yy.c.orig Tue Jun 10 11:47:12 2003 +++ lexed/srtex.yy.c Tue Jun 10 11:47:56 2003 @@ -1,4 +1,5 @@ -# include "stdio.h" +# include +# include # define U(x) ((x)&0377) # 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-lexed-srtex.c ends here --- >Release-Note: >Audit-Trail: >Unformatted: