python: make hashlib and readline modules really optional
[buildroot-gz.git] / package / directfb-examples / 0001-remove-bzero.patch
blob41616b5c312e5e0fca97a5ac9476458eae3041f0
1 ---
2 src/df_knuckles/matrix.c | 2 +-
3 1 file changed, 1 insertion(+), 1 deletion(-)
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];
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)
17 static void MultiplyMatrix(float *A, float *B)