generated from gaoyang3513/SDK_RK3288
[Mod] First commit
This commit is contained in:
17
package/directfb-examples/0001-remove-bzero.patch
Normal file
17
package/directfb-examples/0001-remove-bzero.patch
Normal file
@ -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)
|
||||
11
package/directfb-examples/Config.in
Normal file
11
package/directfb-examples/Config.in
Normal file
@ -0,0 +1,11 @@
|
||||
config BR2_PACKAGE_DIRECTFB_EXAMPLES
|
||||
bool "directfb examples"
|
||||
depends on BR2_PACKAGE_DIRECTFB
|
||||
help
|
||||
The DirectFB-examples package contains a set of simple
|
||||
DirectFB applications that can be used to test and demonstrate
|
||||
various DirectFB features. As of 4 October 2015, DirectFB's
|
||||
website http://www.directfb.org/ is down. See alternative site
|
||||
listed below.
|
||||
|
||||
http://elinux.org/DirectFB
|
||||
3
package/directfb-examples/directfb-examples.hash
Normal file
3
package/directfb-examples/directfb-examples.hash
Normal file
@ -0,0 +1,3 @@
|
||||
# Locally computed
|
||||
sha256 9a2104cc4da8123c8371813551b66b943198979f745cbebc034bb5e10844122a DirectFB-examples-1.7.0.tar.gz
|
||||
sha256 f91483684678e8aa8ccc4ee0ede3140b0494f8305e162695c7e6e3f83e54f236 COPYING
|
||||
18
package/directfb-examples/directfb-examples.mk
Normal file
18
package/directfb-examples/directfb-examples.mk
Normal file
@ -0,0 +1,18 @@
|
||||
################################################################################
|
||||
#
|
||||
# directfb-examples
|
||||
#
|
||||
################################################################################
|
||||
|
||||
DIRECTFB_EXAMPLES_VERSION = 1.7.0
|
||||
DIRECTFB_EXAMPLES_SITE = http://sources.buildroot.net/directfb-examples
|
||||
DIRECTFB_EXAMPLES_SOURCE = DirectFB-examples-$(DIRECTFB_EXAMPLES_VERSION).tar.gz
|
||||
DIRECTFB_EXAMPLES_LICENSE = MIT
|
||||
DIRECTFB_EXAMPLES_LICENSE_FILES = COPYING
|
||||
DIRECTFB_EXAMPLES_DEPENDENCIES = directfb
|
||||
|
||||
ifeq ($(BR2_STATIC_LIBS),y)
|
||||
DIRECTFB_EXAMPLES_CONF_OPTS += LIBS=-lstdc++
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user