File dia-gcc4.patch of Package dia
--- objects/custom/shape_info.h
+++ objects/custom/shape_info.h
@@ -166,7 +166,6 @@
void shape_info_realise(ShapeInfo* info);
void shape_info_print(ShapeInfo *info);
-void parse_path(ShapeInfo *info, const char *path_str, DiaSvgGraphicStyle *s);
/*MC 11/03 handy g_new0 variant for struct with variable size */
#define g_new0_ext(struct_type, ext_size) \
--- plug-ins/python/pydia-object.h
+++ plug-ins/python/pydia-object.h
@@ -23,6 +23,8 @@
#include <Python.h>
#include "object.h"
+#include_next "object.h"
+#include_next "lib/object.h"
typedef struct {
PyObject_HEAD