The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / directfb-examples / 0001-remove-bzero.patch
1 ---
2  src/df_knuckles/matrix.c |    2 +-
3  1 file changed, 1 insertion(+), 1 deletion(-)
4
5 Index: directfb-examples-1.2.0/src/df_knuckles/matrix.c
6 ===================================================================
7 --- directfb-examples-1.2.0.orig/src/df_knuckles/matrix.c
8 +++ directfb-examples-1.2.0/src/df_knuckles/matrix.c
9 @@ -19,7 +19,7 @@
10  static float Cosine[3600];
11  static float Sine[3600];
12  
13 -#define M_CLEAR(m) bzero(m, MATRIX_SIZE)
14 +#define M_CLEAR(m) memset(m, 0, MATRIX_SIZE)
15  #define M_IDENTITY(m) memcpy(m, IdentityMatrix, MATRIX_SIZE)
16  
17  static void MultiplyMatrix(float *A, float *B)