diff options
Diffstat (limited to 'app-laptop/mbpfan/files/mbpfan-2.3.0-clang16-build-fix.patch')
-rw-r--r-- | app-laptop/mbpfan/files/mbpfan-2.3.0-clang16-build-fix.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/app-laptop/mbpfan/files/mbpfan-2.3.0-clang16-build-fix.patch b/app-laptop/mbpfan/files/mbpfan-2.3.0-clang16-build-fix.patch new file mode 100644 index 000000000000..169033c8be57 --- /dev/null +++ b/app-laptop/mbpfan/files/mbpfan-2.3.0-clang16-build-fix.patch @@ -0,0 +1,12 @@ +Bug: https://bugs.gentoo.org/894522 +Upstream PR: https://github.com/linux-on-mac/mbpfan/pull/261 +--- a/src/util.c ++++ b/src/util.c +@@ -1,6 +1,7 @@ + #include <stdarg.h> + #include <stdio.h> + #define __USE_MISC ++#define _BSD_SOURCE + #include <syslog.h> + + #include "global.h" |