Skip to contentSkip to conversation

svn commit: trunk/buildroot/package: directfb-examples

Buildroot laird at uclibc.org 1 participant 1 message Oct 16, 2008

lore
Share & tools
lore
#0 lore raw

Author: laird
Date: 2008-10-16 06:16:17 -0700 (Thu, 16 Oct 2008) New Revision: 23695

Log:
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.

Added:
trunk/buildroot/package/directfb-examples/ trunk/buildroot/package/directfb-examples/Config.in trunk/buildroot/package/directfb-examples/directfb-examples-1.2.0-remove-bzero.patch trunk/buildroot/package/directfb-examples/directfb-examples.mk

Modified:
trunk/buildroot/package/Config.in

Changeset:
Modified: trunk/buildroot/package/Config.in
===================================================================

buildroot/package/Config.in +1 -0
@@ -309,6 +309,7 @@
 
 comment "graphic libraries"
 source "package/directfb/Config.in"
+source "package/directfb-examples/Config.in"
 source "package/fbdump/Config.in"
 source "package/fusion/Config.in"
 source "package/imagemagick/Config.in"

Added: trunk/buildroot/package/directfb-examples/Config.in
===================================================================

buildroot/package/directfb-examples/Config.in +97 -0

97 lines not on this page · raw message

Added: trunk/buildroot/package/directfb-examples/directfb-examples-1.2.0-remove-bzero.patch
===================================================================

buildroot/package/directfb-examples/directfb-examples-1.2.0-remove-bzero.patch +17 -0
@@ -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)

Added: trunk/buildroot/package/directfb-examples/directfb-examples.mk
===================================================================

buildroot/package/directfb-examples/directfb-examples.mk +105 -0

105 lines not on this page · raw message