Attachment 'matplotlib-0.98.5.3rc0-svn6910.p3.patch'
Download 1 --- matplotlib-0.98.5.3rc0-svn6910.p3/patches/setupext.py~ 2009-03-15 17:24:10.279608339 +1100
2 +++ matplotlib-0.98.5.3rc0-svn6910.p3/patches/setupext.py 2009-03-15 21:52:55.397113345 +1100
3 @@ -45,6 +45,7 @@
4 import re
5 import subprocess
6 ### FOR SAGE
7 +sage_base = os.environ['SAGE_LOCAL']
8 sage_inc = os.environ['SAGE_LOCAL'] + '/include/'
9 sage_lib = os.environ['SAGE_LOCAL'] + '/lib/'
10
11 @@ -57,6 +58,8 @@
12 'freebsd4' : ['/usr/local', '/usr'],
13 'freebsd5' : ['/usr/local', '/usr'],
14 'freebsd6' : ['/usr/local', '/usr'],
15 + 'freebsd7' : [sage_base, '/usr/local', '/usr'],
16 + 'freebsd8' : [sage_base, '/usr/local', '/usr'],
17 'sunos5' : [os.getenv('MPLIB_BASE') or '/usr/local',],
18 'gnukfreebsd5' : ['/usr/local', '/usr'],
19 'gnukfreebsd6' : ['/usr/local', '/usr'],
20 --- matplotlib-0.98.5.3rc0-svn6910.p3/src/ttconv/pprdrv.h~ 2008-05-08 05:41:26.000000000 +1000
21 +++ matplotlib-0.98.5.3rc0-svn6910.p3/src/ttconv/pprdrv.h 2009-03-19 06:00:07.875942989 +1100
22 @@ -21,6 +21,7 @@
23
24 #include <vector>
25 #include <cassert>
26 +#undef putchar /* gcc43 is broken */
27
28 /*
29 * Encapsulates all of the output to write to an arbitrary output
30 --- matplotlib-0.98.5.3rc0-svn6910.p3/src/ttconv/truetype.h~ 2008-05-02 04:24:54.000000000 +1000
31 +++ matplotlib-0.98.5.3rc0-svn6910.p3/src/ttconv/truetype.h 2009-03-19 20:13:28.247298109 +1100
32 @@ -5,6 +5,7 @@
33 */
34
35 #include <stdio.h>
36 +#undef putchar /* Broken g++43 */
37
38 /*
39 ** ~ppr/src/include/typetype.h
40 --- matplotlib-0.98.5.3rc0-svn6910.p3/src/lib/matplotlib/afm.py~ 2008-10-05 21:14:42.000000000 +1100
41 +++ matplotlib-0.98.5.3rc0-svn6910.p3/src/lib/matplotlib/afm.py 2009-03-29 08:16:04.656668429 +1100
42 @@ -165,7 +165,7 @@
43 num = _to_int(vals[0].split()[1])
44 wx = _to_float(vals[1].split()[1])
45 name = vals[2].split()[1]
46 - bbox = _to_list_of_ints(vals[3][2:])
47 + bbox = _to_list_of_floats(vals[3][2:])
48 # Workaround: If the character name is 'Euro', give it the corresponding
49 # character code, according to WinAnsiEncoding (see PDF Reference).
50 if name == 'Euro':
Attached Files
To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.You are not allowed to attach a file to this page.