diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2007-12-19 19:36:59 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2007-12-19 19:36:59 +0000 |
commit | 5e4c3dcf0b38b4fb30b77be16b8d7ed860d073b8 (patch) | |
tree | 0139b5eb44f44fb7ff19fa541ee7f39ab7768a2c /x11-themes | |
parent | Fix also older versions for g2c/gfortran libs (diff) | |
download | gentoo-2-5e4c3dcf0b38b4fb30b77be16b8d7ed860d073b8.tar.gz gentoo-2-5e4c3dcf0b38b4fb30b77be16b8d7ed860d073b8.tar.bz2 gentoo-2-5e4c3dcf0b38b4fb30b77be16b8d7ed860d073b8.zip |
Add a patch to fix the poor programming practises.
(Portage version: 2.1.4_rc10)
Diffstat (limited to 'x11-themes')
3 files changed, 20 insertions, 3 deletions
diff --git a/x11-themes/gtk-engines-nimbus/ChangeLog b/x11-themes/gtk-engines-nimbus/ChangeLog index e272580a6155..589c49e96375 100644 --- a/x11-themes/gtk-engines-nimbus/ChangeLog +++ b/x11-themes/gtk-engines-nimbus/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for x11-themes/gtk-engines-nimbus # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-themes/gtk-engines-nimbus/ChangeLog,v 1.3 2007/12/19 18:55:05 caster Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-themes/gtk-engines-nimbus/ChangeLog,v 1.4 2007/12/19 19:36:58 flameeyes Exp $ + + 19 Dec 2007; Diego Pettenò <flameeyes@gentoo.org> + +files/nimbus-0.0.10-declarations.patch, gtk-engines-nimbus-0.0.10.ebuild: + Add a patch to fix the poor programming practises. 19 Dec 2007; Vlastimil Babka <caster@gentoo.org> gtk-engines-nimbus-0.0.10.ebuild: diff --git a/x11-themes/gtk-engines-nimbus/files/nimbus-0.0.10-declarations.patch b/x11-themes/gtk-engines-nimbus/files/nimbus-0.0.10-declarations.patch new file mode 100644 index 000000000000..168593c5ca18 --- /dev/null +++ b/x11-themes/gtk-engines-nimbus/files/nimbus-0.0.10-declarations.patch @@ -0,0 +1,11 @@ +Index: nimbus-0.0.10/gtk-engine/nimbus_utils.c +=================================================================== +--- nimbus-0.0.10.orig/gtk-engine/nimbus_utils.c ++++ nimbus-0.0.10/gtk-engine/nimbus_utils.c +@@ -1,5 +1,5 @@ + #include <stdio.h> +-#include <strings.h> ++#include <string.h> + #include "nimbus_utils.h" + static void + nimbus_draw_horizontal_gradient (GdkWindow *window, diff --git a/x11-themes/gtk-engines-nimbus/gtk-engines-nimbus-0.0.10.ebuild b/x11-themes/gtk-engines-nimbus/gtk-engines-nimbus-0.0.10.ebuild index e8fe222b414a..eecc9e2bfc58 100644 --- a/x11-themes/gtk-engines-nimbus/gtk-engines-nimbus-0.0.10.ebuild +++ b/x11-themes/gtk-engines-nimbus/gtk-engines-nimbus-0.0.10.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-themes/gtk-engines-nimbus/gtk-engines-nimbus-0.0.10.ebuild,v 1.2 2007/12/19 18:55:05 caster Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-themes/gtk-engines-nimbus/gtk-engines-nimbus-0.0.10.ebuild,v 1.3 2007/12/19 19:36:58 flameeyes Exp $ -inherit libtool autotools gnome2-utils +inherit libtool autotools gnome2-utils eutils MY_PN="nimbus" MY_P="${MY_PN}-${PV}" @@ -27,6 +27,8 @@ src_unpack() { unpack ${A} cd "${S}" + epatch "${FILESDIR}/${MY_P}-declarations.patch" + intltoolize || die "intltoolize failed" eautoreconf |