pawandubey / superswitcher

Automatically exported from code.google.com/p/superswitcher
GNU General Public License v2.0
0 stars 0 forks source link

patch to compile against recent versions of glib #55

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hi, superswitcher needs the patch from here to compile against recent versions 
of glib:
http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/x11-misc/superswitcher/f
iles/superswitcher-0.6-glib-single-include.patch?revision=1.1

Original issue reported on code.google.com by Alister....@gmail.com on 3 Aug 2013 at 10:09

GoogleCodeExporter commented 8 years ago
And maybe I should file it as a separate bug, but I also need to change this in 
configure.in:

GNOME_COMPILE_WARNINGS(yes)

to this:

GNOME_COMPILE_WARNINGS(no)

Otherwise I get a failure like this:

popup.c: In function ‘on_expose_event’:
popup.c:587:5: error: implicit declaration of function ‘gdk_gc_get_values’ 
[-Werror=implicit-function-declaration]
     gdk_gc_get_values (gc, &gc_values);
     ^
popup.c:587:5: warning: nested extern declaration of ‘gdk_gc_get_values’ 
[-Wnested-externs]
popup.c: In function ‘popup_on_key_press’:
popup.c:929:3: warning: ‘XKeycodeToKeysym’ is deprecated (declared at 
/usr/include/X11/Xlib.h:1699) [-Wdeprecated-declarations]
   keysym = XKeycodeToKeysym (x_display, x_key_event->keycode, 0);
   ^
cc1: some warnings being treated as errors
make[1]: *** [popup.o] Error 1
make[1]: Leaving directory 
`/var/abs/local/yaourtbuild/superswitcher-svn/src/superswitcher-read-only/src'
make: *** [all-recursive] Error 1

Original comment by Alister....@gmail.com on 3 Aug 2013 at 10:29

GoogleCodeExporter commented 8 years ago
Alternatively I can delete this from src/Makefile.am:

AM_CFLAGS = @WARN_CFLAGS@

Original comment by Alister....@gmail.com on 3 Aug 2013 at 10:45