directfb-examples: drop version number from bzero patch
authorPeter Korsgaard <jacmet@sunsite.dk>
Sun, 28 Apr 2013 19:50:05 +0000 (21:50 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sun, 28 Apr 2013 19:52:12 +0000 (21:52 +0200)
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/directfb-examples/directfb-examples-1.2.0-remove-bzero.patch [deleted file]
package/directfb-examples/directfb-examples-remove-bzero.patch [new file with mode: 0644]

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
deleted file mode 100644 (file)
index 41616b5..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
----
- 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)
diff --git a/package/directfb-examples/directfb-examples-remove-bzero.patch b/package/directfb-examples/directfb-examples-remove-bzero.patch
new file mode 100644 (file)
index 0000000..41616b5
--- /dev/null
@@ -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)