Index: head/www/epiphany/Makefile =================================================================== --- head/www/epiphany/Makefile (revision 554146) +++ head/www/epiphany/Makefile (revision 554147) @@ -1,58 +1,65 @@ # Created by: Joe Marcus Clarke # $FreeBSD$ PORTNAME= epiphany PORTVERSION= 3.38.0 PORTREVISION= 3 CATEGORIES= www gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Extremely lightweight and simple web browser for GNOME 3 LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= iso-codes>=0:misc/iso-codes \ itstool:textproc/itstool \ gsettings-desktop-schemas>=0:devel/gsettings-desktop-schemas LIB_DEPENDS= libwebkit2gtk-4.0.so:www/webkit2-gtk3 \ libsoup-2.4.so:devel/libsoup \ libgcr-base-3.so:security/gcr \ libstartup-notification-1.so:x11/startup-notification \ libnss3.so:security/nss \ libjson-glib-1.0.so:devel/json-glib \ libicuuc.so:devel/icu \ libnotify.so:devel/libnotify \ libgmp.so:math/gmp \ libnettle.so:security/nettle \ libsecret-1.so:security/libsecret \ libp11-kit.so:security/p11-kit \ libdazzle-1.0.so:x11-toolkits/libdazzle \ libhandy-1.so:x11-toolkits/libhandy RUN_DEPENDS= iso-codes>=0:misc/iso-codes \ gsettings-desktop-schemas>=0:devel/gsettings-desktop-schemas \ gnome-icon-theme-symbolic>=0:x11-themes/gnome-icon-theme-symbolic \ gnome-icon-theme>=0:misc/gnome-icon-theme PORTSCOUT= limitw:1,even USES= compiler:c++11-lib cpe desktop-file-utils gettext gnome \ localbase:ldflags meson pkgconfig python:3.4+ shebangfix \ sqlite tar:xz xorg + CPE_VENDOR= gnome USE_GNOME= cairo gnomedesktop3 intlhack libwnck3 libxml2 libxslt USE_XORG= x11 INSTALLS_ICONS= yes USE_LDCONFIG= yes MESON_ARGS= -Ddistributor_name="GNOME Web by the FreeBSD GNOME Project" \ -Db_lundef=false \ -Dunit_tests=disabled GLIB_SCHEMAS= org.gnome.Epiphany.enums.xml \ org.gnome.epiphany.gschema.xml SHEBANG_FILES= post_install.py PLIST_SUB+= EPHY_VERSION=${PORTVERSION:R} -.include +.include + +.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1200000 +EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-lib_ephy-sync-utils.c +.endif + +.include Index: head/www/epiphany/files/extra-patch-lib_ephy-sync-utils.c =================================================================== --- head/www/epiphany/files/extra-patch-lib_ephy-sync-utils.c (nonexistent) +++ head/www/epiphany/files/extra-patch-lib_ephy-sync-utils.c (revision 554147) @@ -0,0 +1,27 @@ +11.x does not have getrandom(2) (or getentropy(3)) + +--- lib/ephy-sync-utils.c.orig 2020-10-04 22:15:55 UTC ++++ lib/ephy-sync-utils.c +@@ -24,6 +24,7 @@ + #include "ephy-settings.h" + + #include ++#include + #include + #include + #include +@@ -189,7 +190,13 @@ ephy_sync_utils_generate_random_bytes (v + } + #else + do { +- ret = getrandom (out, num_bytes, 0); ++ int fd = open("/dev/urandom", O_RDONLY|O_CLOEXEC); ++ if (fd != -1) { ++ ret = read(fd, out, num_bytes); ++ (void)close(fd); ++ } ++ else ++ g_error ("Failed to open /dev/urandom to generate randomness: %s", g_strerror (errno)); + } while (ret < (gssize)num_bytes && errno == EINTR); + + if (ret != (gssize)num_bytes) Property changes on: head/www/epiphany/files/extra-patch-lib_ephy-sync-utils.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property