mirror of
https://github.com/darlinghq/cctools-port.git
synced 2024-11-30 07:30:31 +00:00
28 lines
527 B
Bash
Executable File
28 lines
527 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
BASE_VERSION=236.3
|
|
NEW_VERSION=241.9
|
|
|
|
set -e
|
|
|
|
CDIR=`pwd`
|
|
TMPDIR=`mktemp -d`
|
|
|
|
pushd $TMPDIR
|
|
|
|
wget http://www.opensource.apple.com/tarballs/ld64/ld64-$BASE_VERSION.tar.gz
|
|
wget http://www.opensource.apple.com/tarballs/ld64/ld64-$NEW_VERSION.tar.gz
|
|
|
|
tar xzf ld64-$BASE_VERSION* &>/dev/null
|
|
tar xzf ld64-$NEW_VERSION* &>/dev/null
|
|
|
|
pushd ld64-$NEW_VERSION*
|
|
|
|
echo "creating patch..."
|
|
diff -Naur ../ld64-$BASE_VERSION . > "$CDIR/ld64-${BASE_VERSION}-${NEW_VERSION}.patch" || true
|
|
echo "done"
|
|
|
|
popd
|
|
|
|
rm -rf $TMPDIR
|