diff options
Diffstat (limited to 'meta/recipes-devtools/file/file/fix_version_check.patch')
-rw-r--r-- | meta/recipes-devtools/file/file/fix_version_check.patch | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/meta/recipes-devtools/file/file/fix_version_check.patch b/meta/recipes-devtools/file/file/fix_version_check.patch deleted file mode 100644 index bd24ccb49f..0000000000 --- a/meta/recipes-devtools/file/file/fix_version_check.patch +++ /dev/null | |||
@@ -1,21 +0,0 @@ | |||
1 | Since we are cross-compiling and need to have a cover script this | ||
2 | version check sees "file.real-5.09" not "file-5.09", so fix the | ||
3 | sed. | ||
4 | |||
5 | Upstream-Status: Inapproriate [build-specific] | ||
6 | |||
7 | Signed-off-by: Saul Wold <sgw@linux.intel.com> | ||
8 | |||
9 | Index: file-5.09/magic/Makefile.am | ||
10 | =================================================================== | ||
11 | --- file-5.09.orig/magic/Makefile.am | ||
12 | +++ file-5.09/magic/Makefile.am | ||
13 | @@ -260,7 +260,7 @@ ${MAGIC}: $(EXTRA_DIST) $(FILE_COMPILE_D | ||
14 | @(if expr "${FILE_COMPILE}" : '.*/.*' > /dev/null; then \ | ||
15 | echo "Using ${FILE_COMPILE} to generate ${MAGIC}" > /dev/null; \ | ||
16 | else \ | ||
17 | - v=$$(file --version | sed -e s/file-// -e q); \ | ||
18 | + v=$$(file --version | sed -e s/file.real-// -e q); \ | ||
19 | if [ "$$v" != "${PACKAGE_VERSION}" ]; then \ | ||
20 | echo "Cannot use the installed version of file ($$v) to"; \ | ||
21 | echo "cross-compile file ${PACKAGE_VERSION}"; \ | ||