summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2011-01-13 11:34:59 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2011-01-13 11:34:59 +0000
commit1ab646cf1d0fad71655ffd42cc28cbda2bb436d1 (patch)
tree78d416dace1f2536dc1944e4c7ec328829cc7872 /x11-misc/xscreensaver/files/xscreensaver-5.12-for-now-set-lang-on-daemon-to-C.patch
parentVersion bump (diff)
downloadhistorical-1ab646cf1d0fad71655ffd42cc28cbda2bb436d1.tar.gz
historical-1ab646cf1d0fad71655ffd42cc28cbda2bb436d1.tar.bz2
historical-1ab646cf1d0fad71655ffd42cc28cbda2bb436d1.zip
Fix password string display wrt #349512 by Sergey and Mamoru Tasaka. Fix gtkext memory leak wrt #351173 by Brian Beardall and Mamoru Tasaka.
Package-Manager: portage-2.2.0_alpha14/cvs/Linux x86_64
Diffstat (limited to 'x11-misc/xscreensaver/files/xscreensaver-5.12-for-now-set-lang-on-daemon-to-C.patch')
-rw-r--r--x11-misc/xscreensaver/files/xscreensaver-5.12-for-now-set-lang-on-daemon-to-C.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/x11-misc/xscreensaver/files/xscreensaver-5.12-for-now-set-lang-on-daemon-to-C.patch b/x11-misc/xscreensaver/files/xscreensaver-5.12-for-now-set-lang-on-daemon-to-C.patch
new file mode 100644
index 000000000000..14a9f789a770
--- /dev/null
+++ b/x11-misc/xscreensaver/files/xscreensaver-5.12-for-now-set-lang-on-daemon-to-C.patch
@@ -0,0 +1,20 @@
+http://bugs.gentoo.org/349512
+
+--- driver/xscreensaver.c
++++ driver/xscreensaver.c
+@@ -1382,6 +1382,7 @@
+ struct passwd *spasswd;
+ int i;
+
++#if 0
+ #ifdef ENABLE_NLS
+ if (!setlocale (LC_ALL, ""))
+ fprintf (stderr, "locale not supported by C library\n");
+@@ -1389,6 +1390,7 @@
+ bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
+ textdomain (GETTEXT_PACKAGE);
+ #endif /* ENABLE_NLS */
++#endif
+
+ memset(si, 0, sizeof(*si));
+ global_si_kludge = si; /* I hate C so much... */