/[packages]/cauldron/graphicsmagick/current/SOURCES/GraphicsMagick-1.3.15-use-so-for-modules.patch
ViewVC logotype

Contents of /cauldron/graphicsmagick/current/SOURCES/GraphicsMagick-1.3.15-use-so-for-modules.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 260526 - (show annotations) (download)
Thu Jun 14 06:45:33 2012 UTC (8 years, 10 months ago) by fwang
File size: 975 byte(s)
fix bug#6411: graphicsmagick knows nothing about modules
1 --- magick/module.c.so 2012-06-14 06:43:31.000000000 +0000
2 +++ magick/module.c 2012-06-14 06:44:29.000000000 +0000
3 @@ -59,7 +59,7 @@
4 */
5 #define ModuleFilename "modules.mgk"
6 #if defined(HasLTDL)
7 -# define ModuleGlobExpression "*.la"
8 +# define ModuleGlobExpression "*.so"
9 #else
10 # if defined(_DEBUG)
11 # define ModuleGlobExpression "IM_MOD_DB_*.dll"
12 @@ -2030,7 +2030,7 @@
13 assert(tag != (char *) NULL);
14 assert(module_name != (char *) NULL);
15 #if defined(HasLTDL)
16 - (void) FormatString(module_name,"%.1024s.la",tag);
17 + (void) FormatString(module_name,"%.1024s.so",tag);
18 (void) LocaleLower(module_name);
19 #else
20 #if defined(MSWINDOWS)
21 @@ -2077,7 +2077,7 @@
22 assert(tag != (char *) NULL);
23 assert(module_name != (char *) NULL);
24 #if defined(HasLTDL)
25 - (void) FormatString(module_name,"%.1024s.la",tag);
26 + (void) FormatString(module_name,"%.1024s.so",tag);
27 (void) LocaleLower(module_name);
28 #else
29 (void) FormatString(module_name,"%.1024s.dll",tag);

  ViewVC Help
Powered by ViewVC 1.1.28