--- /dev/null
+Index: cups/language.c
+===================================================================
+--- cups/language.c (revision 10320)
++++ cups/language.c (revision 10321)
+@@ -3,7 +3,7 @@
+ *
+ * I18N/language support for CUPS.
+ *
+- * Copyright 2007-2011 by Apple Inc.
++ * Copyright 2007-2012 by Apple Inc.
+ * Copyright 1997-2007 by Easy Software Products.
+ *
+ * These coded instructions, statements, and computer programs are the
+@@ -979,8 +979,23 @@
+ */
+
+ if (m)
+- cupsArrayAdd(a, m);
++ {
++ if (m->str[0])
++ {
++ cupsArrayAdd(a, m);
++ }
++ else
++ {
++ /*
++ * Translation is empty, don't add it... (STR #4033)
++ */
+
++ free(m->id);
++ free(m->str);
++ free(m);
++ }
++ }
++
+ /*
+ * Create a new message with the given msgid string...
+ */
+@@ -1057,8 +1072,23 @@
+ */
+
+ if (m)
+- cupsArrayAdd(a, m);
++ {
++ if (m->str[0])
++ {
++ cupsArrayAdd(a, m);
++ }
++ else
++ {
++ /*
++ * Translation is empty, don't add it... (STR #4033)
++ */
+
++ free(m->id);
++ free(m->str);
++ free(m);
++ }
++ }
++
+ /*
+ * Close the message catalog file and return the new array...
+ */
Summary(pt_BR.UTF-8): Sistema Unix de Impressão
Name: cups
Version: 1.5.2
-Release: 4
+Release: 5
Epoch: 1
License: LGPL v2 (libraries), GPL v2 (the rest) + openssl exception
Group: Applications/Printing
Patch13: %{name}-systemd-socket.patch
# http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=638521
Patch14: ipp-revert-1.4.patch
+Patch15: %{name}-locale.patch
# avahi patches from fedora
Patch100: %{name}-avahi-1-config.patch
Patch101: %{name}-avahi-2-backend.patch
%patch12 -p1
%patch13 -p1
%patch14 -p1
+%patch15 -p0
%if %{with avahi}
%patch100 -p1