summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Loeser <halcy0n@gentoo.org>2005-04-17 04:26:16 +0000
committerMark Loeser <halcy0n@gentoo.org>2005-04-17 04:26:16 +0000
commit611339c0968d54f8649c4c8764d67c07a4d70c5b (patch)
treea2d89618e8ee6ecaab1503699a3708aab9fd81fd /app-office/dia/files
parentgcc4 version bump (diff)
downloadgentoo-2-611339c0968d54f8649c4c8764d67c07a4d70c5b.tar.gz
gentoo-2-611339c0968d54f8649c4c8764d67c07a4d70c5b.tar.bz2
gentoo-2-611339c0968d54f8649c4c8764d67c07a4d70c5b.zip
gcc4 fix, okay'ed by Obz
(Portage version: 2.0.51.19)
Diffstat (limited to 'app-office/dia/files')
-rw-r--r--app-office/dia/files/dia-0.94-gcc4.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/app-office/dia/files/dia-0.94-gcc4.patch b/app-office/dia/files/dia-0.94-gcc4.patch
new file mode 100644
index 000000000000..134c429435c0
--- /dev/null
+++ b/app-office/dia/files/dia-0.94-gcc4.patch
@@ -0,0 +1,23 @@
+diff -ur dia-0.94-orig/objects/custom/shape_info.h dia-0.94/objects/custom/shape_info.h
+--- dia-0.94-orig/objects/custom/shape_info.h 2005-04-15 18:45:52.000000000 -0400
++++ dia-0.94/objects/custom/shape_info.h 2005-04-15 18:36:55.000000000 -0400
+@@ -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) \
+diff -ur dia-0.94-orig/plug-ins/python/pydia-object.h dia-0.94/plug-ins/python/pydia-object.h
+--- dia-0.94-orig/plug-ins/python/pydia-object.h 2005-04-15 18:45:13.000000000 -0400
++++ dia-0.94/plug-ins/python/pydia-object.h 2005-04-15 18:46:31.000000000 -0400
+@@ -22,7 +22,7 @@
+
+ #include <Python.h>
+
+-#include "object.h"
++#include "lib/object.h"
+
+ typedef struct {
+ PyObject_HEAD