hplip: fix build with cups>=2.2
This commit is contained in:
parent
ad3313ce14
commit
1399bb089d
|
@ -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'
|
# Template file for 'hplip'
|
||||||
pkgname=hplip
|
pkgname=hplip
|
||||||
version=3.16.8
|
version=3.16.8
|
||||||
revision=1
|
revision=2
|
||||||
#XXX: pyqt pkgs for python gui
|
#XXX: pyqt pkgs for python gui
|
||||||
hostmakedepends="pkg-config automake libtool python"
|
hostmakedepends="pkg-config automake libtool python"
|
||||||
makedepends="libressl-devel python-devel libxml2-python cups-devel sane-devel
|
makedepends="libressl-devel python-devel libxml2-python cups-devel sane-devel
|
||||||
|
|
Loading…
Reference in New Issue