Date: Sat, 1 Sep 2018 13:24:31 +0000 (UTC) From: "Carlos J. Puga Medina" <cpm@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r478692 - in head/www/iridium: . files Message-ID: <201809011324.w81DOVAq047612@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: cpm Date: Sat Sep 1 13:24:31 2018 New Revision: 478692 URL: https://svnweb.freebsd.org/changeset/ports/478692 Log: - USE_GNOME also requires USES=gnome - Switch to USES=localbase:ldflags - Update patch file with missing WEBRTC_BSD macro - Bump PORTREVISION Modified: head/www/iridium/Makefile head/www/iridium/files/patch-third__party_webrtc_rtc_base_physicalsocketserver.cc Modified: head/www/iridium/Makefile ============================================================================== --- head/www/iridium/Makefile Sat Sep 1 13:23:08 2018 (r478691) +++ head/www/iridium/Makefile Sat Sep 1 13:24:31 2018 (r478692) @@ -3,7 +3,7 @@ PORTNAME= iridium PORTVERSION= 2018.5.67 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= www MASTER_SITES= https://downloads.iridiumbrowser.de/source/ PKGNAMESUFFIX= -browser @@ -61,8 +61,8 @@ RUN_DEPENDS= xdg-open:devel/xdg-utils \ ONLY_FOR_ARCHS= amd64 i386 -USES= bison desktop-file-utils jpeg ninja perl5 pkgconfig \ - python:2.7,build shebangfix tar:xz +USES= bison desktop-file-utils gnome jpeg localbase:ldflags ninja \ + perl5 pkgconfig python:2.7,build shebangfix tar:xz USE_GL= gl USE_LDCONFIG= ${DATADIR} USE_PERL5= build @@ -100,8 +100,8 @@ GN_ARGS+= clang_use_chrome_plugins=false \ use_system_freetype=true \ use_system_harfbuzz=true \ use_system_libjpeg=true \ - extra_cxxflags="-I${LOCALBASE}/include" \ - extra_ldflags="-L${LOCALBASE}/lib" + extra_cxxflags="${CXXFLAGS}" \ + extra_ldflags="${LDFLAGS}" # TODO: investigate building with these options: # use_system_minigbm GN_BOOTSTRAP_FLAGS= --no-clean --no-rebuild Modified: head/www/iridium/files/patch-third__party_webrtc_rtc_base_physicalsocketserver.cc ============================================================================== --- head/www/iridium/files/patch-third__party_webrtc_rtc_base_physicalsocketserver.cc Sat Sep 1 13:23:08 2018 (r478691) +++ head/www/iridium/files/patch-third__party_webrtc_rtc_base_physicalsocketserver.cc Sat Sep 1 13:24:31 2018 (r478692) @@ -1,6 +1,6 @@ ---- third_party/webrtc/rtc_base/physicalsocketserver.cc.orig 2018-02-24 16:26:17.000000000 +0100 -+++ third_party/webrtc/rtc_base/physicalsocketserver.cc 2018-03-04 04:38:51.589837000 +0100 -@@ -60,7 +60,7 @@ +--- third_party/webrtc/rtc_base/physicalsocketserver.cc.orig 2018-08-08 21:13:16.000000000 +0200 ++++ third_party/webrtc/rtc_base/physicalsocketserver.cc 2018-08-27 01:15:56.484919000 +0200 +@@ -68,7 +68,7 @@ #endif // WEBRTC_POSIX @@ -9,7 +9,7 @@ int64_t GetSocketRecvTimestamp(int socket) { struct timeval tv_ioctl; -@@ -317,7 +317,7 @@ +@@ -295,7 +295,7 @@ socklen_t optlen = sizeof(*value); int ret = ::getsockopt(s_, slevel, sopt, (SockOptArg)value, &optlen); if (ret != -1 && opt == OPT_DONTFRAGMENT) { @@ -18,7 +18,7 @@ *value = (*value != IP_PMTUDISC_DONT) ? 1 : 0; #endif } -@@ -330,7 +330,7 @@ +@@ -308,7 +308,7 @@ if (TranslateOption(opt, &slevel, &sopt) == -1) return -1; if (opt == OPT_DONTFRAGMENT) { @@ -27,7 +27,7 @@ value = (value) ? IP_PMTUDISC_DO : IP_PMTUDISC_DONT; #endif } -@@ -340,7 +340,7 @@ +@@ -318,7 +318,7 @@ int PhysicalSocket::Send(const void* pv, size_t cb) { int sent = DoSend(s_, reinterpret_cast<const char *>(pv), static_cast<int>(cb), @@ -36,7 +36,16 @@ // Suppress SIGPIPE. Without this, attempting to send on a socket whose // other end is closed will result in a SIGPIPE signal being raised to // our process, which by default will terminate the process, which we -@@ -560,7 +560,7 @@ +@@ -347,7 +347,7 @@ + size_t len = addr.ToSockAddrStorage(&saddr); + int sent = DoSendTo( + s_, static_cast<const char *>(buffer), static_cast<int>(length), +-#if defined(WEBRTC_LINUX) && !defined(WEBRTC_ANDROID) ++#if defined(WEBRTC_LINUX) && !defined(WEBRTC_ANDROID) && !defined(WEBRTC_BSD) + // Suppress SIGPIPE. See above for explanation. + MSG_NOSIGNAL, + #else +@@ -538,7 +538,7 @@ *slevel = IPPROTO_IP; *sopt = IP_DONTFRAGMENT; break;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201809011324.w81DOVAq047612>