ports/sysutils/afio/files/patch-afio.c
Fernando Apesteguía dee33b4bb2 sysutils/afio: update to 2.5.2
ChangeLog (https://github.com/kholtman/afio/blob/master/ANNOUNCE-2.5.2):

* security improvements for the handling of archives from unstrusted
  sources

* when making multivolume archives, added %V feature to include the
  volume number in subsequent volume file names

* various bug and portability fixes

PR:	237324
Submitted by:	takefu@airport.fm
Approved by:	portmaster@bsdforge.com (maintainer, timeout 10 days)
2019-04-27 15:40:45 +00:00

11 lines
299 B
C

--- afio.c.orig 2018-11-30 14:25:04 UTC
+++ afio.c
@@ -3423,7 +3423,7 @@ openotty (name, asb, linkp, ispass, dozf
return (warn (name, syserr ()));
break;
#endif /* S_IFIFO */
-#ifdef S_IFSOCK
+#ifdef S_IFSOCK && !defined (__FreeBSD__)
case S_IFSOCK:
fd = 0;
if (exists)