public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download mbox.gz: |
* [gentoo-commits] gentoo-x86 commit in dev-python/matplotlib/files: matplotlib-1.1.1-ft-refcount.patch
@ 2012-08-01 19:17 99% Sebastien Fabbro (bicatali)
  0 siblings, 0 replies; 1+ results
From: Sebastien Fabbro (bicatali) @ 2012-08-01 19:17 UTC (permalink / raw
  To: gentoo-commits

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());
     }
 





^ permalink raw reply	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2012-08-01 19:17 99% [gentoo-commits] gentoo-x86 commit in dev-python/matplotlib/files: matplotlib-1.1.1-ft-refcount.patch Sebastien Fabbro (bicatali)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox