summaryrefslogtreecommitdiff
path: root/data/uikittools/telesphoreo.diff
diff options
context:
space:
mode:
Diffstat (limited to 'data/uikittools/telesphoreo.diff')
-rw-r--r--data/uikittools/telesphoreo.diff27
1 files changed, 18 insertions, 9 deletions
diff --git a/data/uikittools/telesphoreo.diff b/data/uikittools/telesphoreo.diff
index 965ebe42b..73beb99dc 100644
--- a/data/uikittools/telesphoreo.diff
+++ b/data/uikittools/telesphoreo.diff
@@ -1,14 +1,15 @@
-diff -ur uikittools/makefile uikittools+telesphoreo/makefile
---- uikittools/makefile 2018-07-31 14:40:26.000000000 -1000
-+++ uikittools+telesphoreo/makefile 2018-07-31 15:23:32.000000000 -1000
+diff --git a/makefile b/makefile
+index 6764f73..055bbf8 100644
+--- a/makefile
++++ b/makefile
@@ -1,4 +1,6 @@
- uikittools = uiduid uicache uiopen gssc sbdidlaunch sbreload cfversion iomfsetgamma ldrestart
+ uikittools = uiduid uicache uiopen gssc sbdidlaunch sbreload cfversion iomfsetgamma ldrestart ecidecid
+CC = $(PKG_TARG)-gcc
+CPP = $(PKG_TARG)-g++
all: $(uikittools)
-@@ -9,11 +11,9 @@
+@@ -9,11 +11,9 @@ clean:
private := -F/System/Library/PrivateFrameworks
@@ -21,16 +22,24 @@ diff -ur uikittools/makefile uikittools+telesphoreo/makefile
ldrestart := -std=c++11
gssc := -lobjc
-@@ -28,27 +28,23 @@
+@@ -28,31 +28,29 @@ uicache: csstore.cpp
extrainst_: csstore.cpp
+ %: %.m
+- cycc -- -o $@ -x c $^ $(flags) $($@)
++ $(CC) -o $@ $^ $(flags) $($@)
+- ldid -S$(wildcard $@.xml) $@
++ @if [ ! -z "$(wildcard $@.xml)" ]; then \
++ ldid -S$(wildcard $@.xml) $@; \
++ fi
+
%: %.mm
- cycc -- -o $@ $^ $(flags) $($@)
- ldid -S$(wildcard $@.xml) $@
+ $(CPP) -o $@ $^ $(flags) $($@)
+ @if [ ! -z "$(wildcard $@.xml)" ]; then \
+ ldid -S$(wildcard $@.xml) $@; \
-+ fi
++ fi
%: %.cpp
- cycc -- -o $@ $^ $(flags) $($@)
@@ -38,7 +47,7 @@ diff -ur uikittools/makefile uikittools+telesphoreo/makefile
+ $(CPP) -o $@ $^ $(flags) $($@)
+ @if [ ! -z "$(wildcard $@.xml)" ]; then \
+ ldid -S$(wildcard $@.xml) $@; \
-+ fi
++ fi
%: %.c
- cycc -- -o $@ -x c $^ $(flags) $($@)
@@ -60,7 +69,7 @@ diff -ur uikittools/makefile uikittools+telesphoreo/makefile
+ $(CC) -o $@ -x c $^ $(flags) $($@)
+ @if [ ! -z "$(wildcard $@.xml)" ]; then \
+ ldid -S$(wildcard $@.xml) $@; \
-+ fi
++ fi
+
+install: all
+ mkdir -p $(DESTDIR)/usr/bin