mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-22 08:58:47 +00:00
Fix build with CUPS 2.2.x.
This commit is contained in:
parent
a6f6773118
commit
f8b20bc58b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=424820
@ -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 \
|
||||
|
10
print/cups-connector/files/patch-cups_cups.h
Normal file
10
print/cups-connector/files/patch-cups_cups.h
Normal 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
|
Loading…
Reference in New Issue
Block a user