#5873: [with patch, needs review] Fix matplotlib build on FreeBSD
---------------------+------------------------------------------------------
 Reporter:  pjeremy  |       Owner:  mabshoff  
     Type:  defect   |      Status:  new       
 Priority:  major    |   Milestone:  sage-3.4.2
Component:  freebsd  |    Keywords:            
---------------------+------------------------------------------------------
 1) Explicitly add SAGE_LOCAL to the dependency search path for matplotlib
 for FreeBSD.

 2) gcc-4.3 on FreeBSD (though not the base gcc4.2) appears to define
 putchar() in <stdio.h> in a way that breaks the putchar() definitions
 inside ttconv.  It's not immediately clear what the problem is (since
 there's no immediately obvious difference in the way putchar() is defined
 in <stdio.h>) so this patch takes
 the easy way out and undef's the offending putchar() macro.

 3) Individual character bounding boxes in AFM files do not have to be
 integral so convert each bounding box to a list of floats, rather than a
 list of ints. This corrects a problem where most of the tests would fail
 with "ValueError: invalid literal for int() with base 10: '539.621'" on
 FreeBSD.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5873>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of 
Reinventing the Wheel

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to