pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/print/cups-base cups-base: fix building on Darwin



details:   https://anonhg.NetBSD.org/pkgsrc/rev/395344bde779
branches:  trunk
changeset: 450772:395344bde779
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed Apr 21 13:18:22 2021 +0000

description:
cups-base: fix building on Darwin

diffstat:

 print/cups-base/distinfo                        |   3 ++-
 print/cups-base/patches/patch-cups_versioning.h |  14 ++++++++++++++
 2 files changed, 16 insertions(+), 1 deletions(-)

diffs (35 lines):

diff -r 9299d54f0ac1 -r 395344bde779 print/cups-base/distinfo
--- a/print/cups-base/distinfo  Wed Apr 21 12:59:48 2021 +0000
+++ b/print/cups-base/distinfo  Wed Apr 21 13:18:22 2021 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.27 2021/03/14 08:43:31 wiz Exp $
+$NetBSD: distinfo,v 1.28 2021/04/21 13:18:22 adam Exp $
 
 SHA1 (cups-2.3.3op2-source.tar.gz) = 23108e0f6ca7d8caa1a6a6224f5322e21ba0a27d
 RMD160 (cups-2.3.3op2-source.tar.gz) = a2ed690fab3575ede399a2f54f908b1a9dc32ced
@@ -20,6 +20,7 @@
 SHA1 (patch-cups-tls.c) = b02bc528b6d551283373f271529d6f1956e1c7df
 SHA1 (patch-cups_http-addrlist.c) = aa2524ee1c11450cfa3a46b1aa34c12417322241
 SHA1 (patch-cups_thread.c) = 453f8bd9e13b7b824cc7add75ea9ef49b8e0c991
+SHA1 (patch-cups_versioning.h) = 51bfad8f0d399d5087e05773e002e4ab17f00f1c
 SHA1 (patch-doc-help-man-cups-files.conf.html) = c26754104788eb619e69e49d6d51bf84ab047876
 SHA1 (patch-man-cups-files.conf.man.in) = 51c06d39e20bf8c39c784fec1f32f6c8100cf821
 SHA1 (patch-scheduler-conf.c) = 1e3e116b6a0b5696656afe259ed48f6274ff6b57
diff -r 9299d54f0ac1 -r 395344bde779 print/cups-base/patches/patch-cups_versioning.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/cups-base/patches/patch-cups_versioning.h   Wed Apr 21 13:18:22 2021 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-cups_versioning.h,v 1.1 2021/04/21 13:18:22 adam Exp $
+
+Fix building on Darwin.
+
+--- cups/versioning.h.orig     2021-02-21 14:28:23.000000000 +0000
++++ cups/versioning.h
+@@ -39,6 +39,7 @@
+ 
+ #  ifdef __APPLE__
+ #    include <os/availability.h>
++#    include <TargetConditionals.h>
+ #  endif /* __APPLE__ */
+ 
+ #  ifdef __has_extension              /* Clang */



Home | Main Index | Thread Index | Old Index