1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

Fix build with CUPS 2.2.x.

This commit is contained in:
Tijl Coosemans 2016-10-28 10:10:47 +00:00
parent a6f6773118
commit f8b20bc58b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=424820
2 changed files with 10 additions and 2 deletions

View File

@ -14,8 +14,6 @@ BUILD_DEPENDS= go:lang/go \
cups>=0:print/cups \
avahi-app>=0:net/avahi-app
BROKEN= does not build
USES= compiler pkgconfig
USE_GITHUB= yes
GH_ACCOUNT= google:DEFAULT codegangsta:cli coreos:gosystemd \

View File

@ -0,0 +1,10 @@
--- cups/cups.h.orig 2016-03-11 18:40:32 UTC
+++ cups/cups.h
@@ -12,6 +12,7 @@ https://developers.google.com/open-sourc
#define _IPP_PRIVATE_STRUCTURES 1
#include <cups/cups.h>
+#include <cups/ppd.h>
#include <stddef.h> // size_t
#include <stdlib.h> // free, calloc, malloc
#include <sys/socket.h> // AF_UNSPEC