summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeonardo Boshell <leonardop@gentoo.org>2003-10-04 17:10:36 +0000
committerLeonardo Boshell <leonardop@gentoo.org>2003-10-04 17:10:36 +0000
commit4470e4246b15a8fcbfc923d290f4243be0e1fa76 (patch)
tree8448e42355216b2cf77b416b9daad9aa10898874 /net-www/epiphany/files
parentversion bump (diff)
downloadgentoo-2-4470e4246b15a8fcbfc923d290f4243be0e1fa76.tar.gz
gentoo-2-4470e4246b15a8fcbfc923d290f4243be0e1fa76.tar.bz2
gentoo-2-4470e4246b15a8fcbfc923d290f4243be0e1fa76.zip
Patch to fix bug #28686
Diffstat (limited to 'net-www/epiphany/files')
-rw-r--r--net-www/epiphany/files/epiphany-1.0-gcc2_Werror_fix.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/net-www/epiphany/files/epiphany-1.0-gcc2_Werror_fix.patch b/net-www/epiphany/files/epiphany-1.0-gcc2_Werror_fix.patch
new file mode 100644
index 000000000000..c8b4984d6f03
--- /dev/null
+++ b/net-www/epiphany/files/epiphany-1.0-gcc2_Werror_fix.patch
@@ -0,0 +1,13 @@
+diff -NurB epiphany-1.0-orig/lib/ephy-node.c epiphany-1.0/lib/ephy-node.c
+--- epiphany-1.0-orig/lib/ephy-node.c 2003-10-04 11:16:56.000000000 -0500
++++ epiphany-1.0/lib/ephy-node.c 2003-10-04 11:35:41.000000000 -0500
+@@ -1109,8 +1109,7 @@
+
+ g_ptr_array_sort (newkids, compare_func);
+
+- new_order = g_new (int, newkids->len);
+- memset (new_order, -1, sizeof (int) * newkids->len);
++ new_order = g_new0 (int, newkids->len);
+
+ for (i = 0; i < newkids->len; i++)
+ {