updated on Mon Jan 23 16:10:15 UTC 2012
[aur-mirror.git] / yadex / yadex-1.7.0-fixbuild.patch
blobbab870e6193d326b0132cd8464867f46e8e7c797
1 --- yadex-1.7.0.orig/src/wadlist.cc Fri Mar 28 18:37:32 2003
2 +++ yadex-1.7.0/src/wadlist.cc Tue Jul 3 18:35:21 2007
3 @@ -175,7 +175,8 @@
4 priv->iter = priv->list.erase (i);
5 if (priv->iter == priv->list.begin ())
7 - priv->iter = 0; // Catch bugs
8 + list_t::iterator empty;
9 + priv->iter = empty; // Catch bugs
10 priv->rewound = true;
13 --- yadex-1.7.0.orig/src/yadex.h Sat Jan 1 14:23:40 2005
14 +++ yadex-1.7.0/src/yadex.h Sat Jan 1 14:23:50 2005
15 @@ -98,13 +98,13 @@
16 #define F_I16_D "hd"
17 #define F_I16_H "hX"
19 -typedef unsigned long u32;
20 -#define F_U32_D "lu"
21 -#define F_U32_H "lX"
22 +typedef unsigned int u32;
23 +#define F_U32_D "u"
24 +#define F_U32_H "X"
26 -typedef signed long i32;
27 -#define F_I32_D "ld"
28 -#define F_I32_H "lX"
29 +typedef signed int i32;
30 +#define F_I32_D "d"
31 +#define F_I32_H "X"
35 --- yadex-1.7.0.orig/src/gfx.cc 2009-05-24 02:01:55.921088470 +0200
36 +++ yadex-1.7.0/src/gfx.cc 2009-05-24 02:07:44.478136129 +0200
37 @@ -310,7 +310,7 @@
38 win_vis_id = vis_info->visualid;
39 #if defined _cplusplus || defined __cplusplus
40 win_vis_class = vis_info->c_class;
41 -#elif
42 +#else
43 win_vis_class = vis_info->class;
44 #endif
45 win_ncolours = vis_info->colormap_size;