Date: Tue, 16 Oct 2012 02:55:59 +0900 From: KATO Tsuguru <tkato432@yahoo.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/172718: graphics/agg: Fix build with clang Message-ID: <20121016025559.35f811082516041dfb171353@yahoo.com> Resent-Message-ID: <201210151810.q9FIA0PR043511@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20121016025559.35f811082516041dfb171353>