From zacher@zacher02.uni-trier.de  Fri Oct 24 01:46:41 2003
Return-Path: <zacher@zacher02.uni-trier.de>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 9BEAB16A4B3
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 24 Oct 2003 01:46:41 -0700 (PDT)
Received: from zacher02.uni-trier.de (zacher02.uni-trier.de [136.199.198.39])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 767AA43FAF
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 24 Oct 2003 01:46:40 -0700 (PDT)
	(envelope-from zacher@zacher02.uni-trier.de)
Received: from zacher02.uni-trier.de (localhost.uni-trier.de [127.0.0.1])
	by zacher02.uni-trier.de (8.12.9/8.12.3) with ESMTP id h9O8kcaJ003711
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 24 Oct 2003 10:46:38 +0200 (CEST)
	(envelope-from zacher@zacher02.uni-trier.de)
Received: (from zacher@localhost)
	by zacher02.uni-trier.de (8.12.9/8.12.3/Submit) id h9O8kbIO003710;
	Fri, 24 Oct 2003 10:46:37 +0200 (CEST)
Message-Id: <200310240846.h9O8kbIO003710@zacher02.uni-trier.de>
Date: Fri, 24 Oct 2003 10:46:37 +0200 (CEST)
From: Heinrich Zacher <zacher@uni-trier.de>
Reply-To: Heinrich Zacher <zacher@uni-trier.de>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: mSQL does not compile using bison(1)
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         58479
>Category:       ports
>Synopsis:       mSQL does not compile using bison(1)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct 24 01:50:17 PDT 2003
>Closed-Date:    Sun Dec 28 01:00:05 PST 2003
>Last-Modified:  Sun Dec 28 01:00:05 PST 2003
>Originator:     Heinrich Zacher
>Release:        FreeBSD 4.8-STABLE and 5.1-STABLE i386
>Organization:
Universitt Trier
>Environment:
System: FreeBSD zacher02.uni-trier.de 4.8-STABLE FreeBSD 4.8-STABLE #0: Tue Jul 15 10:20:53 CEST 2003 root@zacher02.uni-trier.de:/usr/obj/usr/src/sys/ZACHER02 i386

>Description:
	The grammar file src/lang-common/parser.y does not compile with
	GNU bison(1).  The problem is fixed using the standard yacc(1) as
	supplied with FreeBSD 4.x and 5.x using the patch below.
	
>How-To-Repeat:
	Simply 'make' the port.
>Fix:

*** configure.orig	Fri Oct 24 10:21:18 2003
--- configure	Fri Oct 24 10:21:36 2003
***************
*** 759,765 ****
    echo "$ac_t""no" 1>&6
  fi
  
! for ac_prog in 'bison -y' byacc
  do
  # Extract the first word of "$ac_prog", so it can be a program name with args.
  set dummy $ac_prog; ac_word=$2
--- 759,765 ----
    echo "$ac_t""no" 1>&6
  fi
  
! for ac_prog in yacc 'bison -y' byacc
  do
  # Extract the first word of "$ac_prog", so it can be a program name with args.
  set dummy $ac_prog; ac_word=$2



>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: linimon 
State-Changed-When: Sun Dec 28 00:56:26 PST 2003 
State-Changed-Why:  
The change in this PR was committed on 2003/12/14 by oliver 
in response to to ports/58589. 

However, in my own testing I found that the port won't compile 
on recent versions of -current due to varargs.h being deprecated 
in favor of stdarg.h.  I have marked it broken and while here, 
fiddled with portlint and fixed the PLIST. 

Perhaps the submitter of this PR, or of 5859, might be interested 
in creating a port of msql3, which is a much more recent version 
and thus more likely to work on -current? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=58479 
>Unformatted:
