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 ;)

-- 
[-]

mkdir /nonexistent


-- 
To unsubscribe, send mail to [email protected].

Reply via email to