diff --git a/net/tightvnc/Makefile b/net/tightvnc/Makefile index ee220efd0bef..e8f5ff6f4fa3 100644 --- a/net/tightvnc/Makefile +++ b/net/tightvnc/Makefile @@ -1,81 +1,81 @@ PORTNAME= tightvnc PORTVERSION= 1.3.10 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= net java MASTER_SITES= SF/vnc-tight/TightVNC-unix/${PORTVERSION} DISTNAME= ${PORTNAME}-${PORTVERSION}_unixsrc PATCH_SITES= ftp://ftp.dinoex.org/pub/tightvnc/ -PATCHFILES= tightvnc-patch-ansi +PATCHFILES= tightvnc-patch-ansi2 MAINTAINER= dinoex@FreeBSD.org COMMENT= Enhanced version of VNC WWW= https://www.tightvnc.com/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENCE.TXT RUN_DEPENDS= showrgb:x11/rgb \ xauth:x11/xauth \ xorg-fonts>=7.2:x11-fonts/xorg-fonts USES= cpe imake jpeg shebangfix perl5 tar:bzip2 xorg USE_XORG= ice sm x11 xaw xext xmu xt xpm CFLAGS+= -fcommon # for build with clang-11, see https://sourceforge.net/p/vnc-tight/bugs/1523/ CFLAGS+= -DEVENT_SWAP_PTR=1 -DEXTENSION_PROC_ARGS=void MAKE_JOBS_UNSAFE= yes CONFLICTS= tigervnc WRKSRC= ${WRKDIR}/vnc_unixsrc SHEBANG_FILES= vncserver CFLAGS+= -Wno-return-type CFLAGS+= -Wno-int-conversion CFLAGS+= -Wno-pointer-sign -Wno-deprecated-non-prototype -Wno-variadic-macros CFLAGS+= -Wno-switch -Wno-format-extra-args -Wno-format-pedantic CFLAGS+= -Wno-knr-promoted-parameter ALL_TARGET= World MAKE_ARGS= CC=${CC} OPTIONS_DEFINE= JVNC_VIEWER OPTIONS_SUB= yes JVNC_VIEWER_DESC= Install Java-based vnc viewer JVNC_VIEWER_USE= JAVA=yes JVNC_VIEWER_VARS= JAVA_RUN=yes .ifdef(TIGHTVNC_BASE) PREFIX=${TIGHTVNC_BASE} .endif .include .if ${ARCH} == aarch64 USE_GCC= yes .endif .if exists(${PREFIX}/share/vnc/classes/index.vnc) IGNORE= vnc has already been installed, please uninstall it first .endif post-patch: .for file in vncviewer/Imakefile Xvnc/config/cf/vnclibs.def @${REINPLACE_CMD} -i '' -e "s|%%LOCALBASE%%|${LOCALBASE}|g" ${WRKSRC}/${file} .endfor @${REINPLACE_CMD} -i '' -e "s|/usr/local/share/tightvnc/classes|${DATADIR}/classes|g" \ ${WRKSRC}/vncserver @${REINPLACE_CMD} -i '' -e "s|%%CC%%|${CC}|g ; \ s|%%CFLAGS%%|${CFLAGS}|g" ${WRKSRC}/Xvnc/config/cf/FreeBSD.cf do-install: @(cd ${WRKSRC}; ./vncinstall ${STAGEDIR}${PREFIX}/bin ${STAGEDIR}${PREFIX}/man) .if defined(STRIP) && ${STRIP} != "" .for FILE in Xvnc vncviewer vncpasswd vncconnect @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${FILE} .endfor .endif do-install-JVNC_VIEWER-on: @${MKDIR} ${STAGEDIR}${DATADIR}/classes ${INSTALL_DATA} ${WRKSRC}/classes/*.* ${STAGEDIR}${DATADIR}/classes .include diff --git a/net/tightvnc/distinfo b/net/tightvnc/distinfo index 87ffb061511f..01a57a94ff50 100644 --- a/net/tightvnc/distinfo +++ b/net/tightvnc/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1690175854 +TIMESTAMP = 1692987112 SHA256 (tightvnc-1.3.10_unixsrc.tar.bz2) = f48c70fea08d03744ae18df6b1499976362f16934eda3275cead87baad585c0d SIZE (tightvnc-1.3.10_unixsrc.tar.bz2) = 1780510 -SHA256 (tightvnc-patch-ansi) = c3efc5c0995881939ff280649efdb4f31addbeb33dd6b27b805106b409d9a159 -SIZE (tightvnc-patch-ansi) = 245794 +SHA256 (tightvnc-patch-ansi2) = a98d3c13189e1276804b036fdc28890e49b23f20000c721f39627caac30478ad +SIZE (tightvnc-patch-ansi2) = 245673