aboutsummaryrefslogtreecommitdiff
path: root/x11/electricsheep/files/patch-electricsheep.c
diff options
context:
space:
mode:
Diffstat (limited to 'x11/electricsheep/files/patch-electricsheep.c')
-rw-r--r--x11/electricsheep/files/patch-electricsheep.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/x11/electricsheep/files/patch-electricsheep.c b/x11/electricsheep/files/patch-electricsheep.c
new file mode 100644
index 000000000000..d4d1bdbc16ed
--- /dev/null
+++ b/x11/electricsheep/files/patch-electricsheep.c
@@ -0,0 +1,19 @@
+--- electricsheep.c.orig Thu Jun 16 00:19:15 2005
++++ electricsheep.c Thu Jun 16 00:19:59 2005
+@@ -1201,6 +1201,7 @@
+ time_t server_anims_timestamp = -1;
+
+ void update_server_anims() {
++ XML_Parser parser;
+ char pbuf[MAXBUF];
+ FILE *lf;
+ int done;
+@@ -1216,7 +1217,7 @@
+ server_anims_timestamp = now;
+ }
+
+- XML_Parser parser = XML_ParserCreate(NULL);
++ parser = XML_ParserCreate(NULL);
+ XML_SetElementHandler(parser, list_start_element, get_end_element);
+ XML_SetCharacterDataHandler(parser, character_handler);
+ in_message = 0;