diff options
author | Leonardo Boshell <leonardop@gentoo.org> | 2003-10-04 17:10:36 +0000 |
---|---|---|
committer | Leonardo Boshell <leonardop@gentoo.org> | 2003-10-04 17:10:36 +0000 |
commit | 7aabd529e22eb5f2ac8de53c017720cc50a3f483 (patch) | |
tree | 086d4ed0981d3831cc89dc7ff1736c0525839160 /net-www/epiphany | |
parent | version bump (diff) | |
download | historical-7aabd529e22eb5f2ac8de53c017720cc50a3f483.tar.gz historical-7aabd529e22eb5f2ac8de53c017720cc50a3f483.tar.bz2 historical-7aabd529e22eb5f2ac8de53c017720cc50a3f483.zip |
Patch to fix bug #28686
Diffstat (limited to 'net-www/epiphany')
-rw-r--r-- | net-www/epiphany/ChangeLog | 6 | ||||
-rw-r--r-- | net-www/epiphany/epiphany-1.0.ebuild | 9 | ||||
-rw-r--r-- | net-www/epiphany/files/epiphany-1.0-gcc2_Werror_fix.patch | 13 |
3 files changed, 26 insertions, 2 deletions
diff --git a/net-www/epiphany/ChangeLog b/net-www/epiphany/ChangeLog index 6082b1874504..0ddad0521363 100644 --- a/net-www/epiphany/ChangeLog +++ b/net-www/epiphany/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-www/epiphany # Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-www/epiphany/ChangeLog,v 1.21 2003/10/04 15:39:38 foser Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-www/epiphany/ChangeLog,v 1.22 2003/10/04 17:10:36 leonardop Exp $ + + 04 Oct 2003; L. Boshell <leonardop@gentoo.org> epiphany-1.0.ebuild: + Added patch to make it compile under gcc-2. Thanks to Tristan Henderson + for the patch and contribution on bug #28686. *epiphany-1.0.1 (04 Oct 2003) diff --git a/net-www/epiphany/epiphany-1.0.ebuild b/net-www/epiphany/epiphany-1.0.ebuild index a16fa1eebc39..7a312a6ddfe7 100644 --- a/net-www/epiphany/epiphany-1.0.ebuild +++ b/net-www/epiphany/epiphany-1.0.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-www/epiphany/epiphany-1.0.ebuild,v 1.2 2003/09/17 19:18:36 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-www/epiphany/epiphany-1.0.ebuild,v 1.3 2003/10/04 17:10:36 leonardop Exp $ inherit gnome2 @@ -43,3 +43,10 @@ pkg_setup () { fi } +src_unpack() { + unpack ${A} + + cd ${S} + epatch ${FILESDIR}/${P}-gcc2_Werror_fix.patch +} + 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++) + { |