From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Oct 11 14:50:07 2011 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 20A1C106566B for ; Tue, 11 Oct 2011 14:50:07 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id F26B28FC12 for ; Tue, 11 Oct 2011 14:50:06 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p9BEo6CL008780 for ; Tue, 11 Oct 2011 14:50:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p9BEo6Gv008779; Tue, 11 Oct 2011 14:50:06 GMT (envelope-from gnats) Resent-Date: Tue, 11 Oct 2011 14:50:06 GMT Resent-Message-Id: <201110111450.p9BEo6Gv008779@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, Kaspars Bankovskis Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 936E9106566C for ; Tue, 11 Oct 2011 14:44:02 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 839E88FC0C for ; Tue, 11 Oct 2011 14:44:02 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p9BEi1vr093650 for ; Tue, 11 Oct 2011 14:44:01 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id p9BEi18G093635; Tue, 11 Oct 2011 14:44:01 GMT (envelope-from nobody) Message-Id: <201110111444.p9BEi18G093635@red.freebsd.org> Date: Tue, 11 Oct 2011 14:44:01 GMT From: Kaspars Bankovskis To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/161491: [patch] print/hplip build problem X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Oct 2011 14:50:07 -0000 >Number: 161491 >Category: ports >Synopsis: [patch] print/hplip build problem >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Oct 11 14:50:06 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Kaspars Bankovskis >Release: >Organization: >Environment: >Description: print/hplip build fails with this error: ppsfilter.o `test -f 'prnt/hpps/hppsfilter.c' || echo './'`prnt/hpps/hppsfilter.c prnt/hpps/hppsfilter.c: In function 'require_bod': prnt/hpps/hppsfilter.c:119: error: 'ppd_attr_t' undeclared (first use in this function) prnt/hpps/hppsfilter.c:119: error: (Each undeclared identifier is reported only once prnt/hpps/hppsfilter.c:119: error: for each function it appears in.) prnt/hpps/hppsfilter.c:119: error: 'pattr' undeclared (first use in this function) prnt/hpps/hppsfilter.c:120: error: 'ppd_file_t' undeclared (first use in this function) prnt/hpps/hppsfilter.c:120: error: 'pppd' undeclared (first use in this function) *** Error code 1 1 error *** Error code 1 >How-To-Repeat: >Fix: Attached patch fixes the problem Patch attached with submission follows: diff -ruN hplip.bak/files/patch-prnt__hpps__hppsfilter.c hplip/files/patch-prnt__hpps__hppsfilter.c --- hplip.bak/files/patch-prnt__hpps__hppsfilter.c 1970-01-01 03:00:00.000000000 +0300 +++ hplip/files/patch-prnt__hpps__hppsfilter.c 2011-10-11 17:26:53.000000000 +0300 @@ -0,0 +1,10 @@ +--- prnt/hpps/hppsfilter.c.orig 2011-10-11 17:25:10.000000000 +0300 ++++ prnt/hpps/hppsfilter.c 2011-10-11 17:25:29.000000000 +0300 +@@ -38,6 +38,7 @@ + #include + #include + #include ++#include + #include + #include + >Release-Note: >Audit-Trail: >Unformatted: