Date: Wed, 23 May 2012 16:23:29 +0300 From: Andrey Simonenko <simon@comsys.ntu-kpi.kiev.ua> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/168257: net/boinc-client add xlocale support for RELENG_9 Message-ID: <20120523132329.GA22840@pm513-1.comsys.ntu-kpi.kiev.ua> Resent-Message-ID: <201205231330.q4NDU2tD053340@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 168257 >Category: ports >Synopsis: net/boinc-client add xlocale support for RELENG_9 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Wed May 23 13:30:01 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Andrey Simonenko >Release: FreeBSD 9.0-STABLE amd64 >Organization: >Environment: >Description: This change adds support of xlocale for RELENG_9. >How-To-Repeat: >Fix: diff -ruN boinc-client.orig/Makefile boinc-client/Makefile --- boinc-client.orig/Makefile 2012-04-23 23:49:14.000000000 +0300 +++ boinc-client/Makefile 2012-05-23 15:52:42.000000000 +0300 @@ -7,7 +7,7 @@ PORTNAME= boinc-client PORTVERSION= 7.0.25 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= net MASTER_SITES= ${MASTER_SITE_LOCAL} MASTER_SITE_SUBDIR= pav @@ -88,7 +88,7 @@ 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 -ruN boinc-client.orig/files/patch-clientgui-AsyncRPC.cpp boinc-client/files/patch-clientgui-AsyncRPC.cpp --- boinc-client.orig/files/patch-clientgui-AsyncRPC.cpp 2012-04-15 15:57:50.000000000 +0300 +++ boinc-client/files/patch-clientgui-AsyncRPC.cpp 2012-05-23 15:52:09.000000000 +0300 @@ -7,7 +7,7 @@ -#include <xlocale.h> +#ifdef __FreeBSD__ +# include <osreldate.h> -+# if __FreeBSD_version >= 1000002 ++# if (__FreeBSD_version >= 900506 && __FreeBSD_version < 1000000) || __FreeBSD_version >= 1000002 +# include <xlocale.h> +# endif +#endif >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120523132329.GA22840>