Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Oct 2012 17:04:40 +0000 (UTC)
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r306623 - in head/graphics/agg: . files
Message-ID:  <201210291704.q9TH4ej1004078@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pawel
Date: Mon Oct 29 17:04:39 2012
New Revision: 306623
URL: http://svn.freebsd.org/changeset/ports/306623

Log:
  Fix build with clang
  
  PR:		ports/172718
  Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
  Feature safe:	yes

Added:
  head/graphics/agg/files/patch-include__agg_renderer_outline_aa.h   (contents, props changed)
Modified:
  head/graphics/agg/Makefile

Modified: head/graphics/agg/Makefile
==============================================================================
--- head/graphics/agg/Makefile	Mon Oct 29 16:44:40 2012	(r306622)
+++ head/graphics/agg/Makefile	Mon Oct 29 17:04:39 2012	(r306623)
@@ -1,9 +1,5 @@
-# Ports collection makefile for:	agg
-# Date created:			Aug 3, 2004
-# Whom:				ijliao
-#
+# Created by: ijliao
 # $FreeBSD$
-#
 
 PORTNAME=	agg
 PORTVERSION=	2.5
@@ -17,9 +13,8 @@ COMMENT=	A High Quality Rendering Engine
 
 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

Added: head/graphics/agg/files/patch-include__agg_renderer_outline_aa.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/agg/files/patch-include__agg_renderer_outline_aa.h	Mon Oct 29 17:04:39 2012	(r306623)
@@ -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(); }
\ No newline at end of file



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210291704.q9TH4ej1004078>