On macOS 10.13,libavfilter/vf_lensfun.c fails like this:
clang -I. -Isrc/ -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64
-D_LARGEFILE_SOURCE -Isrc/compat/dispatch_semaphore -DPIC -DZLIB_CONST
-DHAVE_AV_CONFIG_H -DBUILDING_avfilter -I/sw/include -std=c11
-Werror=partial-availability -fomit-frame-pointer -
ur message.
From c98dcb965030f959717b5d9643b4ed5ace7be229 Mon Sep 17 00:00:00 2001
From: Hanspeter Niederstrasser
Date: Sun, 13 Jul 2014 21:49:24 -0500
Subject: [PATCH] kCVPixelFormatType_OneComponent8 only exists from 10.8
onward
---
libavdevice/avfoundation.m | 2 ++
1 file changed, 2 insertion
This lets the build work on 10.7 (and seems to fail properly if I
change the version to >= 1070)
--- 8< --- 8< --- 8< --- 8< --- 8< ---
diff --git a/libavdevice/avfoundation.m b/libavdevice/avfoundation.m
index df322c6..74d7811 100644
--- a/libavdevice/avfoundation.m
+++ b/libavdevice/avfoundation
This broke compiling on OS X < 10.8 (I am on 10.7)
clang -I. -I/src/ffmpeg/ -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64
-D_LARGEFILE_SOURCE -DPIC -DHAVE_AV_CONFIG_H -I/sw/include -std=c99
-fomit-frame-pointer -fPIC -pthread -I/sw/include -I/sw/include
-I/sw/include/bs2b -I/sw/include -I/sw/include/fre