chromium,chromedriver: 129.0.6668.91 -> 129.0.6668.100
[NixPkgs.git] / pkgs / os-specific / darwin / DarwinTools / sw_vers-CFPriv.patch
blob6faeaa75025e6463ae96ecb3dbd0f16eb7b050eb
1 --- a/sw_vers.c 2021-04-19 13:06:50.131346864 +0900
2 +++ b/sw_vers.c 2021-04-19 13:07:32.481967474 +0900
3 @@ -28,7 +28,15 @@
4 */
6 #include <CoreFoundation/CoreFoundation.h>
7 -#include <CoreFoundation/CFPriv.h>
9 +// Avoid dependency on CoreFoundation/CFPriv, which no longer appears to be
10 +// part of the upstream sdk.
12 +CFDictionaryRef _CFCopyServerVersionDictionary(void);
13 +CFDictionaryRef _CFCopySystemVersionDictionary(void);
14 +extern CFStringRef _kCFSystemVersionProductNameKey;
15 +extern CFStringRef _kCFSystemVersionProductVersionKey;
16 +extern CFStringRef _kCFSystemVersionBuildVersionKey;
18 void usage(char *progname) {
19 fprintf(stderr, "Usage: %s [-productName|-productVersion|-buildVersion]\n", progname);