rpms/gimp-print/FC-6 gimp-print-parse-lpstat.patch, NONE, 1.1 gimp-print.spec, 1.43, 1.44
fedora-cvs-commits at redhat.com
fedora-cvs-commits at redhat.com
Tue Dec 12 14:16:46 UTC 2006
Author: twaugh
Update of /cvs/dist/rpms/gimp-print/FC-6
In directory cvs.devel.redhat.com:/tmp/cvs-serv24034
Modified Files:
gimp-print.spec
Added Files:
gimp-print-parse-lpstat.patch
Log Message:
* Tue Dec 12 2006 Tim Waugh <twaugh at redhat.com>
- Set POSIX locale when parsing lpstat output (bug #219017).
- Resolves: rhbz#219017
gimp-print-parse-lpstat.patch:
print.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
--- NEW FILE gimp-print-parse-lpstat.patch ---
--- gimp-print-4.2.7/src/gimp/print.c.parse-lpstat 2006-12-12 14:14:51.000000000 +0000
+++ gimp-print-4.2.7/src/gimp/print.c 2006-12-12 14:15:08.000000000 +0000
@@ -1194,7 +1194,7 @@
if (!access("/usr/bin/lpstat", X_OK))
{
- strcpy(command, "/usr/bin/lpstat -d -p");
+ strcpy(command, "LC_ALL=C /usr/bin/lpstat -d -p");
type = PRINTERS_LPSTAT;
}
else
Index: gimp-print.spec
===================================================================
RCS file: /cvs/dist/rpms/gimp-print/FC-6/gimp-print.spec,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -r1.43 -r1.44
--- gimp-print.spec 28 Sep 2006 12:33:08 -0000 1.43
+++ gimp-print.spec 12 Dec 2006 14:16:42 -0000 1.44
@@ -24,6 +24,7 @@
Patch9: gimp-print-menu.patch
Patch10: gimp-print-translate.patch
Patch11: gimp-print-ipv6.patch
+Patch12: gimp-print-parse-lpstat.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
%if %{build_with_ijs_support}
BuildRequires: ghostscript-devel
@@ -87,6 +88,7 @@
%patch9 -p1 -b .menu
%patch10 -p1 -b .translate
%patch11 -p1 -b .ipv6
+%patch12 -p1 -b .parse-lpstat
perl -pi -e 's,^(msgstr) "Ingl.s",$1 "Spanish",' po/es.po
%build
@@ -198,6 +200,9 @@
exit 0
%changelog
+* Tue Dec 12 2006 Tim Waugh <twaugh at redhat.com>
+- Set POSIX locale when parsing lpstat output (bug #219017).
+
* Thu Sep 28 2006 Tim Waugh <twaugh at redhat.com> 4.2.7-22
- IPv6 support (bug #198368).
More information about the fedora-cvs-commits
mailing list