/[gentoo-x86]/sci-libs/mathgl/files/mathgl-2.0.3-fix-hardcoded-paths.patch
Gentoo

Contents of /sci-libs/mathgl/files/mathgl-2.0.3-fix-hardcoded-paths.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Sat Aug 4 18:10:03 2012 UTC (9 months, 2 weeks ago) by bicatali
Branch: MAIN
CVS Tags: HEAD
Added double-precision flag, linguas (only russian for now). Now blocks old udav. Fix numpy include directory (bug #429806), fix octave installation (bug #429804). Some of the features inspired from rion-overlay

(Portage version: 2.2.01.20796-prefix/cvs/Linux x86_64)

1 diff -Nur mathgl-2.0_orig/include/mgl2/define.h mathgl-2.0/include/mgl2/define.h
2 --- mathgl-2.0_orig/include/mgl2/define.h 2012-04-12 18:12:24.000000000 +0700
3 +++ mathgl-2.0/include/mgl2/define.h 2012-05-17 10:41:30.270686620 +0700
4 @@ -84,7 +84,7 @@
5 #ifdef WIN32
6 #define MGL_FONT_PATH "." // path to fonts
7 #else
8 -#define MGL_FONT_PATH "/usr/local/share/mathgl/fonts" // path to fonts
9 +#define MGL_FONT_PATH "/usr/share/mathgl/fonts" // path to fonts
10 #endif
11 #endif
12 //-----------------------------------------------------------------------------
13 diff -Nur mathgl-2.0_orig/udav/prop_dlg.cpp mathgl-2.0/udav/prop_dlg.cpp
14 --- mathgl-2.0_orig/udav/prop_dlg.cpp 2012-04-12 18:12:43.000000000 +0700
15 +++ mathgl-2.0/udav/prop_dlg.cpp 2012-05-17 10:41:01.377677011 +0700
16 @@ -111,7 +111,7 @@
17 << QCoreApplication::applicationDirPath()+"/fonts";
18 filter << "*.vfm";
19 #ifndef WIN32
20 - paths << "/usr/local/share/mathgl/fonts/" << "/usr/local/mathgl/fonts/";
21 + paths << "/usr/share/mathgl/fonts/" << "/usr/mathgl/fonts/";
22 #endif
23 QFileInfoList info;
24 for(int i=0;i<paths.count();i++)
25 diff -Nur mathgl-2.0_orig/udav/udav_wnd.cpp mathgl-2.0/udav/udav_wnd.cpp
26 --- mathgl-2.0_orig/udav/udav_wnd.cpp 2012-04-12 18:12:43.000000000 +0700
27 +++ mathgl-2.0/udav/udav_wnd.cpp 2012-05-17 10:41:19.438683016 +0700
28 @@ -70,7 +70,7 @@
29 #ifdef WIN32
30 #define UDAV_DIR ""
31 #else
32 -#define UDAV_DIR "/usr/local/share/udav/"
33 +#define UDAV_DIR "/usr/share/udav/"
34 #endif
35 #endif
36 //-----------------------------------------------------------------------------
37 diff -Nur mathgl-2.0_orig/udav/udav_wnd.h mathgl-2.0/udav/udav_wnd.h
38 --- mathgl-2.0_orig/udav/udav_wnd.h 2012-04-12 18:12:43.000000000 +0700
39 +++ mathgl-2.0/udav/udav_wnd.h 2012-05-17 10:41:11.863680509 +0700
40 @@ -30,7 +30,7 @@
41 #ifdef WIN32
42 #define MGL_DOC_DIR ""
43 #else
44 -#define MGL_DOC_DIR "/usr/local/share/doc/mathgl/"
45 +#define MGL_DOC_DIR "/usr/share/doc/mathgl/"
46 #endif
47 #endif
48 //-----------------------------------------------------------------------------

  ViewVC Help
Powered by ViewVC 1.1.13