~mdw
/
termux-packages
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Elinks: enable true color support (#535)
[termux-packages]
/
packages
/
strace
/
mtd.c.patch
diff --git
a/packages/strace/mtd.c.patch
b/packages/strace/mtd.c.patch
index
065f4a6
..
5ca3f8d
100644
(file)
--- a/
packages/strace/mtd.c.patch
+++ b/
packages/strace/mtd.c.patch
@@
-1,18
+1,12
@@
-diff -u -r ../strace-4.
9
/mtd.c ./mtd.c
---- ../strace-4.
9/mtd.c 2014-05-30 18:10:21
.000000000 -0400
-+++ ./mtd.c 201
4-12-21 14:52:21.111659855 -05
00
-@@ -3
0,12 +30,12
@@
+diff -u -r ../strace-4.
12
/mtd.c ./mtd.c
+--- ../strace-4.
12/mtd.c 2016-05-28 15:16:32
.000000000 -0400
++++ ./mtd.c 201
6-06-09 09:49:02.054555983 -04
00
+@@ -3
2,7 +32,7
@@
/* The mtd api changes quickly, so we have to keep a local copy */
#include <linux/version.h>
-#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 3, 0)
/* The mtd api changes quickly, so we have to keep a local copy */
#include <linux/version.h>
-#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 3, 0)
-+#if
(LINUX_VERSION_CODE < KERNEL_VERSION(3, 3, 0)
) || defined __ANDROID__
++#if
LINUX_VERSION_CODE < KERNEL_VERSION(3, 3, 0
) || defined __ANDROID__
# include "mtd-abi.h"
#else
# include <mtd/mtd-abi.h>
# include "mtd-abi.h"
#else
# include <mtd/mtd-abi.h>
- #endif
--#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 7, 0)
-+#if (LINUX_VERSION_CODE < KERNEL_VERSION(3, 7, 0)) || defined __ANDROID__
- # include "ubi-user.h"
- #else
- # include <mtd/ubi-user.h>