--- /dev/null
+Revert commit 5460f5d28c01a9a58e021eb1dffef2965e629d58
+
+--- b/screen.c
++++ a/screen.c
+@@ -670,12 +670,6 @@ int main(int ac, char** av)
+ Panic(0, "-L: logfile name can not start with \"-\" symbol");
+ if (strlen(screenlogfile) > PATH_MAX)
+ Panic(0, "-L: logfile name too long. (max. %d char)", PATH_MAX);
+-
+- FILE *w_check;
+- if ((w_check = fopen(screenlogfile, "w")) == NULL)
+- Panic(0, "-L: logfile name access problem");
+- else
+- fclose(w_check);
+ }
+ nwin_options.Lflag = 1;
+ break;
"${FILESDIR}"/${PN}-4.3.0-no-utempter.patch
# PATH_MAX usage needs an include on Solaris
"${FILESDIR}"/${P}-solaris-PATH_MAX.patch
+ # Revert patch due to security, bug #607116
+ "${FILESDIR}"/${P}-logfile-access-revert.patch
)
pkg_setup() {
# Bug #606132
x11-drivers/xf86-video-v4l
-# Jeroen Roovers <jer@gentoo.org> (24 Jan 2017)
-# Masked for bug #607116
-=app-misc/screen-4.5.0
-
# Michał Górny <mgorny@gentoo.org> (24 Jan 2017)
# Mask 4.0.0 RCs (then final) for initial testing, and updating most
# important revdeps. Also revdeps that require 4.0.