forked from pool/boinc-client
03dad75fa3
update to 7.8.3 OBS-URL: https://build.opensuse.org/request/show/536998 OBS-URL: https://build.opensuse.org/package/show/network/boinc-client?expand=0&rev=66
38 lines
1.4 KiB
Diff
38 lines
1.4 KiB
Diff
From: Jan Engelhardt <jengelh@inai.de>
|
|
Date: 2017-09-03 00:10:38.255132582 +0200
|
|
|
|
build: use locale.h instead of xlocale.h
|
|
|
|
glibc-2.26 has dropped xlocale.h.
|
|
---
|
|
clientgui/AsyncRPC.cpp | 2 +-
|
|
lib/gui_rpc_client.h | 2 +-
|
|
2 files changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
Index: boinc-client_release-7.8-7.8.3/clientgui/AsyncRPC.cpp
|
|
===================================================================
|
|
--- boinc-client_release-7.8-7.8.3.orig/clientgui/AsyncRPC.cpp
|
|
+++ boinc-client_release-7.8-7.8.3/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"
|
|
Index: boinc-client_release-7.8-7.8.3/lib/gui_rpc_client.h
|
|
===================================================================
|
|
--- boinc-client_release-7.8-7.8.3.orig/lib/gui_rpc_client.h
|
|
+++ boinc-client_release-7.8-7.8.3/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));
|