File agg-remove-const-violation.patch of Package agg
Index: agg-2.5/include/agg_renderer_outline_aa.h
===================================================================
--- agg-2.5.orig/include/agg_renderer_outline_aa.h
+++ agg-2.5/include/agg_renderer_outline_aa.h
@@ -1375,7 +1375,6 @@ 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; }
//---------------------------------------------------------------------
int subpixel_width() const { return m_profile->subpixel_width(); }