summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Brinkmann <luckyduck@gentoo.org>2005-03-13 20:34:59 +0000
committerJan Brinkmann <luckyduck@gentoo.org>2005-03-13 20:34:59 +0000
commit70f8ab1908076d84d083f934261bf96825afa628 (patch)
treec090cb7ad6413ae34df1ad4b574e023f1ad6492c /media-video/cinepaint/files
parentThere is one test case that tries to write outside the sandbox, so we need to... (diff)
downloadhistorical-70f8ab1908076d84d083f934261bf96825afa628.tar.gz
historical-70f8ab1908076d84d083f934261bf96825afa628.tar.bz2
historical-70f8ab1908076d84d083f934261bf96825afa628.zip
added patch to fix compilation with gcc3.4, also added ~amd64 to KEYWORDS. fixed #60753
Package-Manager: portage-2.0.51.19
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));
+ }
+ */
+