mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-11 02:50:24 +00: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
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= graphviz
|
||||
PORTVERSION= 2.14.1
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= graphics tk84
|
||||
MASTER_SITES= http://www.graphviz.org/pub/graphviz/ARCHIVE/ \
|
||||
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…
Reference in New Issue
Block a user