Thanks for the reply. As far as I can see you change the undefined png_error_ptr_NULL to NULL. So, I'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"><<a href="mailto:willysr@gmail.com">willysr@gmail.com</a>></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">> I seem to have compilation errors with the latest wesnoth update in<br>
> slackware current:<br>
><br>
> if [ "exported" = "" ] || [ "exported" = "exported" ]; then echo ''<br>
>>/tmp/westemp$$;<br>
> \<br>
> else echo '#define REVISION "exported"' >/tmp/westemp$$;<br>
> fi;\<br>
> if cmp -s revision.hpp /tmp/westemp$$ 2>/dev/null; then :; else cp<br>
> /tmp/westemp$$ revision.hpp; fi;<br>
> \<br>
> if [ -e /tmp/westemp$$ ]; then rm /tmp/westemp$$;<br>
> fi<br>
> depbase=`echo tools/exploder_utils.o | sed<br>
> 's|[^/]*$|.deps/&|;s|\.o$||'`;\<br>
> g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include<br>
> -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include<br>
> -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/glib-2.0<br>
> -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2<br>
> -I/usr/include/libpng14 -DHAVE_REVISION -I../intl -I../intl<br>
> -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT<br>
> -DWESNOTH_PATH=\"/usr/share/wesnoth\" -DLOCALEDIR=\"translations\"<br>
> -DHAS_RELATIVE_LOCALEDIR=1 -DFIFODIR=\"/var/run/wesnothd\"<br>
> -DWESNOTH_PREFIX=\"/usr\" -Werror -Wno-unused-parameter -O2 -W -Wall -ansi<br>
> -O2 -march=i486 -mtune=i686 -DDISABLE_POOL_ALLOC -DOLD_FRIBIDI<br>
> -I/usr/include/fribidi -D_X11 -I/usr/include -MT<br>
> tools/exploder_utils.o -MD -MP -MF $depbase.Tpo -c -o tools/exploder_utils.o<br>
> tools/exploder_utils.cpp &&\<br>
> mv -f $depbase.Tpo<br>
> $depbase.Po<br>
> tools/exploder_utils.cpp: In function ‘void save_image(surface, const<br>
> std::string&)’:<br>
> tools/exploder_utils.cpp:177: error: ‘png_voidp_NULL’ was not declared in<br>
> this<br>
> scope<br>
> tools/exploder_utils.cpp:178: error: ‘png_error_ptr_NULL’ was not declared<br>
> in this<br>
> scope<br>
> make: *** [tools/exploder_utils.o] Error 1<br>
><br>
> Does anybody have any clue what'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'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>