From owner-svn-ports-head@freebsd.org Fri Jan 8 00:40:50 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5A2E2A65945; Fri, 8 Jan 2016 00:40:50 +0000 (UTC) (envelope-from kwm@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 126081232; Fri, 8 Jan 2016 00:40:50 +0000 (UTC) (envelope-from kwm@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u080endi013354; Fri, 8 Jan 2016 00:40:49 GMT (envelope-from kwm@FreeBSD.org) Received: (from kwm@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u080enuB013352; Fri, 8 Jan 2016 00:40:49 GMT (envelope-from kwm@FreeBSD.org) Message-Id: <201601080040.u080enuB013352@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: kwm set sender to kwm@FreeBSD.org using -f From: Koop Mast Date: Fri, 8 Jan 2016 00:40:49 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r405493 - in head/x11/gnome-desktop: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jan 2016 00:40:50 -0000 Author: kwm Date: Fri Jan 8 00:40:48 2016 New Revision: 405493 URL: https://svnweb.freebsd.org/changeset/ports/405493 Log: Fix a crash in gnome-control-center when the Region panel is selected on FreeBSD 11. When the region panel is selected it would crash right after printing: GnomeDesktop-WARNING **: locale 'kk_Cyrl_KZ.UTF-8' isn't valid This is because the gnome-desktop code that processes the locale doesn't handle multi language locales like the one above. And the code wasn't taking into account that language might be NULL. Added: head/x11/gnome-desktop/files/ head/x11/gnome-desktop/files/patch-libgnome-desktop_gnome-languages.c (contents, props changed) Modified: head/x11/gnome-desktop/Makefile Modified: head/x11/gnome-desktop/Makefile ============================================================================== --- head/x11/gnome-desktop/Makefile Fri Jan 8 00:01:53 2016 (r405492) +++ head/x11/gnome-desktop/Makefile Fri Jan 8 00:40:48 2016 (r405493) @@ -3,6 +3,7 @@ PORTNAME= gnome-desktop PORTVERSION= 3.16.2 +PORTREVISION= 1 CATEGORIES= x11 gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome3 Added: head/x11/gnome-desktop/files/patch-libgnome-desktop_gnome-languages.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11/gnome-desktop/files/patch-libgnome-desktop_gnome-languages.c Fri Jan 8 00:40:48 2016 (r405493) @@ -0,0 +1,11 @@ +--- libgnome-desktop/gnome-languages.c.orig 2016-01-08 00:52:40.415603000 +0100 ++++ libgnome-desktop/gnome-languages.c 2016-01-08 01:30:53.511431000 +0100 +@@ -229,7 +231,7 @@ + { + char *name; + +- g_assert (language[0] != 0); ++ g_assert (language == NULL || language[0] != 0); + g_assert (territory == NULL || territory[0] != 0); + g_assert (codeset == NULL || codeset[0] != 0); + g_assert (modifier == NULL || modifier[0] != 0);