1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

Properly support png15, remove useless patch

This commit is contained in:
Antoine Brodin 2014-12-24 01:27:03 +00:00
parent 71db4f9e29
commit 9e02a5f368
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=375380
2 changed files with 2 additions and 12 deletions

View File

@ -12,7 +12,7 @@ COMMENT= GDI+ API for System.Windows.Forms in Mono
LIB_DEPENDS= libtiff.so:${PORTSDIR}/graphics/tiff \
libgif.so:${PORTSDIR}/graphics/giflib \
libpng15.so:${PORTSDIR}/graphics/png \
libpng.so:${PORTSDIR}/graphics/png \
libcairo.so:${PORTSDIR}/graphics/cairo
GNU_CONFIGURE= yes
@ -20,7 +20,7 @@ USES= gmake libtool:keepla pathfix pkgconfig
USE_GNOME= glib20
USE_LDCONFIG= yes
USE_XORG= x11
CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/libpng15
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
INSTALL_TARGET= install-strip

View File

@ -1,10 +0,0 @@
--- src/pngcodec.c.orig 2011-01-13 23:28:19.000000000 +0100
+++ src/pngcodec.c 2012-04-27 12:33:01.000000000 +0200
@@ -35,6 +35,7 @@
#ifdef HAVE_LIBPNG
#include <png.h>
+#include <pngpriv.h>
#include "gdiplus-private.h"
#include "pngcodec.h"
#include <setjmp.h>