On Mon, 29 Mar 2010 at 11:59:36 +0200, Tamas TEVESZ wrote: > On Mon, 29 Mar 2010, Tamas TEVESZ wrote: > > > renato, can you double-check this for me please? if ok, this will also > > have to be applied to the current wmaker (0.92) port soon-ish, as this > > recent libpng update made that unbuildable. > > yeah, like, two problems in one post, i'm getting better. > > the port was already fixed in: > > Add delta 1.23 2010.03.29.05.40.52 dinoex > Checkout ports/x11-wm/windowmaker/files/patch-wrlib_load.c > > and i got it backwards. carlos, do apply this instead please: > > --- wrlib/load.c.orig 2004-10-12 20:21:31.000000000 +0200 > +++ wrlib/load.c 2010-03-29 07:34:45.000000000 +0200 > @@ -348,7 +348,7 @@ > > #ifdef USE_PNG > /* check for PNG */ > - if (png_check_sig(buffer, 8)) > + if (!png_sig_cmp(buffer, 0, 8)) > return IM_PNG; > #endif > > credit it to dirk meyer of freebsd ;)
Ok, Daniel had already sent this same patch to the list on 30.01.2010, but somehow I got the impression that it was not strictly needed at that moment and did not apply it. Will it work with libpng < 1.4 too? (I guess I should simply try it out, but I am rushing for another conference now, sorry about that) -- To unsubscribe, send mail to [email protected].
