summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2017-12-19 08:23:53 +0000
committeradam <adam@pkgsrc.org>2017-12-19 08:23:53 +0000
commitf0c1ecf2729d429700bd93c5a6dc3ca1ec7c63e4 (patch)
tree7800e2f3829c13567346c9fd0d3317853593e252 /print
parent686f0563a812816261f6078c59f9942c6dcc9dcb (diff)
downloadpkgsrc-f0c1ecf2729d429700bd93c5a6dc3ca1ec7c63e4.tar.gz
Fix building on newer macOS.
Diffstat (limited to 'print')
-rw-r--r--print/cups-base/distinfo3
-rw-r--r--print/cups-base/patches/patch-config-scripts_cups-opsys.m416
2 files changed, 18 insertions, 1 deletions
diff --git a/print/cups-base/distinfo b/print/cups-base/distinfo
index a4e81ba7d90..37418476e08 100644
--- a/print/cups-base/distinfo
+++ b/print/cups-base/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.2 2017/12/02 20:02:35 leot Exp $
+$NetBSD: distinfo,v 1.3 2017/12/19 08:23:53 adam Exp $
SHA1 (cups-2.2.6-source.tar.gz) = b5e3389fb9450bfed377c95c0230c029c053acc4
RMD160 (cups-2.2.6-source.tar.gz) = 7f4689e9102916d4190ffbb958e58d447c0fa146
@@ -15,6 +15,7 @@ SHA1 (patch-config-scripts_cups-directories.m4) = 8a6c2f962dafdde20f913fac2e172a
SHA1 (patch-config-scripts_cups-gssapi.m4) = ac2df3e82bc844630af8462a461c7efe1da4b354
SHA1 (patch-config-scripts_cups-libtool.m4) = a6139fbbbee7038d11654c0a2387af21f48b7412
SHA1 (patch-config-scripts_cups-manpages.m4) = 5cc943738df29f11fc366557938b82c1e9162344
+SHA1 (patch-config-scripts_cups-opsys.m4) = 73524f5c406664038e3f7111fd5faf67699edf61
SHA1 (patch-cups-tls.c) = f89c25f8089d9e11a983a270adbb2cbde3c22511
SHA1 (patch-doc-help-man-cups-files.conf.html) = fcd3d06c00b0a85b6c0790235ccb68685252ea68
SHA1 (patch-man-cups-files.conf.man.in) = 1563a7be3327a975ce8753a3287947f1594975a3
diff --git a/print/cups-base/patches/patch-config-scripts_cups-opsys.m4 b/print/cups-base/patches/patch-config-scripts_cups-opsys.m4
new file mode 100644
index 00000000000..2c5f0c3ac97
--- /dev/null
+++ b/print/cups-base/patches/patch-config-scripts_cups-opsys.m4
@@ -0,0 +1,16 @@
+$NetBSD: patch-config-scripts_cups-opsys.m4,v 1.1 2017/12/19 08:23:53 adam Exp $
+
+Fix building on newer macOS.
+
+--- config-scripts//cups-opsys.m4.orig 2017-12-19 08:18:26.000000000 +0000
++++ config-scripts//cups-opsys.m4
+@@ -22,9 +22,6 @@ if test "x$host_os_version" = x; then
+ host_os_version="0"
+ fi
+
+-if test "$host_os_name" = darwin -a $host_os_version -lt 120; then
+- AC_MSG_ERROR([Sorry, this version of CUPS requires macOS 10.8 or higher.])
+-fi
+
+ dnl Determine whether we are cross-compiling...
+ if test "$build" = "$host"; then