hplip: fix build with cups>=2.2
This commit is contained in:
parent
ad3313ce14
commit
1399bb089d
22
srcpkgs/hplip/patches/cups.patch
Normal file
22
srcpkgs/hplip/patches/cups.patch
Normal file
@ -0,0 +1,22 @@
|
||||
Fix build with cups>=2.2
|
||||
|
||||
--- prnt/hpcups/CommonDefinitions.h.orig
|
||||
+++ prnt/hpcups/CommonDefinitions.h
|
||||
@@ -40,6 +40,7 @@
|
||||
#include <fcntl.h>
|
||||
#include <sys/stat.h>
|
||||
#include <cups/cups.h>
|
||||
+#include <cups/ppd.h>
|
||||
#include <cups/raster.h>
|
||||
#include <stdarg.h>
|
||||
#include <stdio.h>
|
||||
--- prnt/hpijs/hpcupsfax.cpp.orig
|
||||
+++ prnt/hpijs/hpcupsfax.cpp
|
||||
@@ -43,6 +43,7 @@
|
||||
#include <arpa/inet.h>
|
||||
#include <math.h>
|
||||
#include <cups/cups.h>
|
||||
+#include <cups/ppd.h>
|
||||
#include <cups/raster.h>
|
||||
#include <string>
|
||||
#ifdef FALSE
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user