Ticket #33111: enable_clang_patch.diff

File enable_clang_patch.diff, 1.6 KB (added by jjstickel (Jonathan Stickel), 12 years ago)
  • kiva/agg/agg-24/include/agg_renderer_outline_aa.h

    diff -ur enable-4.1.0/kiva/agg/agg-24/include/agg_renderer_outline_aa.h enable-4.1.0_clang_patched/kiva/agg/agg-24/include/agg_renderer_outline_aa.h
    old new  
    13651365        //---------------------------------------------------------------------
    13661366        void profile(const line_profile_aa& prof) { m_profile = &prof; }
    13671367        const line_profile_aa& profile() const { return *m_profile; }
    1368         line_profile_aa& profile() { return *m_profile; }
     1368        const line_profile_aa& profile() { return *m_profile; }
    13691369
    13701370        //---------------------------------------------------------------------
    13711371        int subpixel_width() const { return m_profile->subpixel_width(); }
  • kiva/agg/agg-24/include/agg_scanline_u.h

    diff -ur enable-4.1.0/kiva/agg/agg-24/include/agg_scanline_u.h enable-4.1.0_clang_patched/kiva/agg/agg-24/include/agg_scanline_u.h
    old new  
    458458    class scanline32_u8_am : public scanline32_u8
    459459    {
    460460    public:
    461         typedef scanline_u8           base_type;
     461        typedef scanline32_u8           base_type;
    462462        typedef AlphaMask             alpha_mask_type;
    463463        typedef base_type::cover_type cover_type;
    464464        typedef base_type::coord_type coord_type;