Fix build errors due to cups 1.5.0.

Assume maintainership of this orphan.

Feature safe:	yes
This commit is contained in:
Cy Schubert 2011-11-29 21:15:20 +00:00
parent 3d82b066a6
commit 0c1de55039
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=286641
3 changed files with 22 additions and 5 deletions

View file

@ -7,20 +7,17 @@
PORTNAME= xpp
PORTVERSION= 1.5
PORTREVISION= 6
PORTREVISION= 7
CATEGORIES= print
MASTER_SITES= SF/cups/${PORTNAME}/${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
MAINTAINER= cy@FreeBSD.org
COMMENT= X11-based printer manager for CUPS
LIB_DEPENDS= cups.2:${PORTSDIR}/print/cups-client \
fltk.1:${PORTSDIR}/x11-toolkits/fltk
BUILD_DEPENDS= ${LOCALBASE}/sbin/cupsd:${PORTSDIR}/print/cups-base
BROKEN= does not compile
EXPIRATION_DATE= 2011-11-30
USE_BZIP2= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes

View file

@ -0,0 +1,10 @@
--- cupshelper.h.orig 2002-05-28 08:49:45.000000000 -0700
+++ cupshelper.h 2011-11-29 13:10:22.991997261 -0800
@@ -34,6 +34,7 @@
#define CUPSHELPER_H
#include <cups/cups.h>
+#include <cups/ppd.h>
#include <cups/ipp.h>
const char* cupsGetPassword(const char *prompt);

View file

@ -0,0 +1,10 @@
--- xpp.h.orig 2011-11-29 13:02:26.198230347 -0800
+++ xpp.h 2011-11-29 13:07:43.783229272 -0800
@@ -34,6 +34,7 @@
#include <stdlib.h>
#include <string.h>
#include <cups/cups.h>
+#include <cups/ppd.h>
#include <cups/ipp.h>
#include <cups/language.h>
#include <FL/Fl.H>