Bug#381081: gtk+2.0: implicit pointer conversion (cairo_directfb_surface_create)

dann frazier dannf at debian.org
Wed Aug 2 01:46:34 UTC 2006


Package: gtk+2.0
Version: 2.8.18-5
Severity: important
Tags: patch

Our automated buildd log filter[1] detected a problem that will cause
your package to segfault on architectures where the size of a pointer
is greater than the size of an integer, such as ia64 and amd64.

The prototype for cairo_directfb_surface_create() in cairo-directfb.h
is wrapped in an #ifdef CAIRO_HAS_DIRECTFB_SURFACE.

[1]http://people.debian.org/~dannf/check-implicit-pointer-functions

----- Forwarded message from Debian/IA64 non-US Build Daemon <buildd at caballero.debian.org> -----

Subject: Log for successful build of gtk+2.0_2.8.18-5 (dist=unstable)
From: Debian/IA64 non-US Build Daemon <buildd at caballero.debian.org>
Date: Mon, 31 Jul 2006 17:24:23 +0100
To: undisclosed-recipients: ;
X-PMX-Version: 5.1.2.240295, Antispam-Engine: 2.3.0.1, Antispam-Data: 2006.7.31.85932
X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at ldl.fc.hp.com
X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on ldl.lart
X-Spam-Level: 
X-Spam-Status: No, score=-1.5 required=3.5 tests=AWL,BAYES_00,UNDISC_RECIPS,
	UPPERCASE_25_50 autolearn=no version=3.0.3
Debian-Buildd-Error: Yes

Function `cairo_directfb_surface_create' implicitly converted to pointer at gdkdrawable-directfb.c:1081
Function `gdk_font_ref' implicitly converted to pointer at gdkgc-directfb.c:204

----- End forwarded message -----

--- gtk+-2.8.18-dfb/gdk/directfb/gdkdrawable-directfb.c~	2006-07-31 13:28:10.000000000 -0600
+++ gtk+-2.8.18-dfb/gdk/directfb/gdkdrawable-directfb.c	2006-08-01 19:42:27.000000000 -0600
@@ -44,6 +44,7 @@
 #include "gdkregion-generic.h"
 #include "gdkalias.h"
 
+#define CAIRO_HAS_DIRECTFB_SURFACE
 #include "cairo-directfb.h"
 
 #define WARN_UNIMPLEMENTED(func)\

-- 
dann frazier | HP Open Source and Linux Organization





More information about the Pkg-gnome-maintainers mailing list