From 61ab758d365cffddcd92d90fda87c546b8aa7b01 Mon Sep 17 00:00:00 2001 From: Dirk Meyer Date: Mon, 29 Mar 2010 18:19:06 +0000 Subject: - fix build for png-1.4.1 bump PORTREVISOON --- graphics/mhgui/Makefile | 2 +- graphics/mhgui/files/patch-src-ImageData.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'graphics/mhgui') diff --git a/graphics/mhgui/Makefile b/graphics/mhgui/Makefile index c370704e7279..b2f23e99beee 100644 --- a/graphics/mhgui/Makefile +++ b/graphics/mhgui/Makefile @@ -7,7 +7,7 @@ PORTNAME= mhgui PORTVERSION= 0.2 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= graphics MASTER_SITES= SF/makehuman/MakeHuman%20Source/MakeHuman_091 diff --git a/graphics/mhgui/files/patch-src-ImageData.cpp b/graphics/mhgui/files/patch-src-ImageData.cpp index 62b650580caf..e710a9dc9027 100644 --- a/graphics/mhgui/files/patch-src-ImageData.cpp +++ b/graphics/mhgui/files/patch-src-ImageData.cpp @@ -5,7 +5,7 @@ fread(sig, 1, 8, infile); - if (!png_check_sig((unsigned char *) sig, 8)) -+ if (!png_sig_cmp((unsigned char *) sig, 0, 8)) ++ if (png_sig_cmp((unsigned char *) sig, 0, 8)) { fclose(infile); return false; // seems not to be a valid png file -- cgit v1.2.3