From owner-freebsd-ports@FreeBSD.ORG Tue Apr 22 18:15:48 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1B414923; Tue, 22 Apr 2014 18:15:48 +0000 (UTC) Received: from sdf.lonestar.org (mx.sdf.org [192.94.73.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx.sdf.org", Issuer "SDF.ORG" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id D448A18A3; Tue, 22 Apr 2014 18:15:47 +0000 (UTC) Received: from sdf.org (IDENT:cary@sdf.lonestar.org [192.94.73.15]) by sdf.lonestar.org (8.14.8/8.14.5) with ESMTP id s3MIFkUd000622 (using TLSv1/SSLv3 with cipher DHE-RSA-AES256-GCM-SHA384 (256 bits) verified NO); Tue, 22 Apr 2014 18:15:46 GMT Received: (from cary@localhost) by sdf.org (8.14.8/8.12.8/Submit) id s3MIFkeT014727; Tue, 22 Apr 2014 18:15:46 GMT Date: Tue, 22 Apr 2014 18:15:46 +0000 From: Cary To: FreeBSD Ports Subject: Re: cups support in print/xfce4-print Message-ID: <20140422181546.GA13435@SDF.ORG> Mail-Followup-To: FreeBSD Ports , xfce@freebsd.org References: <20140422110010.GA21283@maths.tcd.ie> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140422110010.GA21283@maths.tcd.ie> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: xfce@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Apr 2014 18:15:48 -0000 On Tue, Apr 22, 2014 at 12:00:10PM +0100, Richard M. Timoney wrote: > > > On 22 April 2014 09:41, Cary wrote: > > > > > > > print/xfce4-print builds normally on 9.2-R with default config, > > > > but build fails when port is configured with "--enable-cups" rather > > > > than "--enable-bsdlpr". > > > > > > > > STDERR attached. > > > > > > > > > > Could we have a little more information? The command lines for that > > > error > > > would be good. Editing the makefile to add MAKE_JOBS_UNSAFE=yes would > > > make > > > them easier to read too. > > > > Hi Robert, > > > > Here is output from running make again with MAKE_JOBS_UNSAFE set > > to "YES" in /etc/make.conf . > > > > thanks, > > Cary > > I found a hack that allows the potr to compile. > > /usr/ports/print/xfce4-print/work/xfprint-4.6.1/printing-systems/cups/cups.c > > Add this #define (line 26): > > #define _IPP_PRIVATE_STRUCTURES 1 > #include > > It seems from what I understand that the port is using cups internals in > a way that is no longer supported. > > Yours, > > Richard > > -- > Richard M. Timoney > (richardt@maths.tcd.ie) Tel. +353-1-896 1196 > School of Mathematics, Trinity College, Dublin 2, Ireland > WWW http://www.maths.tcd.ie/~richardt FAX +353-1-896 2282 Added the #define. It worked. Thank you, Richard! -- cary@sdf.org SDF Public Access UNIX System - http://sdf.org