summaryrefslogtreecommitdiff
path: root/data/system-cmds/arch.diff
diff options
context:
space:
mode:
authorSam Bingner <sam@bingner.com>2018-08-15 12:16:52 -1000
committerSam Bingner <sam@bingner.com>2018-08-15 12:16:52 -1000
commit8f4591196c5ef7964ccf919b2bb980cefbdf424a (patch)
tree59c23ef24a591fcb5182208881b3970eb780e018 /data/system-cmds/arch.diff
parent635c870dbfedbf2f68ea1240dd07ba8f41ba3769 (diff)
Update system-cmds to 790.30.1 and pam-modules to 173.1.1 using openpam
Diffstat (limited to 'data/system-cmds/arch.diff')
-rw-r--r--data/system-cmds/arch.diff22
1 files changed, 22 insertions, 0 deletions
diff --git a/data/system-cmds/arch.diff b/data/system-cmds/arch.diff
new file mode 100644
index 000000000..f05b3999f
--- /dev/null
+++ b/data/system-cmds/arch.diff
@@ -0,0 +1,22 @@
+diff -ur system_cmds-790.30.1/arch.tproj/arch.c system_cmds-790.30.1+iPhone/arch.tproj/arch.c
+--- system_cmds-790.30.1/arch.tproj/arch.c 2018-02-03 12:02:36.000000000 -1000
++++ system_cmds-790.30.1+iPhone/arch.tproj/arch.c 2018-07-31 16:15:42.000000000 -1000
+@@ -78,6 +78,8 @@
+ {"x86_64", CPU_TYPE_X86_64},
+ #elif defined(__arm__)
+ {"arm", CPU_TYPE_ARM},
++#elif defined(__arm64__)
++ {"arm", CPU_TYPE_ARM64},
+ #else
+ #error "Unsupported architecture"
+ #endif
+@@ -102,6 +104,9 @@
+ #elif defined(__arm__)
+ #define NATIVE_32 "arm"
+ #define NATIVE_64 NULL
++#elif defined(__arm64__)
++#define NATIVE_32 NULL
++#define NATIVE_64 "arm64"
+ #else
+ #error "Unsupported architecture"
+ #endif