Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 122879 - cinepaint-0.18 minor bug prevents compile
Summary: cinepaint-0.18 minor bug prevents compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-14 22:39 UTC by Starling
Modified: 2006-11-26 11:03 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Starling 2006-02-14 22:39:40 UTC
Yeah, we need something that does the following:
#!bash
sed -e's/GDrawableType/GImageType/' <plug-ins/psd/psd.c >temp.c
mv temp.c plug-ins/psd/psd.c

If we leave the GDrawableType in there, it fails to compile because the functions' signatures are different between the two types.
Comment 1 Thomas Bettler 2006-06-05 14:37:09 UTC
The proposed patch works for me.

Here comes the compiler error message...

Making all in psd
psd.c:468: error: conflicting types for 'psd_type_to_gimp_type'
psd.c:302: error: previous declaration of 'psd_type_to_gimp_type' was here
psd.c: In function 'dispatch_resID':
psd.c:707: warning: pointer targets in assignment differ in signedness
psd.c: In function 'do_layer_record':
psd.c:1091: warning: pointer targets in assignment differ in signedness
psd.c: In function 'do_image_resources':
psd.c:1404: warning: pointer targets in assignment differ in signedness
psd.c:1769:4: warning: "/*" within comment
psd.c: In function 'load_image':
psd.c:2184: warning: pointer targets in passing argument 3 of 'decode' differ in signedness
psd.c:2184: warning: pointer targets in passing argument 4 of 'decode' differ in signedness
psd.c:2190: warning: pointer targets in passing argument 3 of 'decode' differ in signedness
psd.c:2190: warning: pointer targets in passing argument 4 of 'decode' differ in signedness
psd.c:2197: warning: pointer targets in passing argument 3 of 'decode' differ in signedness
psd.c:2197: warning: pointer targets in passing argument 4 of 'decode' differ in signedness
psd.c:2282: warning: unused variable 'i'
psd.c: In function 'cmykp2rgb':
psd.c:2480: warning: pointer targets in assignment differ in signedness
distcc[7339] ERROR: compile psd.c on localhost failed
make[2]: *** [psd.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
Comment 2 Alexis Ballier gentoo-dev 2006-11-26 11:03:52 UTC
This version has been removed, 0.21.1 fixes this and has just been stablilised on x86.