diff options
Diffstat (limited to 'net/nxserver')
-rw-r--r-- | net/nxserver/Makefile | 6 | ||||
-rw-r--r-- | net/nxserver/files/patch-nxcomp-Pgn.cpp | 10 |
2 files changed, 14 insertions, 2 deletions
diff --git a/net/nxserver/Makefile b/net/nxserver/Makefile index ce85f14e7fa4..a62883dd23e4 100644 --- a/net/nxserver/Makefile +++ b/net/nxserver/Makefile @@ -7,7 +7,7 @@ PORTNAME= nxserver PORTVERSION= 2.1.0 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= net MASTER_SITES= http://web04.nomachine.com/download/${PORTVERSION}/sources/ DISTFILES= nx-X11-${PORTVERSION}-3.tar.gz \ @@ -27,7 +27,7 @@ COMMENT= Low-bandwidth X network server LIB_DEPENDS= audiofile.0:${PORTSDIR}/audio/libaudiofile \ jpeg.11:${PORTSDIR}/graphics/jpeg \ - png.6:${PORTSDIR}/graphics/png + png15:${PORTSDIR}/graphics/png # freetype version included does not compile on 64bit ONLY_FOR_ARCHS= i386 @@ -60,6 +60,8 @@ post-patch: ${WRKSRC}/nxviewer/nxviewer/Imakefile @${REINPLACE_CMD} -e "s|objformat=.*|objformat=elf|" \ ${WRKSRC}/nxesd/configure + ${REINPLACE_CMD} -e 's|^CXXINCLUDES =.*|CXXINCLUDES = -I${LOCALBASE}/include/libpng15|' \ + ${WRKSRC}/nxcomp/Makefile.in do-configure: .if defined(TEMPLATES) && exists(${TEMPLATES}/config.guess) && exists(${TEMPLATES}/config.sub) diff --git a/net/nxserver/files/patch-nxcomp-Pgn.cpp b/net/nxserver/files/patch-nxcomp-Pgn.cpp new file mode 100644 index 000000000000..02aecb1f30ea --- /dev/null +++ b/net/nxserver/files/patch-nxcomp-Pgn.cpp @@ -0,0 +1,10 @@ +--- nxcomp/Pgn.cpp.orig 2006-06-27 11:25:12.000000000 +0200 ++++ nxcomp/Pgn.cpp 2012-05-07 05:27:20.000000000 +0200 +@@ -26,6 +26,7 @@ + #include <unistd.h> + #include <stdio.h> + #include <png.h> ++#include <pngpriv.h> + + #include "Unpack.h" + #include "Pgn.h" |