agg: fix build w/ gcc-8.2.0
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
parent
8cf9f1b749
commit
4ffc20ef4f
|
@ -0,0 +1,11 @@
|
|||
--- include/agg_renderer_outline_aa.h 2006-10-09 06:07:08.000000000 +0200
|
||||
+++ include/agg_renderer_outline_aa.h 2018-08-22 11:06:28.038930861 +0200
|
||||
@@ -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; }
|
||||
+ line_profile_aa& profile() { return const_cast<line_profile_aa &>(*m_profile); }
|
||||
|
||||
//---------------------------------------------------------------------
|
||||
int subpixel_width() const { return m_profile->subpixel_width(); }
|
|
@ -1,15 +1,16 @@
|
|||
# Template file for 'agg'
|
||||
pkgname=agg
|
||||
version=2.5
|
||||
revision=4
|
||||
revision=5
|
||||
build_style=gnu-configure
|
||||
configure_args="--disable-examples"
|
||||
disable_parallel_build=1
|
||||
hostmakedepends="pkg-config automake libtool gettext-devel SDL-devel"
|
||||
makedepends="freetype-devel SDL-devel"
|
||||
hostmakedepends="SDL-devel automake gettext-devel libtool pkg-config"
|
||||
makedepends="SDL-devel freetype-devel"
|
||||
short_desc="A High Quality Rendering Engine for C++"
|
||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||
homepage="http://www.antigrain.com/"
|
||||
license="GPL-2"
|
||||
license="GPL-2.0-or-later"
|
||||
distfiles="http://www.antigrain.com/agg-${version}.tar.gz"
|
||||
checksum=ab1edc54cc32ba51a62ff120d501eecd55fceeedf869b9354e7e13812289911f
|
||||
|
||||
|
|
Loading…
Reference in New Issue