diff options
author | pav <pav@FreeBSD.org> | 2012-05-25 20:23:56 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2012-05-25 20:23:56 +0800 |
commit | 317ef81a0bdc8888f6d614852c2c557c0797fe0b (patch) | |
tree | b78765a85c347b051780ed368e58af2a4b0d349f /net/boinc-client | |
parent | d0ac0f2ea75428f81169ad56999eb9fc5a61927a (diff) | |
download | freebsd-ports-gnome-317ef81a0bdc8888f6d614852c2c557c0797fe0b.tar.gz freebsd-ports-gnome-317ef81a0bdc8888f6d614852c2c557c0797fe0b.tar.zst freebsd-ports-gnome-317ef81a0bdc8888f6d614852c2c557c0797fe0b.zip |
- Enable per thread locale on recent FreeBSD 9
PR: ports/168257
Submitted by: Andrey Simonenko <simon@comsys.ntu-kpi.kiev.ua>
Diffstat (limited to 'net/boinc-client')
-rw-r--r-- | net/boinc-client/Makefile | 2 | ||||
-rw-r--r-- | net/boinc-client/files/patch-clientgui-AsyncRPC.cpp | 10 |
2 files changed, 4 insertions, 8 deletions
diff --git a/net/boinc-client/Makefile b/net/boinc-client/Makefile index 398a291d89ac..27b70a1b77ac 100644 --- a/net/boinc-client/Makefile +++ b/net/boinc-client/Makefile @@ -88,7 +88,7 @@ WX_CONF_ARGS= absolute LIB_DEPENDS+= notify.4:${PORTSDIR}/devel/libnotify \ sqlite3.8:${PORTSDIR}/databases/sqlite3 CONFIGURE_ARGS+=--with-sqlite3-prefix=${LOCALBASE} -. if ${OSVERSION} < 1000002 +. if ${OSVERSION} < 900506 || (${OSVERSION} >= 1000000 && ${OSVERSION} < 1000002) CPPFLAGS+= -DNO_PER_THREAD_LOCALE . endif PLIST_SUB+= BOINC_MANAGER="" diff --git a/net/boinc-client/files/patch-clientgui-AsyncRPC.cpp b/net/boinc-client/files/patch-clientgui-AsyncRPC.cpp index ad8f9d5bb6ed..752e9fd2c8fb 100644 --- a/net/boinc-client/files/patch-clientgui-AsyncRPC.cpp +++ b/net/boinc-client/files/patch-clientgui-AsyncRPC.cpp @@ -1,15 +1,11 @@ --- clientgui/AsyncRPC.cpp.orig 2012-04-07 11:55:37.000000000 +0300 +++ clientgui/AsyncRPC.cpp 2012-04-07 11:56:14.000000000 +0300 -@@ -20,7 +20,12 @@ +@@ -20,7 +20,9 @@ #endif #if !(defined(_WIN32) || (defined(__WXMAC__) && (MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_4))) --#include <xlocale.h> -+#ifdef __FreeBSD__ -+# include <osreldate.h> -+# if __FreeBSD_version >= 1000002 -+# include <xlocale.h> -+# endif ++#if !defined(NO_PER_THREAD_LOCALE) + #include <xlocale.h> +#endif //#include "gui_rpc_client.h" #endif |