wget https://bugs.debian.org/cgi-bin/bugreport.cgi?msg=5;filename=0001-Implement-openat-2-wrapper-which-handles-optional-ar.patch;att=1;bug=766649 wget https://bugs.debian.org/cgi-bin/bugreport.cgi?msg=5;filename=0002-OS-X-10.10-introduced-id_t-int-in-gs-etpriority.patch;att=2;bug=766649 echo 'Creating brew-patch.diff' cat << EOF >> brew-patch.diff index 15fdd1d..29d738d 100644 --- a/libfakeroot.c +++ b/libfakeroot.c @@ -2446,6 +2446,6 @@ int openat(int dir_fd, const char *pathname, int flags, ...) va_end(args); return next_openat(dir_fd, pathname, flags, mode); } - return next_openat(dir_fd, pathname, flags); + return next_openat(dir_fd, pathname, flags, NULL); } #endif EOF