0001-fix-build-with-newer-glibc-versions.patch 815 B

1234567891011121314151617181920212223242526272829
  1. Fix build with newer glibc versions
  2. This patch has been backported from upstream:
  3. http://cgit.freedesktop.org/udisks/commit/?h=udisks1&id=9829152b12a8924d2e091a00133ed1a3a7ba75c0
  4. Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
  5. From 9829152b12a8924d2e091a00133ed1a3a7ba75c0 Mon Sep 17 00:00:00 2001
  6. From: Alexandre Rostovtsev <tetromino@gentoo.org>
  7. Date: Fri, 29 May 2015 21:09:39 -0400
  8. Subject: fix build with newer glibc versions
  9. https://bugs.freedesktop.org/show_bug.cgi?id=90778
  10. diff --git a/src/helpers/job-drive-detach.c b/src/helpers/job-drive-detach.c
  11. index eeafcab..d122a1f 100644
  12. --- a/src/helpers/job-drive-detach.c
  13. +++ b/src/helpers/job-drive-detach.c
  14. @@ -18,6 +18,7 @@
  15. *
  16. */
  17. +#include <sys/stat.h>
  18. #include <stdio.h>
  19. #include <string.h>
  20. #include <errno.h>
  21. --
  22. cgit v0.10.2