mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-09 08:33:51 +02:00
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
2 changed files with 16 additions and 4 deletions
11
srcpkgs/agg/patches/gcc82.patch
Normal file
11
srcpkgs/agg/patches/gcc82.patch
Normal file
|
@ -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'
|
# Template file for 'agg'
|
||||||
pkgname=agg
|
pkgname=agg
|
||||||
version=2.5
|
version=2.5
|
||||||
revision=4
|
revision=5
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
|
configure_args="--disable-examples"
|
||||||
disable_parallel_build=1
|
disable_parallel_build=1
|
||||||
hostmakedepends="pkg-config automake libtool gettext-devel SDL-devel"
|
hostmakedepends="SDL-devel automake gettext-devel libtool pkg-config"
|
||||||
makedepends="freetype-devel SDL-devel"
|
makedepends="SDL-devel freetype-devel"
|
||||||
short_desc="A High Quality Rendering Engine for C++"
|
short_desc="A High Quality Rendering Engine for C++"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
homepage="http://www.antigrain.com/"
|
homepage="http://www.antigrain.com/"
|
||||||
license="GPL-2"
|
license="GPL-2.0-or-later"
|
||||||
distfiles="http://www.antigrain.com/agg-${version}.tar.gz"
|
distfiles="http://www.antigrain.com/agg-${version}.tar.gz"
|
||||||
checksum=ab1edc54cc32ba51a62ff120d501eecd55fceeedf869b9354e7e13812289911f
|
checksum=ab1edc54cc32ba51a62ff120d501eecd55fceeedf869b9354e7e13812289911f
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue