diff options
author | Timo Gurr <tgurr@gentoo.org> | 2008-06-09 21:37:06 +0000 |
---|---|---|
committer | Timo Gurr <tgurr@gentoo.org> | 2008-06-09 21:37:06 +0000 |
commit | b09016178158ce55d6c17c7e0cac3256f7214efa (patch) | |
tree | 2e36d84806bd31abca7632d6e64d6e49439c078c /net-print/cups/files | |
parent | Keywords back in place. (diff) | |
download | gentoo-2-b09016178158ce55d6c17c7e0cac3256f7214efa.tar.gz gentoo-2-b09016178158ce55d6c17c7e0cac3256f7214efa.tar.bz2 gentoo-2-b09016178158ce55d6c17c7e0cac3256f7214efa.zip |
Add cups-1.3.7-r2.ebuild, fixes glibc-2.8 compatibility bug #225421 and also addresses an issue with IPP authentification.
(Portage version: 2.1.5.4)
Diffstat (limited to 'net-print/cups/files')
-rw-r--r-- | net-print/cups/files/cups-1.3.7-peercred.patch | 11 | ||||
-rw-r--r-- | net-print/cups/files/cups-1.3.7-str2750.patch | 12 |
2 files changed, 23 insertions, 0 deletions
diff --git a/net-print/cups/files/cups-1.3.7-peercred.patch b/net-print/cups/files/cups-1.3.7-peercred.patch new file mode 100644 index 000000000000..eda2c93a6766 --- /dev/null +++ b/net-print/cups/files/cups-1.3.7-peercred.patch @@ -0,0 +1,11 @@ +diff -Naur cups-1.3.7/scheduler/auth.c cups-1.3.7.new/scheduler/auth.c +--- cups-1.3.7/scheduler/auth.c 2008-03-20 21:58:16.000000000 +0100 ++++ cups-1.3.7.new/scheduler/auth.c 2008-06-09 14:53:45.535194741 +0200 +@@ -54,6 +54,7 @@ + * Include necessary headers... + */ + ++#define _GNU_SOURCE + #include "cupsd.h" + #include <grp.h> + #ifdef HAVE_SHADOW_H diff --git a/net-print/cups/files/cups-1.3.7-str2750.patch b/net-print/cups/files/cups-1.3.7-str2750.patch new file mode 100644 index 000000000000..bf492bca69c8 --- /dev/null +++ b/net-print/cups/files/cups-1.3.7-str2750.patch @@ -0,0 +1,12 @@ +diff -Naur cups-1.3.7/backend/ipp.c cups-1.3.7.new/backend/ipp.c +--- cups-1.3.7/backend/ipp.c 2008-01-23 23:23:42.000000000 +0100 ++++ cups-1.3.7.new/backend/ipp.c 2008-06-09 15:03:37.794195564 +0200 +@@ -1410,7 +1410,7 @@ + { + (void)prompt; + +- if (password && password_tries < 3) ++ if (password && *password && password_tries < 3) + { + password_tries ++; + |