summaryrefslogtreecommitdiff
path: root/data/iokittools
diff options
context:
space:
mode:
authorSam Bingner <sam@bingner.com>2018-10-12 16:38:39 -1000
committerSam Bingner <sam@bingner.com>2018-10-12 16:38:39 -1000
commitab753fcde40b28248172c552ce2b1f23eddfc9f4 (patch)
tree2ff2724ef77294878f91b528843a0f0b6dba5462 /data/iokittools
parent295030d5719c3af352cfc5394b8ce13e3a1e0fb9 (diff)
Update more packages
Diffstat (limited to 'data/iokittools')
-rw-r--r--data/iokittools/IOKitTools-76.tar.gzbin17076 -> 0 bytes
-rw-r--r--data/iokittools/kernel.diff14
-rw-r--r--data/iokittools/make.sh2
3 files changed, 16 insertions, 0 deletions
diff --git a/data/iokittools/IOKitTools-76.tar.gz b/data/iokittools/IOKitTools-76.tar.gz
deleted file mode 100644
index 25b29a4f0..000000000
--- a/data/iokittools/IOKitTools-76.tar.gz
+++ /dev/null
Binary files differ
diff --git a/data/iokittools/kernel.diff b/data/iokittools/kernel.diff
new file mode 100644
index 000000000..8057f5bba
--- /dev/null
+++ b/data/iokittools/kernel.diff
@@ -0,0 +1,14 @@
+diff -ur IOKitTools-108/ioclasscount.tproj/ioclasscount.c IOKitTools-108+iPhone/ioclasscount.tproj/ioclasscount.c
+--- IOKitTools-108/ioclasscount.tproj/ioclasscount.c 2017-07-15 15:12:07.000000000 -1000
++++ IOKitTools-108+iPhone/ioclasscount.tproj/ioclasscount.c 2018-09-02 12:57:00.000000000 -1000
+@@ -33,8 +33,8 @@
+ #include <mach/mach_vm.h>
+ #include <mach/vm_statistics.h>
+ #include <CoreFoundation/CoreFoundation.h>
+-#include <Kernel/IOKit/IOKitDebug.h>
+-#include <Kernel/libkern/OSKextLibPrivate.h>
++#include <IOKit/IOKitDebug.h>
++#include <libkern/OSKextLibPrivate.h>
+ #include <IOKit/IOKitLib.h>
+ #include <IOKit/IOKitKeys.h>
+ #include <CoreSymbolication/CoreSymbolication.h>
diff --git a/data/iokittools/make.sh b/data/iokittools/make.sh
index 4c10ed0f8..04807cd30 100644
--- a/data/iokittools/make.sh
+++ b/data/iokittools/make.sh
@@ -6,3 +6,5 @@ for tproj in *.tproj; do
${PKG_TARG}-gcc -lcurses -o "${tproj}" "${tproj}.tproj"/*.c -framework CoreFoundation -framework IOKit -save-temps
pkg: cp -a "${tproj}" /usr/sbin
done
+# In firmware-sbin
+pkg: rm /usr/sbin/ioreg