From 27470e1676e69455acf06ae25ebd42ebd5bdecdb Mon Sep 17 00:00:00 2001 From: Hiroki Sato Date: Sat, 22 Aug 2015 17:48:35 +0000 Subject: - Split ghostscript into X11-independent and -dependent parts: * print/ghostscript{7,8,9,9-agpl}-base Installs Ghostscript binary, libgs, and related files. These ports do not depend on X11 libraries (i.e. x11* devices are not available). USES=ghostscript will set dependency on one of them depending on GHOSTSCRIPT_DEFAULT. The default device is set to "display" or "bbox". * print/ghostscript{7,8,9,9-agpl}-x11 Installs a shared library which provides X11 support to the installed Ghostscript binaries. x11* devices will be enabled when the library is available. This depends on *-base (RUN_DEPENDS). USES=ghostscript:x11 will set dependency on one of them. - Fix integer overflow reported as CVE-2015-3228. - Update Uses/ghostscript.mk: * Add x11 keyword. nox11 keyword is now obsolete. * Use packagename in *_DEPENDS line to prevent relationship between -base and -x11 packages from being broken. - Fix x11/nox11 keyword and bump PORTREVISION in ports using USES=ghostscript to update dependency of pre-compiled packages. --- print/ghostscript7/files/patch-src:gdevpdff.h | 37 --------------------------- 1 file changed, 37 deletions(-) delete mode 100644 print/ghostscript7/files/patch-src:gdevpdff.h (limited to 'print/ghostscript7/files/patch-src:gdevpdff.h') diff --git a/print/ghostscript7/files/patch-src:gdevpdff.h b/print/ghostscript7/files/patch-src:gdevpdff.h deleted file mode 100644 index f64a4e02f6b8..000000000000 --- a/print/ghostscript7/files/patch-src:gdevpdff.h +++ /dev/null @@ -1,37 +0,0 @@ ---- src/gdevpdff.h.org 2003-01-17 09:49:02.000000000 +0900 -+++ src/gdevpdff.h 2003-09-18 23:42:38.000000000 +0900 -@@ -117,6 +117,12 @@ - FONT_SUBSET_NO - } pdf_font_do_subset_t; - -+typedef enum { -+ FONT_EMBED_STANDARD, /* 14 standard fonts */ -+ FONT_EMBED_NO, -+ FONT_EMBED_YES -+} pdf_font_embed_t; -+ - struct pdf_font_descriptor_s { - pdf_resource_common(pdf_font_descriptor_t); - pdf_font_name_t FontName; -@@ -198,6 +204,7 @@ - gs_font *font; /* non-0 iff font will notify us; */ - /* should be a weak pointer */ - int index; /* in pdf_standard_fonts, -1 if not base 14 */ -+ pdf_font_embed_t embed; /* status of pdf_font_embed_status() */ - gs_matrix orig_matrix; /* FontMatrix of unscaled font for embedding */ - bool is_MM_instance; /* for Type 1/2 fonts, true iff the font */ - /* is a Multiple Master instance */ -@@ -320,12 +327,6 @@ - - /* ---------------- Exported by gdevpdff.c ---------------- */ - --typedef enum { -- FONT_EMBED_STANDARD, /* 14 standard fonts */ -- FONT_EMBED_NO, -- FONT_EMBED_YES --} pdf_font_embed_t; -- - typedef struct pdf_standard_font_s { - const char *fname; - gs_encoding_index_t base_encoding; - -- cgit v1.2.3