[crux-commits] ports/opt (3.6): mupdf: fix build with gcc 10.x

crux at crux.nu crux at crux.nu
Fri Jul 31 13:41:47 UTC 2020


commit e236c5b63f5d601cf83d3f41dbbcc652fb8f0121
Author: Juergen Daubert <jue at jue.li>
Date:   Fri Jul 31 13:40:49 2020 +0000

    mupdf: fix build with gcc 10.x

diff --git a/mupdf/.signature b/mupdf/.signature
index fdf84e689..7a3e91330 100644
--- a/mupdf/.signature
+++ b/mupdf/.signature
@@ -1,5 +1,5 @@
 untrusted comment: verify with /etc/ports/opt.pub
-RWSE3ohX2g5d/ez7MgE3m20DbGIb0rU6gmrDoeZhUUq39fd1X+CsY1IUkLeW0oyi2fgCotc6RQgoH7Mz6ZX67Aj/KyNcaSc6dAQ=
-SHA256 (Pkgfile) = eb85726d8d2bde0a595f0bab99931efce6ba78fbb15a19e6159de1ae67e67413
+RWSE3ohX2g5d/RSoS0PBjwuu6cmgy1NLWjyTnW0Ex7qIY5WC5sHpRMAeKjstZ+B19+ggztmHKHAqMMXXpTecSHw4vLhhldNsTQI=
+SHA256 (Pkgfile) = a6c2387b83e02705aa3e046f22716487f4a040e9ee81a9eeaa7e313b6f018c85
 SHA256 (.footprint) = cd26ad6d9585d74cc013f7a459148a88521ba399aabcc95b2f0a9491b5688d76
 SHA256 (mupdf-1.17.0-source.tar.xz) = c935fb2593d9a28d9b56b59dad6e3b0716a6790f8a257a68fa7dcb4430bc6086
diff --git a/mupdf/Pkgfile b/mupdf/Pkgfile
index 8f387cd7c..0066f049a 100644
--- a/mupdf/Pkgfile
+++ b/mupdf/Pkgfile
@@ -16,7 +16,7 @@ build() {
     make install \
         prefix=$PKG/usr \
         mandir=$PKG/usr/share/man \
-        XCFLAGS="-fpic" \
+        XCFLAGS="-fpic -fcommon" \
         USE_SYSTEM_JBIG2DEC='no' \
         USE_SYSTEM_OPENJPEG='no' \
         USE_SYSTEM_GLUT='no'


More information about the crux-commits mailing list