[BACK]Return to patch-cups_versioning.h CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / print / cups-base / patches

File: [cvs.NetBSD.org] / pkgsrc / print / cups-base / patches / Attic / patch-cups_versioning.h (download)

Revision 1.1, Wed Apr 21 13:18:22 2021 UTC (21 months, 2 weeks ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2022Q1-base, pkgsrc-2022Q1, pkgsrc-2021Q4-base, pkgsrc-2021Q4, pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2

cups-base: fix building on Darwin

$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 */