From 1399bb089d1f605d0c683efd28ea53e19bb6f6ca Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Fri, 23 Sep 2016 01:08:16 +0200 Subject: [PATCH] hplip: fix build with cups>=2.2 --- srcpkgs/hplip/patches/cups.patch | 22 ++++++++++++++++++++++ srcpkgs/hplip/template | 2 +- 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/hplip/patches/cups.patch diff --git a/srcpkgs/hplip/patches/cups.patch b/srcpkgs/hplip/patches/cups.patch new file mode 100644 index 00000000000..a764af1f61b --- /dev/null +++ b/srcpkgs/hplip/patches/cups.patch @@ -0,0 +1,22 @@ +Fix build with cups>=2.2 + +--- prnt/hpcups/CommonDefinitions.h.orig ++++ prnt/hpcups/CommonDefinitions.h +@@ -40,6 +40,7 @@ + #include + #include + #include ++#include + #include + #include + #include +--- prnt/hpijs/hpcupsfax.cpp.orig ++++ prnt/hpijs/hpcupsfax.cpp +@@ -43,6 +43,7 @@ + #include + #include + #include ++#include + #include + #include + #ifdef FALSE diff --git a/srcpkgs/hplip/template b/srcpkgs/hplip/template index b383de6e98a..11cb3f5a9d6 100644 --- a/srcpkgs/hplip/template +++ b/srcpkgs/hplip/template @@ -1,7 +1,7 @@ # Template file for 'hplip' pkgname=hplip version=3.16.8 -revision=1 +revision=2 #XXX: pyqt pkgs for python gui hostmakedepends="pkg-config automake libtool python" makedepends="libressl-devel python-devel libxml2-python cups-devel sane-devel