udisks: fix build with newer glibc versions
authorVicente Olivert Riera <Vincent.Riera@imgtec.com>
Wed, 2 Sep 2015 14:21:20 +0000 (15:21 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 7 Sep 2015 21:39:54 +0000 (23:39 +0200)
commitf8be99506fbc6ba2bde9094f4ca1497d79a1b8a0
tree2707122facd7a43932a0a2411b94b16f8c5c1219
parent46a615bb6439a4fe69f1bfc6a347852b993d46a2
udisks: fix build with newer glibc versions

Backport an upstream patch to fix the build with newer glibc versions.
This is how the failure looks like:

job-drive-detach.c: In function 'sysfs_exists':
job-drive-detach.c:44:15: error: storage size of 'statbuf' isn't known
   struct stat statbuf;

Fixes:

  http://autobuild.buildroot.net/results/ab3/ab36c2a1d2ca41a4d9ec6bab7d8d45678dbc5dcd/

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/udisks/0001-fix-build-with-newer-glibc-versions.patch [new file with mode: 0644]