| 1 | Taken from: https://gitweb.gentoo.org/repo/gentoo.git/tree/x11-libs/agg/files/agg-2.5-gcc8.patch.
|
| 2 |
|
| 3 | diff -uprN agg-2.5/include/agg_renderer_outline_aa.h agg-2.5-fixed/include/agg_renderer_outline_aa.h
|
| 4 | |
| 5 | |
| 6 | @@ -1375,7 +1375,7 @@ namespace agg
|
| 7 | //---------------------------------------------------------------------
|
| 8 | void profile(const line_profile_aa& prof) { m_profile = &prof; }
|
| 9 | const line_profile_aa& profile() const { return *m_profile; }
|
| 10 | - line_profile_aa& profile() { return *m_profile; }
|
| 11 | + const line_profile_aa& profile() { return *m_profile; }
|
| 12 |
|
| 13 | //---------------------------------------------------------------------
|
| 14 | int subpixel_width() const { return m_profile->subpixel_width(); }
|