summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2024-12-12 20:03:22 -0600
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2024-12-12 20:03:22 -0600
commita0e993956ae54758be6d8586bd831ae879612cec (patch)
treeaa6ea8beac01953cd23eca4c053e155ad6fdc125
parent785213ed2a7d5a66061bddaeb7a1ad4e86c3ed9a (diff)
downloadpackages-a0e993956ae54758be6d8586bd831ae879612cec.tar.gz
packages-a0e993956ae54758be6d8586bd831ae879612cec.tar.bz2
packages-a0e993956ae54758be6d8586bd831ae879612cec.tar.xz
packages-a0e993956ae54758be6d8586bd831ae879612cec.zip
user/librsvg: Build with -fno-tree-vrp
This flag causes a miscompilation on PPC32 resulting in downstream consumers of librsvg being hit with NaNs drawing arcs. Ref: #1307
-rw-r--r--user/librsvg/APKBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/user/librsvg/APKBUILD b/user/librsvg/APKBUILD
index 3fa19b15b..0058e06a6 100644
--- a/user/librsvg/APKBUILD
+++ b/user/librsvg/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer:
pkgname=librsvg
pkgver=2.40.21
-pkgrel=0
+pkgrel=1
pkgdesc="SAX-based renderer for SVG files into a GdkPixbuf"
url="https://wiki.gnome.org/action/show/Projects/LibRsvg"
arch="all"
@@ -19,6 +19,7 @@ source="https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgve
# - CVE-2019-20446
build() {
+ export CFLAGS="$CFLAGS -fno-tree-vrp"
./configure \
--build=$CBUILD \
--host=$CHOST \