commit: 4a46119e0149990be553c6ee7723cdeb16410c7f Author: Florian Schmaus <flow <AT> gentoo <DOT> org> AuthorDate: Thu Dec 29 20:48:22 2022 +0000 Commit: Florian Schmaus <flow <AT> gentoo <DOT> org> CommitDate: Thu Dec 29 20:48:42 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a46119e
app-text/mupdf: rename drm macro to GENTOO_MUPDF_DRM Signed-off-by: Florian Schmaus <flow <AT> gentoo.org> app-text/mupdf/files/mupdf-1.21.1-no-drm.patch | 2 +- app-text/mupdf/mupdf-1.21.1.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app-text/mupdf/files/mupdf-1.21.1-no-drm.patch b/app-text/mupdf/files/mupdf-1.21.1-no-drm.patch index 356ee4b852dd..9f2b9d692f4e 100644 --- a/app-text/mupdf/files/mupdf-1.21.1-no-drm.patch +++ b/app-text/mupdf/files/mupdf-1.21.1-no-drm.patch @@ -6,7 +6,7 @@ index f764242..83888dc 100644 epub_chapter **tailp; int i; -+ #ifdef drm ++ #ifdef GENTOO_MUPDF_DRM if (fz_has_archive_entry(ctx, zip, "META-INF/rights.xml")) fz_throw(ctx, FZ_ERROR_GENERIC, "EPUB is locked by DRM"); if (fz_has_archive_entry(ctx, zip, "META-INF/encryption.xml")) diff --git a/app-text/mupdf/mupdf-1.21.1.ebuild b/app-text/mupdf/mupdf-1.21.1.ebuild index 5b4674fadf25..ac2702bc5da4 100644 --- a/app-text/mupdf/mupdf-1.21.1.ebuild +++ b/app-text/mupdf/mupdf-1.21.1.ebuild @@ -60,7 +60,7 @@ src_prepare() { use hppa && append-cflags -ffunction-sections - use drm && append-cflags -Ddrm + use drm && append-cflags -DGENTOO_MUPDF_DRM append-cflags "-DFZ_ENABLE_JS=$(usex javascript 1 0)"