mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
Fix build with clang
PR: ports/172718 Submitted by: KATO Tsuguru <tkato432@yahoo.com> Feature safe: yes
This commit is contained in:
parent
a3f0261fac
commit
e9f7e390c1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=306623
2 changed files with 13 additions and 7 deletions
|
@ -1,9 +1,5 @@
|
||||||
# Ports collection makefile for: agg
|
# Created by: ijliao
|
||||||
# Date created: Aug 3, 2004
|
|
||||||
# Whom: ijliao
|
|
||||||
#
|
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
#
|
|
||||||
|
|
||||||
PORTNAME= agg
|
PORTNAME= agg
|
||||||
PORTVERSION= 2.5
|
PORTVERSION= 2.5
|
||||||
|
@ -17,9 +13,8 @@ COMMENT= A High Quality Rendering Engine for C++
|
||||||
|
|
||||||
LICENSE= GPLv2
|
LICENSE= GPLv2
|
||||||
|
|
||||||
LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2
|
LIB_DEPENDS= freetype:${PORTSDIR}/print/freetype2
|
||||||
|
|
||||||
USE_GCC= any
|
|
||||||
USE_XORG= x11
|
USE_XORG= x11
|
||||||
USE_GNOME= gnomehack
|
USE_GNOME= gnomehack
|
||||||
USE_SDL= sdl
|
USE_SDL= sdl
|
||||||
|
|
11
graphics/agg/files/patch-include__agg_renderer_outline_aa.h
Normal file
11
graphics/agg/files/patch-include__agg_renderer_outline_aa.h
Normal file
|
@ -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(); }
|
Loading…
Add table
Reference in a new issue