Code sync
[external/hplip.git] / packaging / cups-1.5.0-compatibility.dpatch
1 #! /bin/sh /usr/share/dpatch/dpatch-run
2 ## cups-1.5.0-compatibility.dpatch by Steve Langasek <steve.langasek@ubuntu.com>
3 ##
4 ## All lines beginning with `## DP:' are a description of the patch.
5 ## DP: Directly include cups/ppd.h header, for compatibility with CUPS 1.5.0
6 ## DP: release.
7
8 @DPATCH@
9 diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' hplip-3.11.7~/prnt/hpps/hppsfilter.c hplip-3.11.7/prnt/hpps/hppsfilter.c
10 --- hplip-3.11.7~/prnt/hpps/hppsfilter.c        2011-07-24 18:58:05.000000000 +0000
11 +++ hplip-3.11.7/prnt/hpps/hppsfilter.c 2011-08-09 20:51:54.150214165 +0000
12 @@ -38,6 +38,7 @@
13  #include <unistd.h>
14  #include <fcntl.h>
15  #include <cups/cups.h>
16 +#include <cups/ppd.h>
17  #include <sys/types.h>
18  #include <sys/stat.h>
19