Ticket #12434: matplotlib-1.1.0.p0.patch

File matplotlib-1.1.0.p0.patch, 1.5 KB (added by ohanar, 11 years ago)

for review purposes

  • SPKG.txt

    # HG changeset patch
    # User R. Andrew Ohana <andrew.ohana@gmail.com>
    # Date 1328379329 28800
    # Node ID 1d45725f7e082afa93d020c348569da2ca6609f2
    # Parent  dbc80333298c4babcecd52db9d3e7f1e8ca19f21
    make compatible with clang
    
    diff --git a/SPKG.txt b/SPKG.txt
    a b  
    8282
    8383== Changelog ==
    8484
     85=== matplotlib-1.1.0.p0 (R. Andrew Ohana, 4 Feb 2012) ===
     86 * make spkg compile with clang by
     87 * fixing the return type of the function "profile" in
     88   agg_renderer_outline_aa.h
     89
    8590=== matplotlib-1.1.0 (Jason Grout, 15 Dec 2011) ===
    8691 * Update matplotlib to 1.1.0.  See Sage trac #11915.
    8792
  • new file patches/agg_renderer_outline_aa.h.patch

    diff --git a/patches/agg_renderer_outline_aa.h.patch b/patches/agg_renderer_outline_aa.h.patch
    new file mode 100644
    - +  
     1--- src/agg24/include/agg_renderer_outline_aa.h.orig    2012-02-01 05:47:25.000000000 -0800
     2+++ src/agg24/include/agg_renderer_outline_aa.h 2012-02-01 05:51:46.000000000 -0800
     3@@ -1365,7 +1365,7 @@
     4         //---------------------------------------------------------------------
     5         void profile(const line_profile_aa& prof) { m_profile = &prof; }
     6         const line_profile_aa& profile() const { return *m_profile; }
     7-        line_profile_aa& profile() { return *m_profile; }
     8+        const line_profile_aa& profile() { return *m_profile; }
     9 
     10         //---------------------------------------------------------------------
     11         int subpixel_width() const { return m_profile->subpixel_width(); }