aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2012-11-03 08:59:21 +0100
committerPeter Korsgaard <jacmet@sunsite.dk>2012-11-03 08:59:21 +0100
commitb7053563f5c4d55edac75eaf833f473b7818b6e8 (patch)
tree99c23d3bf10e70e4583f37e21af90b51f03b8535
parentb72f3f625c97bca59549b3fedfd51b3dc993fb27 (diff)
downloadbuildroot-novena-b7053563f5c4d55edac75eaf833f473b7818b6e8.tar.gz
buildroot-novena-b7053563f5c4d55edac75eaf833f473b7818b6e8.zip
gdisk: close(2) needs unistd.h
Fixes http://autobuild.buildroot.net/results/c557ee7cd1247e024b5edccf5f824eb4d5212e25 Fixed upstream as well in the (big) 0.8.3 commit: http://gptfdisk.git.sourceforge.net/git/gitweb.cgi?p=gptfdisk/gptfdisk;a=commit;h=3488294d718a0e8b7f312c80c9e5729671173f6a Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/gdisk/gdisk-0.6.14-unistd.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/package/gdisk/gdisk-0.6.14-unistd.patch b/package/gdisk/gdisk-0.6.14-unistd.patch
new file mode 100644
index 000000000..97627da74
--- /dev/null
+++ b/package/gdisk/gdisk-0.6.14-unistd.patch
@@ -0,0 +1,19 @@
+[PATCH] close(2) needs unistd.h
+
+Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
+---
+ diskio-unix.cc | 1 +
+ 1 file changed, 1 insertion(+)
+
+Index: gdisk-0.6.14/diskio-unix.cc
+===================================================================
+--- gdisk-0.6.14.orig/diskio-unix.cc
++++ gdisk-0.6.14/diskio-unix.cc
+@@ -22,6 +22,7 @@
+ #include <errno.h>
+ #include <fcntl.h>
+ #include <sys/stat.h>
++#include <unistd.h>
+ #include <iostream>
+
+ #include "diskio.h"