~ubuntu-branches/ubuntu/quantal/cups/quantal-updates

« back to all changes in this revision

Viewing changes to .pc/cups-snmp-oids-device-id-hp-ricoh.patch/backend/snmp.c

  • Committer: Package Import Robot
  • Author(s): Martin Pitt, Till Kamppeter, Martin Pitt
  • Date: 2012-07-11 08:57:53 UTC
  • mfrom: (100.1.1 experimental)
  • Revision ID: package-import@ubuntu.com-20120711085753-5ls8k6pem3xf91te
Tags: 1.5.3-4
[ Till Kamppeter ]
* debian/patches/usb-backend-further-enhancements.patch: USB backend: Do
  a printer reset after each job, this makes the Prolific USB -> Parallel
  adapter finally work (LP: #987485) and makes it unnecessary to blacklist
  the usblp kernel module for some printers (LP: #997040).

[ Martin Pitt ]
* debian/control: Have cups strictly depend on the same binary version of
  libcups2, to avoid crashes when later libcups2 versions remove private
  symbols. (Closes: #668662)
* Add snmp-dont-stop-without-ipv6.patch: snmp: do not die if there is no
  IPv6 support available. Patch backported from upstream trunk, thanks to
  Pino Toscano! (first half of #680604)
* tests-ignore-warnings.patch: Also ignore avahi failure -1, to fix FTBFS on
  hurd due to D-BUS problems. Thanks Pino Toscano! (Closes: #680604)

Show diffs side-by-side

added added

removed removed

Lines of Context:
251
251
 
252
252
#ifdef AF_INET6
253
253
  if ((ipv6 = _cupsSNMPOpen(AF_INET6)) < 0)
254
 
    return (1);
 
254
    perror("DEBUG: Unable to create IPv6 socket");
255
255
#else
256
256
  ipv6 = -1;
257
257
#endif /* AF_INET6 */