Group :: Sciences/Other
RPM: boinc
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: boinc-7.8.4-alt-glibc.patch
Download
Download
diff --git a/boinc/clientgui/AsyncRPC.cpp b/boinc/clientgui/AsyncRPC.cpp
index f196ced..1d3a70e 100644
--- a/boinc/clientgui/AsyncRPC.cpp
+++ b/boinc/clientgui/AsyncRPC.cpp
@@ -20,7 +20,7 @@
#endif
#if !(defined(_WIN32) || (defined(__WXMAC__) && (MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_4)))
-#include <xlocale.h>
+#include <locale.h>
#endif
#include "stdwx.h"
diff --git a/boinc/lib/gui_rpc_client.h b/boinc/lib/gui_rpc_client.h
index fda40d0..bb9102a 100644
--- a/boinc/lib/gui_rpc_client.h
+++ b/boinc/lib/gui_rpc_client.h
@@ -807,7 +807,7 @@ struct RPC {
#elif defined(__APPLE__) && (MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_4)
// uselocale() is not available in OS 10.3.9 so use weak linking
-#include <xlocale.h>
+#include <locale.h>
extern int freelocale(locale_t) __attribute__((weak_import));
extern locale_t newlocale(int, __const char *, locale_t) __attribute__((weak_import));
extern locale_t uselocale(locale_t) __attribute__((weak_import));