From owner-svn-ports-head@FreeBSD.ORG Sun Nov 2 08:23:38 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 019E2F6A; Sun, 2 Nov 2014 08:23:37 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E1884970; Sun, 2 Nov 2014 08:23:37 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id sA28NbHk068052; Sun, 2 Nov 2014 08:23:37 GMT (envelope-from antoine@FreeBSD.org) Received: (from antoine@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id sA28Nblj068051; Sun, 2 Nov 2014 08:23:37 GMT (envelope-from antoine@FreeBSD.org) Message-Id: <201411020823.sA28Nblj068051@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: antoine set sender to antoine@FreeBSD.org using -f From: Antoine Brodin Date: Sun, 2 Nov 2014 08:23:37 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r372055 - head/print/libgnomeprint/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Nov 2014 08:23:38 -0000 Author: antoine Date: Sun Nov 2 08:23:37 2014 New Revision: 372055 URL: https://svnweb.freebsd.org/changeset/ports/372055 QAT: https://qat.redports.org/buildarchive/r372055/ Log: Allow building with bison 3 PR: ports/194680 Added: head/print/libgnomeprint/files/patch-libgnomeprint_grammar.y (contents, props changed) Added: head/print/libgnomeprint/files/patch-libgnomeprint_grammar.y ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/print/libgnomeprint/files/patch-libgnomeprint_grammar.y Sun Nov 2 08:23:37 2014 (r372055) @@ -0,0 +1,37 @@ +--- libgnomeprint/grammar.y.orig 2010-02-09 12:32:51 UTC ++++ libgnomeprint/grammar.y +@@ -6,8 +6,6 @@ + #include + #include + +-#define YYPARSE_PARAM graph +- + static void + set_value_from_string (GParamSpec *pspec, GValue *v, const gchar *s) + { +@@ -99,7 +97,7 @@ gnome_print_filter_parse_prop (GnomePrin + } + + static int yylex (void *lvalp); +-static int yyerror (const char *s); ++static int yyerror (graph_t *g, const char *s); + %} + + %union { +@@ -117,6 +115,7 @@ static int yyerror (const char *s); + %type

pool + + %pure_parser ++%parse-param { graph_t *graph } + + %start graph + %% +@@ -185,7 +184,7 @@ graph: filter { + %% + + static int +-yyerror (const char *s) ++yyerror (graph_t *g, const char *s) + { + return -1; + }