diff options
Diffstat (limited to 'common/recipes-bsp/amt/files')
-rw-r--r-- | common/recipes-bsp/amt/files/atnetworktool-printf-fix.patch | 20 | ||||
-rw-r--r-- | common/recipes-bsp/amt/files/readlink-declaration.patch | 18 |
2 files changed, 38 insertions, 0 deletions
diff --git a/common/recipes-bsp/amt/files/atnetworktool-printf-fix.patch b/common/recipes-bsp/amt/files/atnetworktool-printf-fix.patch new file mode 100644 index 00000000..6bb03e3a --- /dev/null +++ b/common/recipes-bsp/amt/files/atnetworktool-printf-fix.patch | |||
@@ -0,0 +1,20 @@ | |||
1 | Add a missing debug ifdef causing compilation problems. | ||
2 | |||
3 | Upstream-Status: Submitted | ||
4 | |||
5 | Signed-off-by: Tom Zanussi <tom.zanussi (a] intel.com> | ||
6 | |||
7 | Index: lms-7.1.20/src/tools/ATNetworkTool.cpp | ||
8 | =================================================================== | ||
9 | --- lms-7.1.20.orig/src/tools/ATNetworkTool.cpp 2012-04-30 23:24:56.693879920 -0500 | ||
10 | +++ lms-7.1.20/src/tools/ATNetworkTool.cpp 2012-04-30 23:25:32.363473948 -0500 | ||
11 | @@ -302,7 +302,9 @@ | ||
12 | close(s); | ||
13 | return -1; | ||
14 | } | ||
15 | +#ifdef LMS_NET_DEBUG | ||
16 | printf("successfully binded local\n"); | ||
17 | +#endif | ||
18 | |||
19 | } | ||
20 | if (bind(s, addr, addrlen) == -1) { | ||
diff --git a/common/recipes-bsp/amt/files/readlink-declaration.patch b/common/recipes-bsp/amt/files/readlink-declaration.patch new file mode 100644 index 00000000..0246d501 --- /dev/null +++ b/common/recipes-bsp/amt/files/readlink-declaration.patch | |||
@@ -0,0 +1,18 @@ | |||
1 | Add a missing include causing compilation (missing declaration) problems. | ||
2 | |||
3 | Upstream-Status: Submitted | ||
4 | |||
5 | Signed-off-by: Tom Zanussi <tom.zanussi (a] intel.com> | ||
6 | |||
7 | Index: lms-7.1.20/src/tools/ATVersion.cpp | ||
8 | =================================================================== | ||
9 | --- lms-7.1.20.orig/src/tools/ATVersion.cpp 2012-05-29 20:34:34.061997035 -0500 | ||
10 | +++ lms-7.1.20/src/tools/ATVersion.cpp 2012-05-29 20:35:22.671412948 -0500 | ||
11 | @@ -40,6 +40,7 @@ | ||
12 | #include <cerrno> | ||
13 | #include <fstream> | ||
14 | #include <dirent.h> | ||
15 | +#include <unistd.h> | ||
16 | |||
17 | #define AT_VERSION_ARGUMENT "--version" | ||
18 | #define AT_VERSION_MAXSIZE 40 | ||