summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/ghostscript/ghostscript/ghostscript-9.05-NOT-check-endian.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-extended/ghostscript/ghostscript/ghostscript-9.05-NOT-check-endian.patch')
-rw-r--r--meta/recipes-extended/ghostscript/ghostscript/ghostscript-9.05-NOT-check-endian.patch44
1 files changed, 0 insertions, 44 deletions
diff --git a/meta/recipes-extended/ghostscript/ghostscript/ghostscript-9.05-NOT-check-endian.patch b/meta/recipes-extended/ghostscript/ghostscript/ghostscript-9.05-NOT-check-endian.patch
deleted file mode 100644
index 14c036e5c5..0000000000
--- a/meta/recipes-extended/ghostscript/ghostscript/ghostscript-9.05-NOT-check-endian.patch
+++ /dev/null
@@ -1,44 +0,0 @@
1configure will check endianness of build machine. When cross compile it fails.
2So remove the check for Yocto.
3
4Upstream-Status: Pending
5
6Signed-off-by: Kang Kai <kai.kang@windriver.com>
7Signed-off-by: Sen Zhang <sen.zhang@windriver.com>
8Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
9
10--- ghostscript/base/configure.ac.orig 2013-06-24 03:58:26.224723002 -0400
11+++ ghostscript/base/configure.ac 2013-06-24 04:03:29.730807957 -0400
12@@ -255,13 +255,13 @@
13
14 AC_MSG_CHECKING([for big endian])
15
16-AC_RUN_IFELSE(
17- [AC_LANG_PROGRAM([#include <stdio.h>], [
18- static const int one = 1;
19- return (*(char*)&one == 0 ? 0 : 1);
20- ])],
21- [BIGENDIAN=1;AC_MSG_RESULT(big)],
22- [BIGENDIAN=0;AC_MSG_RESULT(little)])
23+#AC_RUN_IFELSE(
24+# [AC_LANG_PROGRAM([#include <stdio.h>], [
25+# static const int one = 1;
26+# return (*(char*)&one == 0 ? 0 : 1);
27+# ])],
28+# [BIGENDIAN=1;AC_MSG_RESULT(big)],
29+# [BIGENDIAN=0;AC_MSG_RESULT(little)])
30
31
32
33@@ -1922,9 +1922,11 @@
34 if test "x$BIGENDIAN" != "x0"; then
35 LCMS_ENDIAN="-DUSE_BIG_ENDIAN=$BIGENDIAN"
36 LCMS2_ENDIAN="-DCMS_USE_BIG_ENDIAN=$BIGENDIAN"
37+ AC_MSG_RESULT(big)
38 else
39 LCMS_ENDIAN=
40 LCMS2_ENDIAN=
41+ AC_MSG_RESULT(little)
42 fi
43
44 AC_SUBST(LCMS_ENDIAN)