From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Oct 15 18:10:01 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2D99A48C for ; Mon, 15 Oct 2012 18:10:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [8.8.178.135]) by mx1.freebsd.org (Postfix) with ESMTP id 078688FC1D for ; Mon, 15 Oct 2012 18:10:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q9FIA0pD043521 for ; Mon, 15 Oct 2012 18:10:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q9FIA0PR043511; Mon, 15 Oct 2012 18:10:00 GMT (envelope-from gnats) Resent-Date: Mon, 15 Oct 2012 18:10:00 GMT Resent-Message-Id: <201210151810.q9FIA0PR043511@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, KATO Tsuguru Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 193101A0 for ; Mon, 15 Oct 2012 18:00:39 +0000 (UTC) (envelope-from tkato432@yahoo.com) Received: from msa105lp.auone-net.jp (msa105lp.auone-net.jp [222.3.140.168]) by mx1.freebsd.org (Postfix) with ESMTP id C1FC18FC14 for ; Mon, 15 Oct 2012 18:00:38 +0000 (UTC) Received: from localhost.localdomain (ZT028199.ppp.dion.ne.jp [59.128.28.199]) by msa105lp.auone-net.jp (au one net msa) with ESMTP id A14C550036 for ; Tue, 16 Oct 2012 03:00:31 +0900 (JST) Message-Id: <20121016025559.35f811082516041dfb171353@yahoo.com> Date: Tue, 16 Oct 2012 02:55:59 +0900 From: KATO Tsuguru To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/172718: graphics/agg: Fix build with clang X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Oct 2012 18:10:01 -0000 >Number: 172718 >Category: ports >Synopsis: graphics/agg: Fix build with clang >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Oct 15 18:10:00 UTC 2012 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 7.4-RELEASE-p10 i386 >Organization: >Environment: >Description: - Fix build with clang New file: agg/files/patch-include__agg_renderer_outline_aa.h >How-To-Repeat: >Fix: diff -urN /usr/ports/graphics/agg/Makefile graphics/agg/Makefile --- /usr/ports/graphics/agg/Makefile 2012-10-10 07:12:13.000000000 +0900 +++ graphics/agg/Makefile 2012-10-13 05:22:03.000000000 +0900 @@ -1,9 +1,5 @@ -# Ports collection makefile for: agg -# Date created: Aug 3, 2004 -# Whom: ijliao -# +# Created by: ijliao # $FreeBSD: ports/graphics/agg/Makefile,v 1.37 2012/10/09 22:12:13 linimon Exp $ -# PORTNAME= agg PORTVERSION= 2.5 @@ -17,9 +13,8 @@ LICENSE= GPLv2 -LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2 +LIB_DEPENDS= freetype:${PORTSDIR}/print/freetype2 -USE_GCC= any USE_XORG= x11 USE_GNOME= gnomehack USE_SDL= sdl diff -urN /usr/ports/graphics/agg/files/patch-include__agg_renderer_outline_aa.h graphics/agg/files/patch-include__agg_renderer_outline_aa.h --- /usr/ports/graphics/agg/files/patch-include__agg_renderer_outline_aa.h 1970-01-01 09:00:00.000000000 +0900 +++ graphics/agg/files/patch-include__agg_renderer_outline_aa.h 2012-10-13 05:26:20.000000000 +0900 @@ -0,0 +1,11 @@ +--- include/agg_renderer_outline_aa.h.orig 2006-10-09 13:07:08.000000000 +0900 ++++ include/agg_renderer_outline_aa.h 2012-10-13 05:25:48.000000000 +0900 +@@ -1375,7 +1375,7 @@ + //--------------------------------------------------------------------- + void profile(const line_profile_aa& prof) { m_profile = &prof; } + const line_profile_aa& profile() const { return *m_profile; } +- line_profile_aa& profile() { return *m_profile; } ++ const line_profile_aa& profile() { return *m_profile; } + + //--------------------------------------------------------------------- + int subpixel_width() const { return m_profile->subpixel_width(); } >Release-Note: >Audit-Trail: >Unformatted: