diff options
author | Marinus Schraal <foser@gentoo.org> | 2003-02-15 15:20:49 +0000 |
---|---|---|
committer | Marinus Schraal <foser@gentoo.org> | 2003-02-15 15:20:49 +0000 |
commit | 309d49f6914c077de9a70a2000c6185454c70113 (patch) | |
tree | a6159ebabc845d8ffe0fc579e402a6dac44e9005 /net-firewall/firestarter/files | |
parent | soribada is no longer used (diff) | |
download | gentoo-2-309d49f6914c077de9a70a2000c6185454c70113.tar.gz gentoo-2-309d49f6914c077de9a70a2000c6185454c70113.tar.bz2 gentoo-2-309d49f6914c077de9a70a2000c6185454c70113.zip |
Added gcc2 compiling problems patch
Diffstat (limited to 'net-firewall/firestarter/files')
-rw-r--r-- | net-firewall/firestarter/files/firestarter-0.9.1-gcc2_fixes.patch | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/net-firewall/firestarter/files/firestarter-0.9.1-gcc2_fixes.patch b/net-firewall/firestarter/files/firestarter-0.9.1-gcc2_fixes.patch new file mode 100644 index 000000000000..38c6e5bde8a5 --- /dev/null +++ b/net-firewall/firestarter/files/firestarter-0.9.1-gcc2_fixes.patch @@ -0,0 +1,53 @@ +--- firestarter.c.orig 2003-02-10 15:21:45.000000000 -0800 ++++ firestarter.c 2003-02-10 15:20:25.000000000 -0800 +@@ -58,6 +58,7 @@ + stop_firewall (void) + { + gint retval; ++ gchar *error; + gchar *sbin; + gchar *command = NULL; + +@@ -86,7 +87,7 @@ + } else { + retval = WEXITSTATUS (retval); + +- gchar *error = g_strdup (_("Failed to stop the firewall\n\n")); ++ error = g_strdup (_("Failed to stop the firewall\n\n")); + if (!CONSOLE) + error = g_strconcat ("<span weight=\"bold\" size=\"larger\">", error, "</span>", NULL); + +@@ -112,6 +113,7 @@ + start_firewall (void) + { + gint retval; ++ gchar *error; + gchar *command = g_strjoin (NULL, "/bin/sh ", + FIRESTARTER_RULES_DIR "/firestarter/firewall.sh", + NULL); +@@ -126,7 +128,7 @@ + } else { + retval = WEXITSTATUS (retval); + +- gchar *error = g_strdup (_("Failed to start the firewall\n\n")); ++ error = g_strdup (_("Failed to start the firewall\n\n")); + if (!CONSOLE) + error = g_strconcat ("<span weight=\"bold\" size=\"larger\">", error, "</span>", NULL); + +@@ -165,6 +167,7 @@ + { + gint retval; + gchar *sbin; ++ gchar *error; + gchar *command; + + if (!CONSOLE) { +@@ -191,7 +194,7 @@ + } else { + retval = WEXITSTATUS (retval); + +- gchar *error = g_strdup (_("Failed to enter halted firewall mode\n\n")); ++ error = g_strdup (_("Failed to enter halted firewall mode\n\n")); + if (!CONSOLE) + error = g_strconcat ("<span weight=\"bold\" size=\"larger\">", error, "</span>", NULL); + |