diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2018-10-11 10:50:02 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2018-10-11 10:50:02 +0200 |
commit | d3703bea4f193f2e340fe9eb55a6d6d54c9c00b0 (patch) | |
tree | 891c19beef4da0c7cf8ad41309b7bd8b1975ba44 /extra/nasm/PKGBUILD | |
parent | 6474c0bb293fad4ac5acd2b592e73377884b0ba6 (diff) | |
download | packages-d3703bea4f193f2e340fe9eb55a6d6d54c9c00b0.tar.xz |
extra/nasm: fix for pure function attributes (FS#60380) and i486 fix for no TTF fonts for docu
Diffstat (limited to 'extra/nasm/PKGBUILD')
-rw-r--r-- | extra/nasm/PKGBUILD | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/extra/nasm/PKGBUILD b/extra/nasm/PKGBUILD new file mode 100644 index 00000000..220091bd --- /dev/null +++ b/extra/nasm/PKGBUILD @@ -0,0 +1,13 @@ +# see FS#60380 +source+=('0001-Remove-invalid-pure_func-qualifiers.patch') +sha1sums+=('b853817a1dd5dc902b36ae80d11402d68e6d9a44') +prepare() { + cd $pkgname-$pkgver + patch -Np1 -i "$srcdir/0001-Remove-invalid-pure_func-qualifiers.patch" +} + +# i486-specific +if [ "${CARCH}" = "i486" ]; then + # remove ttf-liberation (X packages missing for installing the font) + makedepends=(${makedepends[@]//ttf-liberation/}) +fi |