svn commit: r306623 - in head/graphics/agg: . files
Pawel Pekala
pawel at FreeBSD.org
Mon Oct 29 17:04:40 UTC 2012
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 at 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
More information about the svn-ports-all
mailing list