From: "Sebastien Fabbro (bicatali)" <bicatali@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/matplotlib/files: matplotlib-1.1.1-ft-refcount.patch
Date: Wed, 1 Aug 2012 19:17:40 +0000 (UTC) [thread overview]
Message-ID: <20120801191740.81F6C2004C@flycatcher.gentoo.org> (raw)
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());
}
next reply other threads:[~2012-08-01 19:17 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-01 19:17 Sebastien Fabbro (bicatali) [this message]
-- strict thread matches above, loose matches on Subject: below --
2012-11-26 6:21 [gentoo-commits] gentoo-x86 commit in dev-python/matplotlib/files: matplotlib-1.1.1-ft-refcount.patch Ian Delaney (idella4)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120801191740.81F6C2004C@flycatcher.gentoo.org \
--to=bicatali@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox