2017-09-03 00:47:48 +02:00
|
|
|
From: Jan Engelhardt <jengelh@inai.de>
|
|
|
|
Date: 2017-09-03 00:10:38.255132582 +0200
|
|
|
|
|
2017-09-03 12:14:15 +02:00
|
|
|
build: use xlocale.h instead of locale.h
|
|
|
|
|
|
|
|
glibc-2.26 has dropped xlocale.h.
|
2017-09-03 00:47:48 +02:00
|
|
|
---
|
|
|
|
clientgui/AsyncRPC.cpp | 2 +-
|
|
|
|
lib/gui_rpc_client.h | 2 +-
|
|
|
|
2 files changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
|
2017-09-03 12:14:15 +02:00
|
|
|
Index: boinc-client_release-7.6-7.6.33/clientgui/AsyncRPC.cpp
|
2017-09-03 00:47:48 +02:00
|
|
|
===================================================================
|
2017-09-03 12:14:15 +02:00
|
|
|
--- boinc-client_release-7.6-7.6.33.orig/clientgui/AsyncRPC.cpp
|
|
|
|
+++ boinc-client_release-7.6-7.6.33/clientgui/AsyncRPC.cpp
|
2017-09-03 00:47:48 +02:00
|
|
|
@@ -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"
|
2017-09-03 12:14:15 +02:00
|
|
|
Index: boinc-client_release-7.6-7.6.33/lib/gui_rpc_client.h
|
2017-09-03 00:47:48 +02:00
|
|
|
===================================================================
|
2017-09-03 12:14:15 +02:00
|
|
|
--- boinc-client_release-7.6-7.6.33.orig/lib/gui_rpc_client.h
|
|
|
|
+++ boinc-client_release-7.6-7.6.33/lib/gui_rpc_client.h
|
2017-09-03 00:47:48 +02:00
|
|
|
@@ -801,7 +801,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));
|