diff options
author | Daniel Laird <danieljlaird@hotmail.com> | 2008-10-16 13:16:17 +0000 |
---|---|---|
committer | Daniel Laird <danieljlaird@hotmail.com> | 2008-10-16 13:16:17 +0000 |
commit | fcb9d45a07b04e0285a005dec7cc4fec6127cc05 (patch) | |
tree | 021e05ed05f0fccfb5eff40c0eb1d53df7329bf3 /package/directfb-examples/directfb-examples-1.2.0-remove-bzero.patch | |
parent | 7ba44159bdce40745bd8563951d0592cca14e749 (diff) | |
download | buildroot-novena-fcb9d45a07b04e0285a005dec7cc4fec6127cc05.tar.gz buildroot-novena-fcb9d45a07b04e0285a005dec7cc4fec6127cc05.zip |
package/directfb-examples: DirectFB examples package
Add the DirectFB examples package.
This patch adds the DirectFB examples package to Buildroot. It is
largely based on a patch written by Daniel Laird, and available at
http://bugs.uclibc.org/view.php?id=4224. I only made a few adaptations
to get it to work properly.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Daniel Laird <daniel.j.laird@nxp.com>
Diffstat (limited to 'package/directfb-examples/directfb-examples-1.2.0-remove-bzero.patch')
-rw-r--r-- | package/directfb-examples/directfb-examples-1.2.0-remove-bzero.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/package/directfb-examples/directfb-examples-1.2.0-remove-bzero.patch b/package/directfb-examples/directfb-examples-1.2.0-remove-bzero.patch new file mode 100644 index 000000000..41616b5c3 --- /dev/null +++ b/package/directfb-examples/directfb-examples-1.2.0-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) |