mirror of
https://git.freebsd.org/ports.git
synced 2025-06-07 05:40:30 -04:00
The latest Android Native Development Kit (NDK) has API Level 21 in it (but not 20, nor 22 or the latest Level 23). Add this option to gnatdroid's sysroot port, and change the default API from Jelly Bean 1 (Level 16) to Kitkat (Level 19). Bump gnatdroid's binutils and gnatdroid itself as a consequence of this default change. A new patch had to be added to lang/gcc-aux to handle the CTYPE changes which haven't made to GCC yet. Gnatdroid has been testing for building on all API's but not for functionality beyond Level 16 due to lack of hardware. I may soon install an Android emulator to see if that will suffice.
12 lines
324 B
C
12 lines
324 B
C
--- usr/include/linux/stat.h.orig 2011-07-17 20:54:19.000000000 +0200
|
|
+++ usr/include/linux/stat.h 2011-07-17 20:55:15.000000000 +0200
|
|
@@ -39,6 +39,9 @@
|
|
#define S_IWUSR 00200
|
|
#define S_IXUSR 00100
|
|
|
|
+#define S_IREAD S_IRUSR
|
|
+#define S_IWRITE S_IWUSR
|
|
+
|
|
#define S_IRWXG 00070
|
|
#define S_IRGRP 00040
|
|
#define S_IWGRP 00020
|