depot/third_party/nixpkgs/pkgs/tools/system/smartmontools/smartmontools.patch
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

26 lines
811 B
Diff

diff --git a/../smartmontools-6.5/configure b/./configure
index acb028a..5e2c7a1 100755
--- a/../smartmontools-6.5/configure
+++ b/./configure
@@ -6703,7 +6703,7 @@ fi
;;
*-*-darwin*)
os_deps='os_darwin.o'
- os_libs='-framework CoreFoundation -framework IOKit'
+ os_libs='-framework ApplicationServices -framework IOKit'
os_darwin=yes
os_man_filter=Darwin
;;
diff --git a/../smartmontools-6.5/configure.ac b/./configure.ac
index 6bd61d7..32ff50c 100644
--- a/../smartmontools-6.5/configure.ac
+++ b/./configure.ac
@@ -508,7 +508,7 @@ case "${host}" in
;;
*-*-darwin*)
os_deps='os_darwin.o'
- os_libs='-framework CoreFoundation -framework IOKit'
+ os_libs='-framework ApplicationServices -framework IOKit'
os_darwin=yes
os_man_filter=Darwin
;;