summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-video/cinepaint/files')
-rw-r--r--media-video/cinepaint/files/cinepaint-0.18.3-gcc34.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/media-video/cinepaint/files/cinepaint-0.18.3-gcc34.patch b/media-video/cinepaint/files/cinepaint-0.18.3-gcc34.patch
new file mode 100644
index 000000000000..ef6a57d98f20
--- /dev/null
+++ b/media-video/cinepaint/files/cinepaint-0.18.3-gcc34.patch
@@ -0,0 +1,33 @@
+--- plug-ins/psd/psd.c.org 2005-01-04 21:43:35.538672936 -0100
++++ plug-ins/psd/psd.c 2005-01-04 21:56:03.886906712 -0100
+@@ -299,7 +299,7 @@
+ gint *nreturn_vals,
+ GimpParam **return_vals);
+
+-static GImageType psd_type_to_gimp_type (psd_imagetype psdtype);
++static GDrawableType psd_type_to_gimp_type (psd_imagetype psdtype);
+ static GImageType psd_type_to_gimp_base_type (psd_imagetype psdtype);
+ static GLayerMode psd_lmode_to_gimp_lmode (gchar modekey[4]);
+ static GimpUnit psd_unit_to_gimp_unit (gint psdunit);
+@@ -1759,16 +1759,16 @@
+ gimp_image_set_filename (image_ID, name);
+
+ /* in libfilmgimp v0.16 only set resolution of individual layers, not of
+- not of image? Tom Huffman - March 2003
++ not of image? Tom Huffman - March 2003*/
+
+- if (psd_image.resolution_is_set)
++ /*if (psd_image.resolution_is_set)
+ {
+ gimp_image_set_resolution(image_ID,
+ psd_image.resolution.hRes / 65536.0,
+- psd_image.resolution.vRes / 65536.0);
++ psd_image.resolution.vRes / 65536.0);*/
+ /* currently can only set one unit for the image so we use the
+- horizontal unit from the psd image
+- gimp_image_set_unit(image_ID, psd_unit_to_gimp_unit( psd_image.resolution.widthUnit));
++ horizontal unit from the psd image*/
++ /*gimp_image_set_unit(image_ID, psd_unit_to_gimp_unit( psd_image.resolution.widthUnit));
+ }
+ */
+