summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--x11-toolkits/pango/files/patch-examples_renderdemo.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/x11-toolkits/pango/files/patch-examples_renderdemo.c b/x11-toolkits/pango/files/patch-examples_renderdemo.c
new file mode 100644
index 000000000..e1b70cb3c
--- /dev/null
+++ b/x11-toolkits/pango/files/patch-examples_renderdemo.c
@@ -0,0 +1,16 @@
+--- examples/renderdemo.c.orig Mon Jul 19 20:53:12 2004
++++ examples/renderdemo.c Mon Jul 19 20:53:28 2004
+@@ -306,11 +306,12 @@
+ gpointer data)
+ {
+ static GEnumClass *class = NULL;
++ GEnumValue *value;
+
+ if (!class)
+ class = g_type_class_ref (PANGO_TYPE_ELLIPSIZE_MODE);
+
+- GEnumValue *value = g_enum_get_value_by_nick (class, arg);
++ value = g_enum_get_value_by_nick (class, arg);
+ if (!value)
+ fail ("--ellipsize option must be one of none/start/middle/end");
+