mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
WonderBrush: add patchset
This commit is contained in:
26
haiku-apps/wonderbrush/patches/wonderbrush-2.1.2.patchset
Normal file
26
haiku-apps/wonderbrush/patches/wonderbrush-2.1.2.patchset
Normal file
@@ -0,0 +1,26 @@
|
||||
From 1e66e0ad302aefc29e41d8635bf3773213c365db Mon Sep 17 00:00:00 2001
|
||||
From: Jonathan Schleifer <js@webkeks.org>
|
||||
Date: Thu, 19 Dec 2013 01:45:04 +0100
|
||||
Subject: Fix the agg headers to be proper C++.
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Signed-off-by: Axel Dörfler <axeld@pinc-software.de>
|
||||
|
||||
diff --git a/third_party/agg/include/agg_renderer_outline_aa.h b/third_party/agg/include/agg_renderer_outline_aa.h
|
||||
index 58af906..e891a17 100644
|
||||
--- a/third_party/agg/include/agg_renderer_outline_aa.h
|
||||
+++ b/third_party/agg/include/agg_renderer_outline_aa.h
|
||||
@@ -1371,7 +1371,7 @@ namespace agg
|
||||
//---------------------------------------------------------------------
|
||||
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 *(line_profile_aa*)m_profile; }
|
||||
|
||||
//---------------------------------------------------------------------
|
||||
int subpixel_width() const { return m_profile->subpixel_width(); }
|
||||
--
|
||||
2.21.0
|
||||
|
||||
@@ -20,7 +20,7 @@ not actually destroy any pixel data."
|
||||
HOMEPAGE="http://yellowbites.com/wonderbrush.html"
|
||||
COPYRIGHT="2005-2019, Stephan Aßmus und Ingo Weinhold GbR"
|
||||
LICENSE="WonderBrush"
|
||||
REVISION="6"
|
||||
REVISION="7"
|
||||
srcGitRev="0313cf0421fa8a576471b83f0ebef7026f5b1fa0"
|
||||
SOURCE_URI="https://github.com/stippi/WonderBrush-v2/archive/$srcGitRev.tar.gz"
|
||||
CHECKSUM_SHA256="961316483e129143172bc3f5fa58fa3e08e44d24ce7390939aab30a64dfb6051"
|
||||
|
||||
Reference in New Issue
Block a user