~ubuntu-branches/ubuntu/precise/graphviz/precise-security

« back to all changes in this revision

Viewing changes to plugin/ming/gvplugin_ming.c

  • Committer: Bazaar Package Importer
  • Author(s): David Claughton
  • Date: 2010-03-24 22:45:18 UTC
  • mfrom: (1.2.7 upstream) (6.1.7 sid)
  • Revision ID: james.westby@ubuntu.com-20100324224518-do441tthbqjaqjzd
Tags: 2.26.3-4
Add patch to fix segfault in circo. Backported from upstream snapshot
release.  Thanks to Francis Russell for his work on this.
(Closes: #575255)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* $Id: gvplugin_ming.c,v 1.2 2007/08/29 19:44:01 ellson Exp $ $Revision: 1.2 $ */
 
1
/* $Id: gvplugin_ming.c,v 1.5 2009/06/03 01:10:57 ellson Exp $ $Revision: 1.5 $ */
2
2
/* vim:set shiftwidth=4 ts=8: */
3
3
 
4
4
/**********************************************************
16
16
 
17
17
#include "gvplugin.h"
18
18
 
19
 
extern gvplugin_installed_t gvrender_ming_types;
20
 
extern gvplugin_installed_t gvdevice_ming_types;
 
19
extern gvplugin_installed_t gvrender_ming_types[];
 
20
extern gvplugin_installed_t gvdevice_ming_types[];
21
21
 
22
22
static gvplugin_api_t apis[] = {
23
 
    {API_device, &gvdevice_ming_types},
24
 
    {API_render, &gvrender_ming_types},
 
23
    {API_device, gvdevice_ming_types},
 
24
    {API_render, gvrender_ming_types},
25
25
    {(api_t)0, 0},
26
26
};
27
27