Package: gimp-plugin-registry
Version: 3.1-1
Severity: normal
Tags: patch

Hello,

gimp-plugin-registry 3.1-1 failed to build in Ubuntu Maverick on AMD64
(and IA64) as the buildd checks for implicitly converted pointers on
64bit architectures:

,----[ 
http://launchpadlibrarian.net/48305399/buildlog_ubuntu-maverick-amd64.gimp-plugin-registry_3.1-1_FAILEDTOBUILD.txt.gz
 ]-
| make[2]: Entering directory 
`/build/buildd/gimp-plugin-registry-3.1/separate+/separate+-0.5.6'
| gcc -g -Wall -g -O2 -fno-tree-pre `pkg-config gimp-2.0 --cflags` `pkg-config 
gimpui-2.0 --cflags` `pkg-config gtk+-2.0 --cflags` `pkg-config lcms --cflags` 
-DENABLE_COLOR_MANAGEMENT -DENABLE_NLS -DGETTEXT_PACKAGE="\"gimp20-separate\"" 
-DSEPARATE_SEPARATE -DUSE_ICC_BUTTON -c separate-core.c
| separate-core.c: In function 'setup_transform':
| separate-core.c:142: warning: implicit declaration of function 
'lcms_open_profile'
| separate-core.c:142: warning: assignment makes pointer from integer without a 
cast
| Function `lcms_open_profile' implicitly converted to pointer at 
separate-core.c:142
`----

Attached is a patch to #include the missing header file.

Regards,
Michael
Index: gimp-plugin-registry-3.1/separate+/separate+-0.5.6/separate-core.c
===================================================================
--- gimp-plugin-registry-3.1.orig/separate+/separate+-0.5.6/separate-core.c     
2010-05-16 11:47:24.000000000 +0200
+++ gimp-plugin-registry-3.1/separate+/separate+-0.5.6/separate-core.c  
2010-05-16 11:49:21.000000000 +0200
@@ -35,6 +35,8 @@
 #include "separate-core.h"
 #include "util.h"
 
+#include "iccbutton.h"
+
 
 
 #ifdef ENABLE_COLOR_MANAGEMENT

Reply via email to