From owner-freebsd-ports Sun Mar 8 15:38:48 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA01388 for freebsd-ports-outgoing; Sun, 8 Mar 1998 15:38:48 -0800 (PST) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from murkwood.gaffaneys.com (dialup11.gaffaneys.com [208.155.161.61]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA01357 for ; Sun, 8 Mar 1998 15:38:36 -0800 (PST) (envelope-from zach@gaffaneys.com) Received: from current.gaffaneys.com (current.gaffaneys.com [10.0.0.2]) by murkwood.gaffaneys.com (8.8.8/8.8.8) with ESMTP id RAA27757; Sun, 8 Mar 1998 17:38:26 -0600 (CST) (envelope-from zach@gaffaneys.com) Received: (from zach@localhost) by current.gaffaneys.com (8.8.8/8.8.8) id RAA06757; Sun, 8 Mar 1998 17:40:21 -0600 (CST) (envelope-from zach@gaffaneys.com) Message-ID: <19980308174021.55158@gaffaneys.com> Date: Sun, 8 Mar 1998 17:40:21 -0600 From: Zach Heilig To: "Pedro F. Giffuni" , ports@FreeBSD.ORG Subject: Re: Strange problem while building Rayshade References: <3502F2B4.41C67EA6@asme.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89i In-Reply-To: <3502F2B4.41C67EA6@asme.org>; from Pedro F. Giffuni on Sun, Mar 08, 1998 at 02:34:12PM -0500 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sun, Mar 08, 1998 at 02:34:12PM -0500, Pedro F. Giffuni wrote: > Hi, > I was trying to port Rayshade > http://www-graphics.stanford.edu/~cek/rayshade/rayshade.html, but I got > the following: You need a patch to add: %option yylineno to the top of the lex.l file. You may actually want to add: %option lex-compat instead, but that does many things to slow the generated code down... -- Zach Heilig -- zach@gaffaneys.com Real Programs don't use shared text. Otherwise, how can they use functions for scratch space after they are finished calling them? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message