Thanks for the reply. As far as I can see you change the undefined png_error_ptr_NULL to NULL. So, I&#39;ll probably use your patch.<br><br>I guess this has to do with the fact that libpng was updated in slackware-current, and the png_error_ptr_NULL is not defined anymore. I wonder if anybody has submitted a bug report to wesnorth about not supporting new releases of libpng?<br>
<br>NIkos<br><div class="gmail_quote"><br>On Thu, Apr 22, 2010 at 5:38 PM, Willy Sudiarto Raharjo <span dir="ltr">&lt;<a href="mailto:willysr@gmail.com">willysr@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div><div></div><div class="h5">&gt; I seem to have compilation errors with the latest wesnoth update in<br>
&gt; slackware current:<br>
&gt;<br>
&gt; if [ &quot;exported&quot; = &quot;&quot; ] || [ &quot;exported&quot; = &quot;exported&quot; ]; then echo &#39;&#39;<br>
&gt;&gt;/tmp/westemp$$;<br>
&gt; \<br>
&gt;         else echo &#39;#define REVISION    &quot;exported&quot;&#39; &gt;/tmp/westemp$$;<br>
&gt; fi;\<br>
&gt;         if cmp -s revision.hpp /tmp/westemp$$ 2&gt;/dev/null; then :; else cp<br>
&gt; /tmp/westemp$$ revision.hpp; fi;<br>
&gt; \<br>
&gt;         if [ -e /tmp/westemp$$ ]; then rm /tmp/westemp$$;<br>
&gt; fi<br>
&gt; depbase=`echo tools/exploder_utils.o | sed<br>
&gt; &#39;s|[^/]*$|.deps/&amp;|;s|\.o$||&#39;`;\<br>
&gt;         g++ -DHAVE_CONFIG_H -I. -I..   -I/usr/include<br>
&gt; -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include<br>
&gt; -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/glib-2.0<br>
&gt; -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2<br>
&gt; -I/usr/include/libpng14     -DHAVE_REVISION -I../intl -I../intl<br>
&gt; -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT<br>
&gt; -DWESNOTH_PATH=\&quot;/usr/share/wesnoth\&quot; -DLOCALEDIR=\&quot;translations\&quot;<br>
&gt; -DHAS_RELATIVE_LOCALEDIR=1 -DFIFODIR=\&quot;/var/run/wesnothd\&quot;<br>
&gt; -DWESNOTH_PREFIX=\&quot;/usr\&quot; -Werror -Wno-unused-parameter -O2 -W -Wall -ansi<br>
&gt; -O2 -march=i486 -mtune=i686 -DDISABLE_POOL_ALLOC -DOLD_FRIBIDI<br>
&gt; -I/usr/include/fribidi    -D_X11     -I/usr/include -MT<br>
&gt; tools/exploder_utils.o -MD -MP -MF $depbase.Tpo -c -o tools/exploder_utils.o<br>
&gt; tools/exploder_utils.cpp &amp;&amp;\<br>
&gt;         mv -f $depbase.Tpo<br>
&gt; $depbase.Po<br>
&gt; tools/exploder_utils.cpp: In function ‘void save_image(surface, const<br>
&gt; std::string&amp;)’:<br>
&gt; tools/exploder_utils.cpp:177: error: ‘png_voidp_NULL’ was not declared in<br>
&gt; this<br>
&gt; scope<br>
&gt; tools/exploder_utils.cpp:178: error: ‘png_error_ptr_NULL’ was not declared<br>
&gt; in this<br>
&gt; scope<br>
&gt; make: *** [tools/exploder_utils.o] Error 1<br>
&gt;<br>
&gt; Does anybody have any clue what&#39;s going on?<br>
<br>
</div></div>See here <a href="http://slackblogs.blogspot.com/2010/04/wesnoth-18-on-current.html" target="_blank">http://slackblogs.blogspot.com/2010/04/wesnoth-18-on-current.html</a><br>
I have submitted a patch to Michiel, Wesnoth maintainer, but since<br>
wesnoth is still buildable in 13.0, it won&#39;t be released in<br>
SlackBuilds until 13.1 comes out<br>
<br>
<br>
<br>
<br>
--<br>
Willy Sudiarto Raharjo<br>
Registered Linux User : 336579<br>
Web : <a href="http://www.informatix.or.id/willy" target="_blank">http://www.informatix.or.id/willy</a><br>
Blog : <a href="http://willysr.blogspot.com" target="_blank">http://willysr.blogspot.com</a> <a href="http://slackblogs.blogspot.com" target="_blank">http://slackblogs.blogspot.com</a><br>
_______________________________________________<br>
SlackBuilds-users mailing list<br>
<a href="mailto:SlackBuilds-users@slackbuilds.org">SlackBuilds-users@slackbuilds.org</a><br>
<a href="http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users" target="_blank">http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users</a><br>
Archives - <a href="http://lists.slackbuilds.org/pipermail/slackbuilds-users/" target="_blank">http://lists.slackbuilds.org/pipermail/slackbuilds-users/</a><br>
FAQ - <a href="http://slackbuilds.org/faq/" target="_blank">http://slackbuilds.org/faq/</a><br>
<br>
</blockquote></div><br>