libgtk3: remove non-existent configure options
[buildroot-gz.git] / package / matchbox / 0001-defaulttheme.patch
blobb4da66409cda57309db05c36841d15c44c0ac63e
1 [PATCH] fix mbtheme build issue when png support is disabled
3 DEFAULTTHEME{,NAME} is not defined when png support is disabled, leading
4 to compile errors in mbtheme.c:
6 mbtheme.c: In function 'show_parse_error':
7 mbtheme.c:2422:28: error: 'DEFAULTTHEME' undeclared (first use in this function)
8 mbtheme.c:2422:28: note: each undeclared identifier is reported only once for each function it appears in
9 mbtheme.c: In function 'mbtheme_init':
10 mbtheme.c:2448:30: error: 'DEFAULTTHEME' undeclared (first use in this function)
11 mbtheme.c:2470:25: error: 'DEFAULTTHEMENAME' undeclared (first use in this function)
13 Fix it by unconditionally defining them as the values used are the same
14 in png / !png cases anyway.
16 Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
17 ---
18 src/structs.h | 9 ---------
19 1 file changed, 9 deletions(-)
21 Index: matchbox-window-manager-1.2/src/structs.h
22 ===================================================================
23 --- matchbox-window-manager-1.2.orig/src/structs.h
24 +++ matchbox-window-manager-1.2/src/structs.h
25 @@ -81,8 +81,6 @@
27 #define GENERIC_ICON PKGDATADIR "/mbnoapp.xpm"
29 -#ifdef MB_HAVE_PNG
31 #define DEFAULT_THEME DATADIR "/themes/Default/matchbox/theme.xml"
33 #define DEFAULTTHEME DATADIR "/themes/Default/matchbox/theme.xml"
34 @@ -91,13 +89,6 @@
36 #define DEFAULTTHEMENAME "Default"
38 -#else
40 -#define DEFAULT_THEME DATADIR "/themes/Default/matchbox/theme.xml"
41 -#define DEFAULT_THEME_NAME "Default"
43 -#endif
45 #define CONFDEFAULTS PKGDATADIR "/defaults"
47 /* Simple Macros */