diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2013-10-17 13:58:30 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2013-10-17 13:58:30 +0200 |
commit | 88dd48f85bc6191e990650613c1cea87db978485 (patch) | |
tree | b0163c92c387734a72705410e8111c84d87e3d57 /package/bcm2835-vc/patches/patch-interface_vmcs_host_linux_vcfilesys_c | |
parent | f043b8522e55308488448593bb4997614732a30a (diff) | |
parent | 59161fbfcb5c72b28491056f85785528f3e444f1 (diff) |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/bcm2835-vc/patches/patch-interface_vmcs_host_linux_vcfilesys_c')
-rw-r--r-- | package/bcm2835-vc/patches/patch-interface_vmcs_host_linux_vcfilesys_c | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/package/bcm2835-vc/patches/patch-interface_vmcs_host_linux_vcfilesys_c b/package/bcm2835-vc/patches/patch-interface_vmcs_host_linux_vcfilesys_c new file mode 100644 index 000000000..c5419c90d --- /dev/null +++ b/package/bcm2835-vc/patches/patch-interface_vmcs_host_linux_vcfilesys_c @@ -0,0 +1,22 @@ +--- bcm2835-vc-0.3.orig/interface/vmcs_host/linux/vcfilesys.c 2013-09-27 14:22:08.000000000 +0200 ++++ bcm2835-vc-0.3/interface/vmcs_host/linux/vcfilesys.c 2013-10-14 20:10:02.000000000 +0200 +@@ -49,10 +49,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBI + #include <ctype.h> + #include <limits.h> + +-#if !defined(ANDROID) && !defined( __USE_FILE_OFFSET64 ) +-#error "__USE_FILE_OFFSET64 isn't defined" +-#endif +- + #include "interface/vcos/vcos.h" + + /* Some hackery to prevent a clash with the Linux type of the same name */ +@@ -916,7 +912,7 @@ int vc_hostfs_set_attr(const char *path, + + if (pathbuf) + { +- __mode_t mode = 0; ++ mode_t mode = 0; + struct stat sb; + + backslash_to_slash(pathbuf); |