From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id F13A413800E for ; Wed, 1 Aug 2012 19:17:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B1759E068C; Wed, 1 Aug 2012 19:17:42 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 80A12E06AF for ; Wed, 1 Aug 2012 19:17:42 +0000 (UTC) Received: from flycatcher.gentoo.org (flycatcher.gentoo.org [81.93.255.6]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D96BE1B4023 for ; Wed, 1 Aug 2012 19:17:41 +0000 (UTC) Received: by flycatcher.gentoo.org (Postfix, from userid 2162) id 81F6C2004C; Wed, 1 Aug 2012 19:17:40 +0000 (UTC) From: "Sebastien Fabbro (bicatali)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, bicatali@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in dev-python/matplotlib/files: matplotlib-1.1.1-ft-refcount.patch X-VCS-Repository: gentoo-x86 X-VCS-Files: matplotlib-1.1.1-ft-refcount.patch X-VCS-Directories: dev-python/matplotlib/files X-VCS-Committer: bicatali X-VCS-Committer-Name: Sebastien Fabbro Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Message-Id: <20120801191740.81F6C2004C@flycatcher.gentoo.org> Date: Wed, 1 Aug 2012 19:17:40 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: ecf81f0c-4b6b-4e2f-9241-04b49dd216c6 X-Archives-Hash: 2c2d994c91a0498f709d71ef0d8ae589 bicatali 12/08/01 19:17:40 Added: matplotlib-1.1.1-ft-refcount.patch Log: Version bump. Keep bundling of pycxx because it is patched, and some fonts to ease maintenance and portability (Portage version: 2.2.0_alpha120/cvs/Linux x86_64) Revision Changes Path 1.1 dev-python/matplotlib/files/matplotlib-1.1.1-ft-refcount.patch file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/matplotlib/files/matplotlib-1.1.1-ft-refcount.patch?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/matplotlib/files/matplotlib-1.1.1-ft-refcount.patch?rev=1.1&content-type=text/plain Index: matplotlib-1.1.1-ft-refcount.patch =================================================================== Restoring a fix to an old reference counting bug which was re-included in a recent commit. It fails stix_fonts_demo.py https://github.com/matplotlib/matplotlib/commit/85af0c02bf9a8ecdd0fd18eab8c9662c6b9f4302#src/ft2font.cpp bicatali@gentoo.org 08/2012 --- src/ft2font.cpp.orig 2012-08-01 17:30:33.000000000 +0100 +++ src/ft2font.cpp 2012-08-01 17:30:42.000000000 +0100 @@ -870,24 +870,28 @@ { std::ostringstream s; s << "Could not load facefile " << facefile << "; Unknown_File_Format" << std::endl; + ob_refcnt--; throw Py::RuntimeError(s.str()); } else if (error == FT_Err_Cannot_Open_Resource) { std::ostringstream s; s << "Could not open facefile " << facefile << "; Cannot_Open_Resource" << std::endl; + ob_refcnt--; throw Py::RuntimeError(s.str()); } else if (error == FT_Err_Invalid_File_Format) { std::ostringstream s; s << "Could not open facefile " << facefile << "; Invalid_File_Format" << std::endl; + ob_refcnt--; throw Py::RuntimeError(s.str()); } else if (error) { std::ostringstream s; s << "Could not open facefile " << facefile << "; freetype error code " << error << std::endl; + ob_refcnt--; throw Py::RuntimeError(s.str()); }