GNOME Bugzilla – Bug 120847
gdk_shadow_fb_stop_updates undefined with --disable-shadowfb
Last modified: 2013-03-18 04:03:35 UTC
Building gtk+ 2.2.3 against the linux-fb target fails if --disable-shadowfb is used. The reason is that gdk_shadow_fb_stop_updates is not defined in this case linking fails. For example: /devel_linux/cnav/gtk+-2.2.3/gdk/.libs/libgdk-linux-fb-2.0.so: undefined reference to `gdk_shadow_fb_stop_updates' The following trivial patch fixes it. --- gtk+-2.2.3/gdk/linux-fb/gdkrender-fb.c.orig 2002-12-05 10:28:35.000000000 -0600 +++ gtk+-2.2.3/gdk/linux-fb/gdkrender-fb.c 2003-08-27 10:10:22.000000000 -0500 @@ -1505,6 +1505,11 @@ #else void +gdk_shadow_fb_stop_updates (void) +{ +} + +void gdk_shadow_fb_update (gint minx, gint miny, gint maxx, gint maxy) { }
Fix in HEAD and should be in 2.3.x. Thanks.