aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFernando ApesteguĂ­a <fernape@FreeBSD.org>2021-12-22 16:35:38 +0000
committerFernando ApesteguĂ­a <fernape@FreeBSD.org>2021-12-23 09:51:08 +0000
commitfc6db685f4ad53d532982cbce840f29290970193 (patch)
treedf3c290eb558d7ba29b63b987ac6ee8cff99f745
parent1c6c7a379bf89fdfbca528d95951d3238a2bf642 (diff)
downloadports-fc6db685f4ad53d532982cbce840f29290970193.tar.gz
ports-fc6db685f4ad53d532982cbce840f29290970193.zip
net/freerdp: Fix build with libressl 3.4.1
Apply patch from: https://github.com/FreeRDP/FreeRDP/commit/bfbef39759b9641a4fab8b75b9243c48cb0789ac While here, pet linters. PR: 259740 Reported by: rozhuk.im@gmail.com Approved by: vvd@unislabs.com (maintainer)
-rw-r--r--net/freerdp/Makefile12
-rw-r--r--net/freerdp/distinfo4
2 files changed, 11 insertions, 5 deletions
diff --git a/net/freerdp/Makefile b/net/freerdp/Makefile
index 08dda79dbb4e..cc2ab86ea394 100644
--- a/net/freerdp/Makefile
+++ b/net/freerdp/Makefile
@@ -2,10 +2,14 @@
PORTNAME= freerdp
DISTVERSION= 2.4.1
+PORTREVISION= 1
CATEGORIES= net comms
MASTER_SITES= https://pub.freerdp.com/releases/ \
https://github.com/FreeRDP/FreeRDP/releases/download/${DISTVERSION}/
+PATCH_SITES= https://github.com/FreeRDP/FreeRDP/commit/
+PATCHFILES+= bfbef39759b9641a4fab8b75b9243c48cb0789ac.patch:-p1 # Fix build for upcoming LibreSSL version
+
MAINTAINER= vvd@unislabs.com
COMMENT= Free implementation of Remote Desktop Protocol
@@ -17,15 +21,12 @@ BROKEN_SSL_REASON_libressl-devel= fails to compile: no member named 'alert_dispa
LIB_DEPENDS= libepoll-shim.so:devel/libepoll-shim
-USES= alias cmake compiler:c++11-lib cpe gettext gnome localbase pathfix pkgconfig ssl
+USES= alias cmake compiler:c++11-lib cpe gettext localbase pathfix pkgconfig ssl
USE_LDCONFIG= yes
PATCHVERSION= ${PORTVERSION}
MAJORVERSION= ${PORTVERSION:R:R}
-PLIST_SUB+= PATCHVERSION="${PATCHVERSION}"
-PLIST_SUB+= MAJORVERSION="${MAJORVERSION}"
-
CMAKE_ARGS+= ${CMAKE_ARGS_${ARCH}}
CMAKE_ON= WITH_CHANNELS WITH_OPENSSL WITH_OSS WITH_ZLIB CHANNEL_URBDRC_CLIENT
CMAKE_OFF= WITH_DSP_EXPERIMENTAL WITH_GPROF WITH_GSTREAMER_0_10 WITH_IPP \
@@ -37,6 +38,9 @@ CMAKE_OFF= WITH_DSP_EXPERIMENTAL WITH_GPROF WITH_GSTREAMER_0_10 WITH_IPP \
CMAKE_ARGS_aarch64+= -DWITH_NEON=ON
CFLAGS_aarch64+= -D__ARM_NEON__=__ARM_NEON # clang
+PLIST_SUB+= PATCHVERSION="${PATCHVERSION}"
+PLIST_SUB+= MAJORVERSION="${MAJORVERSION}"
+
OPTIONS_DEFINE= ALSA BROKENFOCUS CUPS FAAC FAAD FFMPEG GSM GSTREAMER \
ICU JPEG KERBEROS LAME MANPAGES OPENH264 PCSC \
PULSEAUDIO SOXR WAYLAND X11
diff --git a/net/freerdp/distinfo b/net/freerdp/distinfo
index 74fe2f3f0874..5ff5b5f1e0a3 100644
--- a/net/freerdp/distinfo
+++ b/net/freerdp/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1635018112
+TIMESTAMP = 1640190856
SHA256 (freerdp-2.4.1.tar.gz) = ef75c87926643a0d0041f6556e343ac037380d4260c64885e7cdd20da0147edf
SIZE (freerdp-2.4.1.tar.gz) = 7300797
+SHA256 (bfbef39759b9641a4fab8b75b9243c48cb0789ac.patch) = 6c2662496798881da7d162e63eeca9afb599ff85cffc7dad7e75c7185a2cc8e0
+SIZE (bfbef39759b9641a4fab8b75b9243c48cb0789ac.patch) = 2184