mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
- bugfix for freetype
Submitted by: Jung-uk Kim Obtained from: graphviz-CVS
This commit is contained in:
parent
3c8f6d61ef
commit
2df08f54dc
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=199691
2 changed files with 21 additions and 0 deletions
|
@ -7,6 +7,7 @@
|
||||||
|
|
||||||
PORTNAME= graphviz
|
PORTNAME= graphviz
|
||||||
PORTVERSION= 2.14.1
|
PORTVERSION= 2.14.1
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= graphics tk84
|
CATEGORIES= graphics tk84
|
||||||
MASTER_SITES= http://www.graphviz.org/pub/graphviz/ARCHIVE/ \
|
MASTER_SITES= http://www.graphviz.org/pub/graphviz/ARCHIVE/ \
|
||||||
http://mirror.inerd.com/FreeBSD/distfiles/${PORTNAME}/
|
http://mirror.inerd.com/FreeBSD/distfiles/${PORTNAME}/
|
||||||
|
|
20
graphics/graphviz/files/patch-gvtextlayout_gd.c
Normal file
20
graphics/graphviz/files/patch-gvtextlayout_gd.c
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
--- plugin/gd/gvtextlayout_gd.c.orig 2007-07-20 14:38:03.000000000 -0400
|
||||||
|
+++ plugin/gd/gvtextlayout_gd.c 2007-09-12 13:20:12.000000000 -0400
|
||||||
|
@@ -26,7 +26,7 @@
|
||||||
|
#ifdef HAVE_LIBGD
|
||||||
|
#include "gd.h"
|
||||||
|
|
||||||
|
-#if defined(HAVE_LIBGD) && defined(HAVE_LIBFREETYPE) && defined(HAVE_GD_FREETYPE)
|
||||||
|
+#if defined(HAVE_LIBGD) && defined(HAVE_GD_FREETYPE)
|
||||||
|
|
||||||
|
/* fontsize at which text is omitted entirely */
|
||||||
|
#define FONTSIZE_MUCH_TOO_SMALL 0.15
|
||||||
|
@@ -172,7 +172,7 @@
|
||||||
|
#endif
|
||||||
|
|
||||||
|
gvplugin_installed_t gvtextlayout_gd_types[] = {
|
||||||
|
-#if defined(HAVE_LIBGD) && defined(HAVE_LIBFREETYPE) && defined(HAVE_GD_FREETYPE)
|
||||||
|
+#if defined(HAVE_LIBGD) && defined(HAVE_GD_FREETYPE)
|
||||||
|
{0, "textlayout", 2, &gd_textlayout_engine, NULL},
|
||||||
|
#endif
|
||||||
|
{0, NULL, 0, NULL, NULL}
|
Loading…
Add table
Reference in a new issue