diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2013-04-28 21:50:05 +0200 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2013-04-28 21:52:12 +0200 |
commit | 37c6e51a15e8f932cfe23b60d2d37c47213fde83 (patch) | |
tree | 078e564157b6fab4c8403268652ea8940601ef89 /package/directfb-examples/directfb-examples-remove-bzero.patch | |
parent | 36f7b96d6f51d340a2d0bf32b981c00517874410 (diff) | |
download | buildroot-novena-37c6e51a15e8f932cfe23b60d2d37c47213fde83.tar.gz buildroot-novena-37c6e51a15e8f932cfe23b60d2d37c47213fde83.zip |
directfb-examples: drop version number from bzero patch
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/directfb-examples/directfb-examples-remove-bzero.patch')
-rw-r--r-- | package/directfb-examples/directfb-examples-remove-bzero.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/package/directfb-examples/directfb-examples-remove-bzero.patch b/package/directfb-examples/directfb-examples-remove-bzero.patch new file mode 100644 index 000000000..41616b5c3 --- /dev/null +++ b/package/directfb-examples/directfb-examples-remove-bzero.patch @@ -0,0 +1,17 @@ +--- + src/df_knuckles/matrix.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +Index: directfb-examples-1.2.0/src/df_knuckles/matrix.c +=================================================================== +--- directfb-examples-1.2.0.orig/src/df_knuckles/matrix.c ++++ directfb-examples-1.2.0/src/df_knuckles/matrix.c +@@ -19,7 +19,7 @@ + static float Cosine[3600]; + static float Sine[3600]; + +-#define M_CLEAR(m) bzero(m, MATRIX_SIZE) ++#define M_CLEAR(m) memset(m, 0, MATRIX_SIZE) + #define M_IDENTITY(m) memcpy(m, IdentityMatrix, MATRIX_SIZE) + + static void MultiplyMatrix(float *A, float *B) |