[Slackbuilds-users] wesnoth 1.8 slackware-current

Nikos Skalkotos skalkoto at gmail.com
Thu Apr 22 16:27:00 UTC 2010


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.

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?

NIkos

On Thu, Apr 22, 2010 at 5:38 PM, Willy Sudiarto Raharjo
<willysr at gmail.com>wrote:

> > I seem to have compilation errors with the latest wesnoth update in
> > slackware current:
> >
> > if [ "exported" = "" ] || [ "exported" = "exported" ]; then echo ''
> >>/tmp/westemp$$;
> > \
> >         else echo '#define REVISION    "exported"' >/tmp/westemp$$;
> > fi;\
> >         if cmp -s revision.hpp /tmp/westemp$$ 2>/dev/null; then :; else
> cp
> > /tmp/westemp$$ revision.hpp; fi;
> > \
> >         if [ -e /tmp/westemp$$ ]; then rm /tmp/westemp$$;
> > fi
> > depbase=`echo tools/exploder_utils.o | sed
> > 's|[^/]*$|.deps/&|;s|\.o$||'`;\
> >         g++ -DHAVE_CONFIG_H -I. -I..   -I/usr/include
> > -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include
> > -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/glib-2.0
> > -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1
> -I/usr/include/freetype2
> > -I/usr/include/libpng14     -DHAVE_REVISION -I../intl -I../intl
> > -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT
> > -DWESNOTH_PATH=\"/usr/share/wesnoth\" -DLOCALEDIR=\"translations\"
> > -DHAS_RELATIVE_LOCALEDIR=1 -DFIFODIR=\"/var/run/wesnothd\"
> > -DWESNOTH_PREFIX=\"/usr\" -Werror -Wno-unused-parameter -O2 -W -Wall
> -ansi
> > -O2 -march=i486 -mtune=i686 -DDISABLE_POOL_ALLOC -DOLD_FRIBIDI
> > -I/usr/include/fribidi    -D_X11     -I/usr/include -MT
> > tools/exploder_utils.o -MD -MP -MF $depbase.Tpo -c -o
> tools/exploder_utils.o
> > tools/exploder_utils.cpp &&\
> >         mv -f $depbase.Tpo
> > $depbase.Po
> > tools/exploder_utils.cpp: In function ‘void save_image(surface, const
> > std::string&)’:
> > tools/exploder_utils.cpp:177: error: ‘png_voidp_NULL’ was not declared in
> > this
> > scope
> > tools/exploder_utils.cpp:178: error: ‘png_error_ptr_NULL’ was not
> declared
> > in this
> > scope
> > make: *** [tools/exploder_utils.o] Error 1
> >
> > Does anybody have any clue what's going on?
>
> See here http://slackblogs.blogspot.com/2010/04/wesnoth-18-on-current.html
> I have submitted a patch to Michiel, Wesnoth maintainer, but since
> wesnoth is still buildable in 13.0, it won't be released in
> SlackBuilds until 13.1 comes out
>
>
>
>
> --
> Willy Sudiarto Raharjo
> Registered Linux User : 336579
> Web : http://www.informatix.or.id/willy
> Blog : http://willysr.blogspot.com http://slackblogs.blogspot.com
> _______________________________________________
> SlackBuilds-users mailing list
> SlackBuilds-users at slackbuilds.org
> http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/
> FAQ - http://slackbuilds.org/faq/
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20100422/f25b8f0e/attachment.htm>


More information about the SlackBuilds-users mailing list