pkg:setup pkg:configure --disable-dependency-tracking --disable-static --disable-silent-rules make wraptmpf.h (buildpath/"patch-for-wraptmpf-h").write <<~EOS diff --git a/wraptmpf.h b/wraptmpf.h index dbfccc9..0e04771 100644 --- a/wraptmpf.h +++ b/wraptmpf.h @@ -575,6 +575,10 @@ static __inline__ int next_mkdirat (int dir_fd, const char *pathname, mode_t mod #endif /* HAVE_MKDIRAT */ #ifdef HAVE_OPENAT extern int openat (int dir_fd, const char *pathname, int flags, ...); +static __inline__ int next_openat (int dir_fd, const char *pathname, int flags, mode_t mode) __attribute__((always_inline)); +static __inline__ int next_openat (int dir_fd, const char *pathname, int flags, mode_t mode) { + return openat (dir_fd, pathname, flags, mode); +} #endif /* HAVE_OPENAT */ #ifdef HAVE_RENAMEAT EOS patch < patch-for-wraptmpf-h make make DESTDIR=${PKG_DEST} install