diff --git a/PKGBUILD b/PKGBUILD index 4d39c2a..81f512a 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -24,7 +24,9 @@ source=("http://www.freedesktop.org/software/$pkgname/$pkgname-$pkgver.tar.xz" '0001-use-x-machine-unix-prefix-for-the-container-bus-on-dbus1.patch' '0001-unit-use-weaker-dependencies-between-mount-and-devic.patch' '0001-core-rework-device-state-logic.patch' - '0001-core-don-t-change-removed-devices-to-state-tentative.patch') + '0001-core-don-t-change-removed-devices-to-state-tentative.patch' + 'sd-daemon-replace-VLA-with-alloca-to-make-llvm-happy.patch::http://cgit.freedesktop.org/systemd/systemd/patch/?id=d4a144fa' + 'sd-daemon-simplify-sd_pid_notify_with_fds.patch::http://cgit.freedesktop.org/systemd/systemd/patch/?id=64144440') md5sums=('e0d6c9a4b4f69f66932d2230298c9a34' '90ea67a7bb237502094914622a39e281' '58af51bd4c0464f195b3433b4e17cf6c' @@ -37,7 +39,9 @@ md5sums=('e0d6c9a4b4f69f66932d2230298c9a34' '3a0fc672b34ced18ca1364edf8644165' 'cd2719e8e93ad662c00bf9f195fdce66' '12e01f00c91e54680098a799517698f2' - 'd0aa4e5ec598063eab2e79fb95bceece') + 'd0aa4e5ec598063eab2e79fb95bceece' + '032d7573458fa8b506cc7335e10f99f3' + '8e71b4ef97f372d0548babd8f4bbfdd5') prepare() { cd "$pkgname-$pkgver" @@ -51,6 +55,9 @@ prepare() { patch -Np1 <../0001-unit-use-weaker-dependencies-between-mount-and-devic.patch patch -Np1 <../0001-core-rework-device-state-logic.patch patch -Np1 <../0001-core-don-t-change-removed-devices-to-state-tentative.patch + + patch -Np1 < ${srcdir}/sd-daemon-replace-VLA-with-alloca-to-make-llvm-happy.patch + patch -Np1 < ${srcdir}/sd-daemon-simplify-sd_pid_notify_with_fds.patch } build() {