summaryrefslogtreecommitdiff
path: root/app-backup/mirdir/files/mirdir-2.1-implicit-function-decl.patch
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-06-25 10:21:44 +0100
committerSam James <sam@gentoo.org>2022-06-25 20:03:24 +0100
commitc74bbd229907063446180084e47f9fa8056e543a (patch)
tree750574d84b9520b3fc090bb7eb8cb67f99eb937a /app-backup/mirdir/files/mirdir-2.1-implicit-function-decl.patch
parent8fd5549edf07f4c19086252ca389a16720bd3700 (diff)
downloadgentoo-c74bbd229907063446180084e47f9fa8056e543a.tar.gz
gentoo-c74bbd229907063446180084e47f9fa8056e543a.tar.bz2
gentoo-c74bbd229907063446180084e47f9fa8056e543a.zip
app-backup/mirdir: fix build with LTO
Seems to be a dodgy old autoconf bug. No source configure.in/.ac in the tarball so can't easily fix it either, sadly. Just force off the test as lutime doesn't ever exist on Linux but I'm not sure if lutime is even a thing anyway (lutimeS, perhaps?). Closes: https://bugs.gentoo.org/854213 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-backup/mirdir/files/mirdir-2.1-implicit-function-decl.patch')
-rw-r--r--app-backup/mirdir/files/mirdir-2.1-implicit-function-decl.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/app-backup/mirdir/files/mirdir-2.1-implicit-function-decl.patch b/app-backup/mirdir/files/mirdir-2.1-implicit-function-decl.patch
new file mode 100644
index 000000000000..e9e824d9f019
--- /dev/null
+++ b/app-backup/mirdir/files/mirdir-2.1-implicit-function-decl.patch
@@ -0,0 +1,11 @@
+https://bugs.gentoo.org/854213
+--- a/mirdir.c
++++ b/mirdir.c
+@@ -88,6 +88,7 @@
+ #include <fcntl.h>
+ #include <dirent.h>
+ #include <time.h>
++#include <unistd.h>
+
+ /*
+ #include <sys/types.h>