]> git.pld-linux.org Git - packages/graphviz.git/blobdiff - graphviz-ming.patch
- updated to 2.47.2 (the last with python2 bindings)
[packages/graphviz.git] / graphviz-ming.patch
index 1fc20177be9efc29544aedbf95b88c13f068b1ab..efc8949061573a4788d3cfc50d17447a2cc41113 100644 (file)
@@ -1,14 +1,5 @@
---- graphviz-2.30.0/plugin/ming/Makefile.am.orig       2013-01-14 04:11:21.000000000 +0100
-+++ graphviz-2.30.0/plugin/ming/Makefile.am    2013-01-20 17:23:58.735895674 +0100
-@@ -8,7 +8,7 @@
-       -I$(top_srcdir)/lib/common \
-       -I$(top_srcdir)/lib/pathplan \
-       -I$(top_srcdir)/lib/gvc \
--      -I$(top_srcdir)/lib/graph \
-+      -I$(top_srcdir)/lib/cgraph \
-       -I$(top_srcdir)/lib/cdt \
-       $(MING_CFLAGS)
+--- graphviz-2.38.0/plugin/ming/Makefile.am.orig       2014-04-13 22:40:25.000000000 +0200
++++ graphviz-2.38.0/plugin/ming/Makefile.am    2014-04-21 09:11:51.695995652 +0200
 @@ -28,7 +28,7 @@
  
  libgvplugin_ming_la_LDFLAGS = -version-info @GVPLUGIN_VERSION_INFO@
@@ -18,3 +9,31 @@
  
  if WITH_WIN32
  libgvplugin_ming_la_LDFLAGS += -no-undefined
+--- graphviz-2.47.2/plugin/ming/gvrender_ming.c.orig   2021-05-27 02:56:39.000000000 +0200
++++ graphviz-2.47.2/plugin/ming/gvrender_ming.c        2022-03-24 16:55:38.941518316 +0100
+@@ -13,6 +13,8 @@
+ #include <stdlib.h>
+ #include <string.h>
+ #include <gvc/gvplugin_render.h>
++#include "gvcint.h"
++#include "gvcproc.h"
+ /* from config.h - would conflict with ming.h definitions */
+ #undef PACKAGE
+@@ -83,7 +85,6 @@ static void ming_end_page(GVJ_t * job)
+     SWFMovie_nextFrame(movie);
+ }
+-extern char* gvconfig_libdir(void);
+ #define FONT "Bitstream_Vera_Serif.fdb"
+ static void ming_textspan(GVJ_t * job, pointf p, textspan_t * span)
+@@ -100,7 +101,7 @@ static void ming_textspan(GVJ_t * job, p
+ /* FIXME - hardcoded to a Times-like font */
+     if (font == NULL) {
+-      libdir=gvconfig_libdir();
++      libdir=gvconfig_libdir(job->gvc);
+       font_file_name = malloc(strlen(libdir)+strlen(FONT)+2);
+       strcpy(font_file_name, libdir);
+       strcat(font_file_name, "/");
This page took 0.033739 seconds and 4 git commands to generate.