Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 547264 Details for
Bug 666418
media-libs/fontconfig-2.13.1 incompletely ported to EAPI="7" and with upstream regression, resulting in sandbox violations for fonts cache
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
fontconfig.patch (text/plain), 2.90 KB, created by
Arfrever Frehtes Taifersar Arahesis
on 2018-09-18 23:45:31 UTC
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Arfrever Frehtes Taifersar Arahesis
Created:
2018-09-18 23:45:31 UTC
Size:
2.90 KB
patch
obsolete
>From 3e987667ed8ab20076c9b5133bd60c37b33938c8 Mon Sep 17 00:00:00 2001 >From: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org> >Date: Wed, 19 Sep 2018 01:41:07 +0200 >Subject: [PATCH] media-libs/fontconfig: Revert part of upstream commit which > causes sandbox violations for fonts cache. > >Closes: https://bugs.gentoo.org/666418 >--- > ...ert_delete_.uuid_for_empty_directory.patch | 43 +++++++++++++++++++ > ...-r1.ebuild => fontconfig-2.13.1-r2.ebuild} | 1 + > 2 files changed, 44 insertions(+) > create mode 100644 media-libs/fontconfig/files/fontconfig-2.13.1-revert_delete_.uuid_for_empty_directory.patch > rename media-libs/fontconfig/{fontconfig-2.13.1-r1.ebuild => fontconfig-2.13.1-r2.ebuild} (98%) > >diff --git a/media-libs/fontconfig/files/fontconfig-2.13.1-revert_delete_.uuid_for_empty_directory.patch b/media-libs/fontconfig/files/fontconfig-2.13.1-revert_delete_.uuid_for_empty_directory.patch >new file mode 100644 >index 00000000000..cd66082eedd >--- /dev/null >+++ b/media-libs/fontconfig/files/fontconfig-2.13.1-revert_delete_.uuid_for_empty_directory.patch >@@ -0,0 +1,43 @@ >+https://gitlab.freedesktop.org/fontconfig/fontconfig/issues/107 >+ >+Reversion of part of: >+https://gitlab.freedesktop.org/fontconfig/fontconfig/commit/f5dd8512bdf9fd8e01c30ae36f593758b29385cf >+ >+--- /src/fcdir.c >++++ /src/fcdir.c >+@@ -421,13 +421,6 @@ >+ /* Not using existing cache file, construct new cache */ >+ if (!cache) >+ cache = FcDirCacheScan (dir, config); >+- if (cache) >+- { >+- FcFontSet *fs = FcCacheSet (cache); >+- >+- if (cache->dirs_count == 0 && (!fs || fs->nfont == 0)) >+- FcDirCacheDeleteUUID (dir, config); >+- } >+ >+ return cache; >+ } >+--- /test/run-test.sh >++++ /test/run-test.sh >+@@ -239,19 +239,4 @@ >+ >+ rm -rf $MyPWD/sysroot >+ >+-dotest "deleting .uuid file on empty dir" >+-prep >+-cp $FONT1 $FONT2 $FONTDIR >+-$FCCACHE $FONTDIR >+-sleep 1 >+-rm -f $FONTDIR/*pcf >+-$FCCACHE $FONTDIR >+-rmdir $FONTDIR > /dev/null 2>&1 >+-if [ $? != 0 ]; then >+- echo "*** Test failed: $TEST" >+- echo "$FONTDIR isn't empty" >+- ls -al $FONTDIR >+- exit 1 >+-fi >+- >+ rm -rf $FONTDIR $CACHEFILE $CACHEDIR $FONTCONFIG_FILE out >diff --git a/media-libs/fontconfig/fontconfig-2.13.1-r1.ebuild b/media-libs/fontconfig/fontconfig-2.13.1-r2.ebuild >similarity index 98% >rename from media-libs/fontconfig/fontconfig-2.13.1-r1.ebuild >rename to media-libs/fontconfig/fontconfig-2.13.1-r2.ebuild >index fdc25117f94..0ba7f651fab 100644 >--- a/media-libs/fontconfig/fontconfig-2.13.1-r1.ebuild >+++ b/media-libs/fontconfig/fontconfig-2.13.1-r2.ebuild >@@ -36,6 +36,7 @@ PDEPEND="!x86-winnt? ( app-eselect/eselect-fontconfig ) > PATCHES=( > "${FILESDIR}"/${PN}-2.10.2-docbook.patch # 310157 > "${FILESDIR}"/${PN}-2.12.3-latin-update.patch # 130466 + make liberation default >+ "${FILESDIR}"/${P}-revert_delete_.uuid_for_empty_directory.patch # 666418 > > # Patches from upstream (can usually be removed with next version bump) > "${FILESDIR}"/${P}-static_build.patch >-- >2.19.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 666418
:
547090
|
547138
|
547262
| 547264