ports/sysutils/afio/files/patch-compfile.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
303 B
C

--- compfile.c.orig 2018-11-30 14:25:04 UTC
+++ compfile.c
@@ -224,7 +224,7 @@ void waitforgzip()
* version;
*/
-#if ( defined(sun) && defined(__svr4__) ) || defined(__CYGWIN32__)
+#if ( defined(sun) && defined(__svr4__) ) || defined(__FreeBSD__)
#include <dirent.h>
#else
#include <sys/dir.h>