From 6db5befdcbf114197861fe81d5b29abb3266104a Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Mon, 29 Nov 2021 15:22:35 +0100 Subject: extra/slim: fix for FS#72873 (compilation with newer gcc) --- extra/slim/PKGBUILD | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 extra/slim/PKGBUILD (limited to 'extra/slim/PKGBUILD') diff --git a/extra/slim/PKGBUILD b/extra/slim/PKGBUILD new file mode 100644 index 00000000..3c192ffd --- /dev/null +++ b/extra/slim/PKGBUILD @@ -0,0 +1,13 @@ +# temporary workaround for FS#72873 +source+=('slim-1.3.6-wingc-dead-code.patch') +sha256sums+=('360cea8abbd2233e878319fb1e8f9acb3537a961cbd876f4098fe95bd88ec13b') + +eval "$( + { + declare -f prepare || \ + printf 'prepare() {\n}\n' + } \ + | sed ' + $i patch -Np1 -i ../slim-1.3.6-wingc-dead-code.patch + ' +)" -- cgit v1.2.3-70-g09d2