[Mod] First commit

This commit is contained in:
2022-10-31 22:18:58 +08:00
commit 1c8a3d9709
13090 changed files with 526733 additions and 0 deletions

View 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)

View 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

View File

@ -0,0 +1,3 @@
# Locally computed
sha256 9a2104cc4da8123c8371813551b66b943198979f745cbebc034bb5e10844122a DirectFB-examples-1.7.0.tar.gz
sha256 f91483684678e8aa8ccc4ee0ede3140b0494f8305e162695c7e6e3f83e54f236 COPYING

View 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))