From: Thomas Glanzmann Date: Sun, 11 Dec 2022 09:40:52 +0000 (+0100) Subject: add build script for libunwind X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/m1-debian/commitdiff_plain/3d4eab785cfbf4dcc4f716247cd861ee4b1e59e8?ds=inline;hp=f874ddc976f7d7ba2dd66cda02a75a537f2bcf39 add build script for libunwind --- diff --git a/libunwind.sh b/libunwind.sh new file mode 100644 index 0000000..bb95a64 --- /dev/null +++ b/libunwind.sh @@ -0,0 +1,27 @@ +#!/usr/bin/env bash + +set -o errexit +set -o nounset +set -o pipefail +set -o xtrace + +cd "$(dirname "$0")" + +unset LC_CTYPE +unset LANG + +main() { + mkdir -p build + cd build + dpkg -s devscripts >/dev/null 2>&1 || sudo apt-get install devscripts + rm -rf libunwind-1.6.2/ + apt-get source libunwind + cd libunwind-1.6.2/ + EMAIL=thomas@glanzmann.de dch 'Variable page size patch applied' + curl -sL https://tg.st/u/0001-libunwind-1.6.2-dynamic-page-size.patch > debian/patches/0001-libunwind-1.6.2-dynamic-page-size.patch + echo '0001-libunwind-1.6.2-dynamic-page-size.patch' >> debian/patches/series + sudo apt-get build-dep . + dpkg-buildpackage -uc -us -a arm64 +} + +main "$@"