Bug 558451 – Cannot build GIMP using Sun CC on Solaris 2.8

2008-10-29  Sven Neumann  <sven@gimp.org>

	Bug 558451 – Cannot build GIMP using Sun CC on Solaris 2.8

	* app/pdb/gimp-pdb-compat.c
	* app/gegl/gimpoperationtilesink.c
	* app/gegl/gimpoperationtilesource.c
	* app/tools/gimpgegltool.c: applied patches from Eric Lamarque
	fixing the build using Sun CC on Solaris.


svn path=/trunk/; revision=27467
This commit is contained in:
Sven Neumann 2008-10-29 22:24:08 +00:00 committed by Sven Neumann
parent 5aa338c668
commit b1ff252ca9
5 changed files with 14 additions and 4 deletions

View File

@ -1,3 +1,13 @@
2008-10-29 Sven Neumann <sven@gimp.org>
Bug 558451 Cannot build GIMP using Sun CC on Solaris 2.8
* app/pdb/gimp-pdb-compat.c
* app/gegl/gimpoperationtilesink.c
* app/gegl/gimpoperationtilesource.c
* app/tools/gimpgegltool.c: applied patches from Eric Lamarque
fixing the build using Sun CC on Solaris.
2008-10-29 Martin Nordholts <martinn@svn.gnome.org> 2008-10-29 Martin Nordholts <martinn@svn.gnome.org>
* app/gegl/gimpoperationpointlayermode.c * app/gegl/gimpoperationpointlayermode.c

View File

@ -213,7 +213,7 @@ gimp_operation_tile_sink_process (GeglOperation *operation,
pr; pr;
pr = pixel_regions_process (pr)) pr = pixel_regions_process (pr))
{ {
const GeglRectangle rect = { destPR.x, destPR.y, destPR.w, destPR.h }; GeglRectangle rect = { destPR.x, destPR.y, destPR.w, destPR.h };
gegl_buffer_get (input, gegl_buffer_get (input,
1.0, &rect, format, destPR.data, destPR.rowstride); 1.0, &rect, format, destPR.data, destPR.rowstride);

View File

@ -235,7 +235,7 @@ gimp_operation_tile_source_process (GeglOperation *operation,
pr; pr;
pr = pixel_regions_process (pr)) pr = pixel_regions_process (pr))
{ {
const GeglRectangle rect = { srcPR.x, srcPR.y, srcPR.w, srcPR.h }; GeglRectangle rect = { srcPR.x, srcPR.y, srcPR.w, srcPR.h };
gegl_buffer_set (output, &rect, format, srcPR.data, srcPR.rowstride); gegl_buffer_set (output, &rect, format, srcPR.data, srcPR.rowstride);
} }

View File

@ -272,7 +272,7 @@ gimp_pdb_compat_arg_type_from_gtype (GType type)
if (! pdb_type_quark) if (! pdb_type_quark)
{ {
const struct struct
{ {
GType g_type; GType g_type;
GimpPDBArgType pdb_type; GimpPDBArgType pdb_type;

View File

@ -710,7 +710,7 @@ gimp_gegl_tool_get_config (GimpGeglTool *tool)
if (! config_type) if (! config_type)
{ {
const GTypeInfo info = GTypeInfo info =
{ {
sizeof (GimpObjectClass), sizeof (GimpObjectClass),
(GBaseInitFunc) NULL, (GBaseInitFunc) NULL,