diff options
author | Hiroki Sato <hrs@FreeBSD.org> | 2015-08-22 17:48:35 +0000 |
---|---|---|
committer | Hiroki Sato <hrs@FreeBSD.org> | 2015-08-22 17:48:35 +0000 |
commit | 27470e1676e69455acf06ae25ebd42ebd5bdecdb (patch) | |
tree | 445c3e315f03aa972de87391f921c655e4634f60 /print/ghostscript8/files/patch-base-gdevvglb.c | |
parent | Remove textproc/prosper. The latest version is included in (diff) |
- 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.
Notes
Notes:
svn path=/head/; revision=395047
Diffstat (limited to 'print/ghostscript8/files/patch-base-gdevvglb.c')
-rw-r--r-- | print/ghostscript8/files/patch-base-gdevvglb.c | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/print/ghostscript8/files/patch-base-gdevvglb.c b/print/ghostscript8/files/patch-base-gdevvglb.c deleted file mode 100644 index b0f061ff3a66..000000000000 --- a/print/ghostscript8/files/patch-base-gdevvglb.c +++ /dev/null @@ -1,32 +0,0 @@ ---- base/gdevvglb.c.orig 2007-09-25 22:31:24.000000000 +0900 -+++ base/gdevvglb.c 2010-08-01 23:08:53.000000000 +0900 -@@ -149,10 +149,13 @@ - } - - static gx_color_index --vgalib_map_rgb_color(gx_device * dev, gx_color_value red, -- gx_color_value green, gx_color_value blue) -+vgalib_map_rgb_color(gx_device * dev, const gx_color_value cv[]) - { -- return pc_4bit_map_rgb_color(dev, red, green, blue); -+ gx_color_value r = cv[0]; -+ gx_color_value g = cv[1]; -+ gx_color_value b = cv[2]; -+ -+ return pc_4bit_map_rgb_color(dev, cv); - } - - static int -@@ -368,12 +371,3 @@ - } - return 0; - } -- --#ifdef GS_DEVS_SHARED --extern void gs_lib_register_device(const gx_device *dev); --void --gs_shared_init(void) --{ -- gs_lib_register_device(&gs_vgalib_device); --} --#endif |