summaryrefslogtreecommitdiff
path: root/data/sudo/strip.diff
diff options
context:
space:
mode:
authorJay Freeman <saurik@saurik.com>2008-02-14 11:04:41 +0000
committerJay Freeman <saurik@saurik.com>2008-02-14 11:04:41 +0000
commita558f02107242688bdfcac53e0b8f70adff91c89 (patch)
tree18a215fbae1f4de344719498cb98ff4cbd3d3eea /data/sudo/strip.diff
parent62882fc0471895bc1a47c13e22daf35dcaafecd0 (diff)
Worked on a few more critical packages.
git-svn-id: http://svn.telesphoreo.org/trunk@75 514c082c-b64e-11dc-b46d-3d985efe055d
Diffstat (limited to 'data/sudo/strip.diff')
-rw-r--r--data/sudo/strip.diff26
1 files changed, 26 insertions, 0 deletions
diff --git a/data/sudo/strip.diff b/data/sudo/strip.diff
new file mode 100644
index 000000000..f0d9215e4
--- /dev/null
+++ b/data/sudo/strip.diff
@@ -0,0 +1,26 @@
+diff -ru sudo-1.6.9p12/install-sh sudo-1.6.9p12+iPhone/install-sh
+--- sudo-1.6.9p12/install-sh 2002-01-10 18:00:58.000000000 +0000
++++ sudo-1.6.9p12+iPhone/install-sh 2008-02-13 20:44:20.000000000 +0000
+@@ -15,7 +15,7 @@
+ MKDIR=mkdir
+ MV=mv
+ RM=rm
+-STRIP=strip
++STRIP=arm-apple-darwin-strip
+ WHOAMI="echo root"
+
+ ## Some systems don't support -x, so we have to use -f.
+@@ -35,13 +35,6 @@
+ fi
+ done
+
+-for d in /usr/ccs/bin /usr/bin /bin; do
+- if [ -f $d/strip ]; then
+- STRIP=${d}/strip
+- break
+- fi
+-done
+-
+ ## Defaults.
+ CHOWNIT=false
+ CHGROUPIT=false