diff options
-rw-r--r-- | app-editors/gedit/ChangeLog | 5 | ||||
-rw-r--r-- | app-editors/gedit/files/gedit-2.4.0-fix_LC_ALL.patch | 29 | ||||
-rw-r--r-- | app-editors/gedit/gedit-2.4.0.ebuild | 10 |
3 files changed, 42 insertions, 2 deletions
diff --git a/app-editors/gedit/ChangeLog b/app-editors/gedit/ChangeLog index 4649f43a0819..5624723b82bb 100644 --- a/app-editors/gedit/ChangeLog +++ b/app-editors/gedit/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for app-editors/gedit # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-editors/gedit/ChangeLog,v 1.38 2003/09/11 15:08:26 obz Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-editors/gedit/ChangeLog,v 1.39 2003/09/14 15:47:04 leonardop Exp $ + + 14 Sep 2003; L. Boshell <leonardop@gentoo.org> gedit-2.4.0.ebuild : + Added a patch for bug #28664. *gedit-2.4.0 (11 Sep 2003) diff --git a/app-editors/gedit/files/gedit-2.4.0-fix_LC_ALL.patch b/app-editors/gedit/files/gedit-2.4.0-fix_LC_ALL.patch new file mode 100644 index 000000000000..eb5a6aa81e49 --- /dev/null +++ b/app-editors/gedit/files/gedit-2.4.0-fix_LC_ALL.patch @@ -0,0 +1,29 @@ +diff -NurB gedit-2.4.0-orig/gedit/gedit2.c gedit-2.4.0/gedit/gedit2.c +--- gedit-2.4.0-orig/gedit/gedit2.c 2003-08-22 05:44:01.000000000 -0500 ++++ gedit-2.4.0/gedit/gedit2.c 2003-09-14 10:26:06.000000000 -0500 +@@ -32,6 +32,10 @@ + #include <config.h> + #endif + ++#ifdef HAVE_LOCALE_H ++#include <locale.h> ++#endif ++ + #include <string.h> + + #include <libgnome/libgnome.h> +@@ -347,11 +351,13 @@ + int + main (int argc, char **argv) + { +- GnomeProgram *program; ++ GnomeProgram *program; + gboolean restored = FALSE; + CORBA_Object factory; + ++#ifdef HAVE_LOCALE_H + setlocale (LC_ALL, ""); ++#endif + + bindtextdomain (GETTEXT_PACKAGE, GEDIT_LOCALEDIR); + textdomain (GETTEXT_PACKAGE); diff --git a/app-editors/gedit/gedit-2.4.0.ebuild b/app-editors/gedit/gedit-2.4.0.ebuild index c2fe1c920945..b929d3fdb660 100644 --- a/app-editors/gedit/gedit-2.4.0.ebuild +++ b/app-editors/gedit/gedit-2.4.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/app-editors/gedit/gedit-2.4.0.ebuild,v 1.1 2003/09/11 15:08:28 obz Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-editors/gedit/gedit-2.4.0.ebuild,v 1.2 2003/09/14 15:47:04 leonardop Exp $ inherit gnome2 @@ -27,3 +27,11 @@ DEPEND="${RDEPEND} >=dev-util/intltool-0.25" DOCS="AUTHORS BUGS ChangeLog COPYING INSTALL NEWS README THANKS TODO" + +src_unpack() { + unpack ${A} + + cd ${S} + epatch ${FILESDIR}/${PN}-2.4.0-fix_LC_ALL.patch +} + |