aboutsummaryrefslogtreecommitdiffstats
path: root/print/cups-connector
diff options
context:
space:
mode:
authortijl <tijl@FreeBSD.org>2016-10-28 18:10:47 +0800
committertijl <tijl@FreeBSD.org>2016-10-28 18:10:47 +0800
commitfa7da255e91e602c82c92a8504ce0ee7c9103588 (patch)
tree32345e340846a22e73ad0edf4c5a4c8a6f489acd /print/cups-connector
parent8c8efb7061881164a6e37930f3d39c0f029684e4 (diff)
downloadfreebsd-ports-gnome-fa7da255e91e602c82c92a8504ce0ee7c9103588.tar.gz
freebsd-ports-gnome-fa7da255e91e602c82c92a8504ce0ee7c9103588.tar.zst
freebsd-ports-gnome-fa7da255e91e602c82c92a8504ce0ee7c9103588.zip
Fix build with CUPS 2.2.x.
Diffstat (limited to 'print/cups-connector')
-rw-r--r--print/cups-connector/Makefile2
-rw-r--r--print/cups-connector/files/patch-cups_cups.h10
2 files changed, 10 insertions, 2 deletions
diff --git a/print/cups-connector/Makefile b/print/cups-connector/Makefile
index 173a82eeb9d0..a458bfd140bd 100644
--- a/print/cups-connector/Makefile
+++ b/print/cups-connector/Makefile
@@ -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 \
diff --git a/print/cups-connector/files/patch-cups_cups.h b/print/cups-connector/files/patch-cups_cups.h
new file mode 100644
index 000000000000..cfe60f4cf9e9
--- /dev/null
+++ b/print/cups-connector/files/patch-cups_cups.h
@@ -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