<div dir="ltr"><div>It is unfortunate that the author of revision 63 chose to remove rgba8_pre, rather than create linear and sRGB variants.</div><div><br></div>If you replace agg::rgba8_pre(r,g,b,a) with agg::rgba8(r,g,b,a).premultiply() it should work for both the old and new versions of libagg<div><br></div><div>-- john</div></div><br><div class="gmail_quote"><div dir="ltr">On Sat, Dec 16, 2017 at 12:11 AM Juhani Numminen <<a href="mailto:juhaninumminen0@gmail.com">juhaninumminen0@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Control: retitle 853424 gnash: FTBFS with agg 1:2.4-r127+dfsg1-1<br>
<br>
Hi,<br>
<br>
This is the first warning in my build log (attached):<br>
<br>
make[4]: Entering directory '/build/gnash-0.8.11~git20160608/tmp.build/librender'<br>
  CXX      libgnashrender_la-Renderer_agg.lo<br>
In file included from ../../librender/agg/Renderer_agg.cpp:146:0:<br>
../../librender/agg/Renderer_agg_style.h: In member function 'void gnash::AddStyles::operator()(const gnash::SolidFill&) const':<br>
../../librender/agg/Renderer_agg_style.h:617:28: error: 'rgba8_pre' is not a member of 'agg'<br>
         _sh.add_color(agg::rgba8_pre(color.m_r, color.m_g, color.m_b,<br>
                            ^~~~~~~~~<br>
../../librender/agg/Renderer_agg_style.h:617:28: note: suggested alternative: 'rgba_pre'<br>
         _sh.add_color(agg::rgba8_pre(color.m_r, color.m_g, color.m_b,<br>
                            ^~~~~~~~~<br>
<br>
It seems that rgba8_pre really was removed from the headers in the last<br>
upload of agg.<br>
<a href="https://sources.debian.org/src/agg/2.5+dfsg1-11/include/agg_color_rgba.h/#L436" rel="noreferrer" target="_blank">https://sources.debian.org/src/agg/2.5+dfsg1-11/include/agg_color_rgba.h/#L436</a><br>
<a href="https://sources.debian.org/src/agg/1:2.4-r127+dfsg1-1/include/agg_color_rgba.h" rel="noreferrer" target="_blank">https://sources.debian.org/src/agg/1:2.4-r127+dfsg1-1/include/agg_color_rgba.h</a><br>
<br>
In the upstream repository, the removal was done in revision 63.<br>
<a href="https://sourceforge.net/p/agg/svn/63/?page=2#diff-17" rel="noreferrer" target="_blank">https://sourceforge.net/p/agg/svn/63/?page=2#diff-17</a><br>
<a href="https://sourceforge.net/p/agg/svn/63/tree/agg-2.4/include/agg_color_rgba.h?diff=518286af2718467b8b34c637:62" rel="noreferrer" target="_blank">https://sourceforge.net/p/agg/svn/63/tree/agg-2.4/include/agg_color_rgba.h?diff=518286af2718467b8b34c637:62</a><br>
<br>
<br>
Best regards,<br>
Juhani<br>
</blockquote></div>