rpms/gedit/F-10 gedit-2.24.3-fix-python-path.patch,1.1,1.2
Ray Strode
rstrode at fedoraproject.org
Mon Jan 26 18:05:15 UTC 2009
Author: rstrode
Update of /cvs/pkgs/rpms/gedit/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv14880
Modified Files:
gedit-2.24.3-fix-python-path.patch
Log Message:
Regenerate patch to be less fuzzy
gedit-2.24.3-fix-python-path.patch:
Index: gedit-2.24.3-fix-python-path.patch
===================================================================
RCS file: /cvs/pkgs/rpms/gedit/F-10/gedit-2.24.3-fix-python-path.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- gedit-2.24.3-fix-python-path.patch 26 Jan 2009 17:50:52 -0000 1.1
+++ gedit-2.24.3-fix-python-path.patch 26 Jan 2009 18:04:45 -0000 1.2
@@ -1,13 +1,10 @@
-diff -up gedit-2.25.5/plugin-loaders/python/gedit-plugin-loader-python.c.fix-python-path gedit-2.25.5/plugin-loaders/python/gedit-plugin-loader-python.c
---- gedit-2.24.3/gedit/gedit-python-module.c.fix-python-path 2009-01-26 12:36:50.289751027 -0500
-+++ gedit-2.24.3/gedit/gedit-python-module.c 2009-01-26 12:39:23.668963430 -0500
-@@ -541,6 +541,9 @@ gedit_python_init (GeditPluginLoaderPyth
-
- PySys_SetArgv (1, argv);
-
+diff -up gedit-2.24.3/gedit/gedit-python-module.c.fix-python-path gedit-2.24.3/gedit/gedit-python-module.c
+--- gedit-2.24.3/gedit/gedit-python-module.c.fix-python-path 2009-01-07 10:39:41.000000000 -0500
++++ gedit-2.24.3/gedit/gedit-python-module.c 2009-01-26 13:03:23.198989913 -0500
+@@ -495,3 +495,6 @@ gedit_python_shutdown (void)
+ Py_Finalize ();
+ }
+ }
+ /* Sanitize sys.path, see http://bugzilla.gnome.org/show_bug.cgi?id=569214 */
+ PyRun_SimpleString ("import sys; sys.path = filter(None, sys.path)");
+
- if (!gedit_check_pygtk2 ())
- {
- /* Warning message already printed in check_pygtk2 */
More information about the fedora-extras-commits
mailing list