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