diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2020-04-30 11:58:08 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-05-03 15:41:40 +0100 |
commit | a8a25ba59bb55d04f62d3eae8c3771f4f246e763 (patch) | |
tree | 891dcbb01c253b20ca90de2559bffd2206602c9a /meta | |
parent | 972b2705020debd1c35c29aa5690a57f79f25c38 (diff) | |
download | poky-a8a25ba59bb55d04f62d3eae8c3771f4f246e763.tar.gz |
ghostscript: update 9.50 -> 9.52
Drop all custom objarch.h files; ghostscript nowadays generates
that with autoconf.
Freetype can no longer be disabled.
Building out of source tree is broken.
(From OE-Core rev: bb699a99b2e99a868520430c614d55ea3004427c)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
21 files changed, 19 insertions, 826 deletions
diff --git a/meta/recipes-extended/ghostscript/files/do-not-check-local-libpng-source.patch b/meta/recipes-extended/ghostscript/files/do-not-check-local-libpng-source.patch index 5834ffaf9f..a9afb9948c 100644 --- a/meta/recipes-extended/ghostscript/files/do-not-check-local-libpng-source.patch +++ b/meta/recipes-extended/ghostscript/files/do-not-check-local-libpng-source.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From a954bf29a5f906b3151dffbecb5856e02e1565da Mon Sep 17 00:00:00 2001 | 1 | From 2adaa7366064a8f18af864eda74e52877a89620c Mon Sep 17 00:00:00 2001 |
2 | From: Hongxu Jia <hongxu.jia@windriver.com> | 2 | From: Hongxu Jia <hongxu.jia@windriver.com> |
3 | Date: Mon, 18 Jan 2016 01:00:30 -0500 | 3 | Date: Mon, 18 Jan 2016 01:00:30 -0500 |
4 | Subject: [PATCH 03/10] configure.ac: do not check local png source | 4 | Subject: [PATCH] configure.ac: do not check local png source |
5 | 5 | ||
6 | In oe-core, it did not need to compile local libpng | 6 | In oe-core, it did not need to compile local libpng |
7 | source in ghostscript, so do not check local png | 7 | source in ghostscript, so do not check local png |
@@ -11,28 +11,21 @@ libpng library. | |||
11 | Upstream-Status: Inappropriate [OE-Core specific] | 11 | Upstream-Status: Inappropriate [OE-Core specific] |
12 | 12 | ||
13 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> | 13 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> |
14 | |||
14 | --- | 15 | --- |
15 | configure.ac | 4 ++-- | 16 | configure.ac | 2 +- |
16 | 1 file changed, 2 insertions(+), 2 deletions(-) | 17 | 1 file changed, 1 insertion(+), 1 deletion(-) |
17 | 18 | ||
18 | diff --git a/configure.ac b/configure.ac | 19 | diff --git a/configure.ac b/configure.ac |
19 | index 9341930..80a60b1 100644 | 20 | index 698abd3..e65ac8b 100644 |
20 | --- a/configure.ac | 21 | --- a/configure.ac |
21 | +++ b/configure.ac | 22 | +++ b/configure.ac |
22 | @@ -1114,11 +1114,11 @@ AC_SUBST(ZLIBDIR) | 23 | @@ -1241,7 +1241,7 @@ else |
23 | AC_SUBST(FT_SYS_ZLIB) | 24 | PNGDEVS='' |
24 | 25 | PNGDEVS_ALL='png48 png16m pnggray pngmono pngmonod png256 png16 pngalpha' | |
25 | dnl png for the png output device; it also requires zlib | 26 | AC_MSG_CHECKING([for local png library source]) |
26 | -LIBPNGDIR=src | 27 | - if test -f $srcdir/libpng/pngread.c; then |
27 | +LIBPNGDIR=$srcdir/libpng | 28 | + if false; then |
28 | PNGDEVS='' | 29 | AC_MSG_RESULT([yes]) |
29 | PNGDEVS_ALL='png48 png16m pnggray pngmono pngmonod png256 png16 pngalpha' | 30 | SHARE_LIBPNG=0 |
30 | AC_MSG_CHECKING([for local png library source]) | 31 | LIBPNGDIR=$srcdir/libpng |
31 | -if test -f $srcdir/libpng/pngread.c; then | ||
32 | +if false; then | ||
33 | AC_MSG_RESULT([yes]) | ||
34 | SHARE_LIBPNG=0 | ||
35 | LIBPNGDIR=$srcdir/libpng | ||
36 | -- | ||
37 | 1.8.3.1 | ||
38 | |||
diff --git a/meta/recipes-extended/ghostscript/ghostscript/CVE-2019-14869-0001.patch b/meta/recipes-extended/ghostscript/ghostscript/CVE-2019-14869-0001.patch deleted file mode 100644 index 715ec1c450..0000000000 --- a/meta/recipes-extended/ghostscript/ghostscript/CVE-2019-14869-0001.patch +++ /dev/null | |||
@@ -1,70 +0,0 @@ | |||
1 | From 485904772c5f0aa1140032746e5a0abfc40f4cef Mon Sep 17 00:00:00 2001 | ||
2 | From: Chris Liddell <chris.liddell@artifex.com> | ||
3 | Date: Tue, 5 Nov 2019 09:45:27 +0000 | ||
4 | Subject: [PATCH] Bug 701841: remove .forceput from /.charkeys | ||
5 | |||
6 | When loading Type 1 or Truetype fonts from disk, we attempt to extend the glyph | ||
7 | name table to include all identifiable glyph names from the Adobe Glyph List. | ||
8 | |||
9 | In the case of Type 1 fonts, the font itself (almost always) marks the | ||
10 | CharStrings dictionary as read-only, hence we have to use .forceput for that | ||
11 | case. | ||
12 | |||
13 | But for Truetype fonts, the CharStrings dictionary is created internally and is | ||
14 | not read-only until *after* we have fully populated it (including the extended | ||
15 | glyph names from the AGL), hence there is no need for .forceput, and no need to | ||
16 | carry the security risk of using it. | ||
17 | |||
18 | Replace with regular put. | ||
19 | |||
20 | CVE: CVE-2019-14869 | ||
21 | Upstream-Status: Backport [git://git.ghostscript.com/ghostpdl.git] | ||
22 | |||
23 | Signed-off-by: Stefan Ghinea <stefan.ghinea@windriver.com> | ||
24 | --- | ||
25 | Resource/Init/gs_ttf.ps | 8 ++++---- | ||
26 | 1 file changed, 4 insertions(+), 4 deletions(-) | ||
27 | |||
28 | diff --git a/Resource/Init/gs_ttf.ps b/Resource/Init/gs_ttf.ps | ||
29 | index e34967d..5354ff0 100644 | ||
30 | --- a/Resource/Init/gs_ttf.ps | ||
31 | +++ b/Resource/Init/gs_ttf.ps | ||
32 | @@ -1301,7 +1301,7 @@ currentdict /.pickcmap_with_no_xlatmap .undef | ||
33 | TTFDEBUG { (\n1 setting alias: ) print dup ==only | ||
34 | ( to be the same as ) print 2 index //== exec } if | ||
35 | |||
36 | - 7 index 2 index 3 -1 roll exch .forceput | ||
37 | + 7 index 2 index 3 -1 roll exch put | ||
38 | } forall | ||
39 | pop pop pop | ||
40 | } | ||
41 | @@ -1319,7 +1319,7 @@ currentdict /.pickcmap_with_no_xlatmap .undef | ||
42 | exch pop | ||
43 | TTFDEBUG { (\n2 setting alias: ) print 1 index ==only | ||
44 | ( to use glyph index: ) print dup //== exec } if | ||
45 | - 5 index 3 1 roll .forceput | ||
46 | + 5 index 3 1 roll put | ||
47 | //false | ||
48 | } | ||
49 | { | ||
50 | @@ -1336,7 +1336,7 @@ currentdict /.pickcmap_with_no_xlatmap .undef | ||
51 | { % CharStrings(dict) isunicode(boolean) cmap(dict) RAGL(dict) gname(name) codep(integer) gindex(integer) | ||
52 | TTFDEBUG { (\3 nsetting alias: ) print 1 index ==only | ||
53 | ( to be index: ) print dup //== exec } if | ||
54 | - exch pop 5 index 3 1 roll .forceput | ||
55 | + exch pop 5 index 3 1 roll put | ||
56 | } | ||
57 | { | ||
58 | pop pop | ||
59 | @@ -1366,7 +1366,7 @@ currentdict /.pickcmap_with_no_xlatmap .undef | ||
60 | } ifelse | ||
61 | ] | ||
62 | TTFDEBUG { (Encoding: ) print dup === flush } if | ||
63 | -} .bind executeonly odef % hides .forceput | ||
64 | +} .bind odef | ||
65 | |||
66 | % ---------------- CIDFontType 2 font loading ---------------- % | ||
67 | |||
68 | -- | ||
69 | 2.20.1 | ||
70 | |||
diff --git a/meta/recipes-extended/ghostscript/ghostscript/aarch64/objarch.h b/meta/recipes-extended/ghostscript/ghostscript/aarch64/objarch.h deleted file mode 100644 index a05de29def..0000000000 --- a/meta/recipes-extended/ghostscript/ghostscript/aarch64/objarch.h +++ /dev/null | |||
@@ -1,40 +0,0 @@ | |||
1 | /* Parameters derived from machine and compiler architecture. */ | ||
2 | /* This file is generated mechanically by genarch.c. */ | ||
3 | |||
4 | /* ---------------- Scalar alignments ---------------- */ | ||
5 | |||
6 | #define ARCH_ALIGN_SHORT_MOD 2 | ||
7 | #define ARCH_ALIGN_INT_MOD 4 | ||
8 | #define ARCH_ALIGN_LONG_MOD 8 | ||
9 | #define ARCH_ALIGN_PTR_MOD 8 | ||
10 | #define ARCH_ALIGN_FLOAT_MOD 4 | ||
11 | #define ARCH_ALIGN_DOUBLE_MOD 8 | ||
12 | |||
13 | /* ---------------- Scalar sizes ---------------- */ | ||
14 | |||
15 | #define ARCH_LOG2_SIZEOF_CHAR 0 | ||
16 | #define ARCH_LOG2_SIZEOF_SHORT 1 | ||
17 | #define ARCH_LOG2_SIZEOF_INT 2 | ||
18 | #define ARCH_LOG2_SIZEOF_LONG 3 | ||
19 | #define ARCH_LOG2_SIZEOF_LONG_LONG 3 | ||
20 | #define ARCH_SIZEOF_GX_COLOR_INDEX 8 | ||
21 | #define ARCH_SIZEOF_PTR 8 | ||
22 | #define ARCH_SIZEOF_FLOAT 4 | ||
23 | #define ARCH_SIZEOF_DOUBLE 8 | ||
24 | #define ARCH_FLOAT_MANTISSA_BITS 24 | ||
25 | #define ARCH_DOUBLE_MANTISSA_BITS 53 | ||
26 | |||
27 | /* ---------------- Unsigned max values ---------------- */ | ||
28 | |||
29 | #define ARCH_MAX_UCHAR ((unsigned char)0xff + (unsigned char)0) | ||
30 | #define ARCH_MAX_USHORT ((unsigned short)0xffff + (unsigned short)0) | ||
31 | #define ARCH_MAX_UINT ((unsigned int)~0 + (unsigned int)0) | ||
32 | #define ARCH_MAX_ULONG ((unsigned long)~0L + (unsigned long)0) | ||
33 | |||
34 | /* ---------------- Miscellaneous ---------------- */ | ||
35 | |||
36 | #define ARCH_IS_BIG_ENDIAN 0 | ||
37 | #define ARCH_PTRS_ARE_SIGNED 0 | ||
38 | #define ARCH_FLOATS_ARE_IEEE 1 | ||
39 | #define ARCH_ARITH_RSHIFT 2 | ||
40 | #define ARCH_DIV_NEG_POS_TRUNCATES 1 | ||
diff --git a/meta/recipes-extended/ghostscript/ghostscript/arm/objarch.h b/meta/recipes-extended/ghostscript/ghostscript/arm/objarch.h deleted file mode 100644 index e8772cd958..0000000000 --- a/meta/recipes-extended/ghostscript/ghostscript/arm/objarch.h +++ /dev/null | |||
@@ -1,40 +0,0 @@ | |||
1 | /* Parameters derived from machine and compiler architecture. */ | ||
2 | /* This file is generated mechanically by genarch.c. */ | ||
3 | |||
4 | /* ---------------- Scalar alignments ---------------- */ | ||
5 | |||
6 | #define ARCH_ALIGN_SHORT_MOD 2 | ||
7 | #define ARCH_ALIGN_INT_MOD 4 | ||
8 | #define ARCH_ALIGN_LONG_MOD 4 | ||
9 | #define ARCH_ALIGN_PTR_MOD 4 | ||
10 | #define ARCH_ALIGN_FLOAT_MOD 4 | ||
11 | #define ARCH_ALIGN_DOUBLE_MOD 8 | ||
12 | |||
13 | /* ---------------- Scalar sizes ---------------- */ | ||
14 | |||
15 | #define ARCH_LOG2_SIZEOF_CHAR 0 | ||
16 | #define ARCH_LOG2_SIZEOF_SHORT 1 | ||
17 | #define ARCH_LOG2_SIZEOF_INT 2 | ||
18 | #define ARCH_LOG2_SIZEOF_LONG 2 | ||
19 | #define ARCH_LOG2_SIZEOF_LONG_LONG 3 | ||
20 | #define ARCH_SIZEOF_GX_COLOR_INDEX 8 | ||
21 | #define ARCH_SIZEOF_PTR 4 | ||
22 | #define ARCH_SIZEOF_FLOAT 4 | ||
23 | #define ARCH_SIZEOF_DOUBLE 8 | ||
24 | #define ARCH_FLOAT_MANTISSA_BITS 24 | ||
25 | #define ARCH_DOUBLE_MANTISSA_BITS 53 | ||
26 | |||
27 | /* ---------------- Unsigned max values ---------------- */ | ||
28 | |||
29 | #define ARCH_MAX_UCHAR ((unsigned char)0xff + (unsigned char)0) | ||
30 | #define ARCH_MAX_USHORT ((unsigned short)0xffff + (unsigned short)0) | ||
31 | #define ARCH_MAX_UINT ((unsigned int)~0 + (unsigned int)0) | ||
32 | #define ARCH_MAX_ULONG ((unsigned long)~0L + (unsigned long)0) | ||
33 | |||
34 | /* ---------------- Miscellaneous ---------------- */ | ||
35 | |||
36 | #define ARCH_IS_BIG_ENDIAN 0 | ||
37 | #define ARCH_PTRS_ARE_SIGNED 0 | ||
38 | #define ARCH_FLOATS_ARE_IEEE 1 | ||
39 | #define ARCH_ARITH_RSHIFT 2 | ||
40 | #define ARCH_DIV_NEG_POS_TRUNCATES 1 | ||
diff --git a/meta/recipes-extended/ghostscript/ghostscript/armeb/objarch.h b/meta/recipes-extended/ghostscript/ghostscript/armeb/objarch.h deleted file mode 100644 index 359097f356..0000000000 --- a/meta/recipes-extended/ghostscript/ghostscript/armeb/objarch.h +++ /dev/null | |||
@@ -1,40 +0,0 @@ | |||
1 | /* Parameters derived from machine and compiler architecture. */ | ||
2 | /* This file is generated mechanically by genarch.c. */ | ||
3 | |||
4 | /* ---------------- Scalar alignments ---------------- */ | ||
5 | |||
6 | #define ARCH_ALIGN_SHORT_MOD 2 | ||
7 | #define ARCH_ALIGN_INT_MOD 4 | ||
8 | #define ARCH_ALIGN_LONG_MOD 4 | ||
9 | #define ARCH_ALIGN_PTR_MOD 4 | ||
10 | #define ARCH_ALIGN_FLOAT_MOD 4 | ||
11 | #define ARCH_ALIGN_DOUBLE_MOD 8 | ||
12 | |||
13 | /* ---------------- Scalar sizes ---------------- */ | ||
14 | |||
15 | #define ARCH_LOG2_SIZEOF_CHAR 0 | ||
16 | #define ARCH_LOG2_SIZEOF_SHORT 1 | ||
17 | #define ARCH_LOG2_SIZEOF_INT 2 | ||
18 | #define ARCH_LOG2_SIZEOF_LONG 2 | ||
19 | #define ARCH_LOG2_SIZEOF_LONG_LONG 3 | ||
20 | #define ARCH_SIZEOF_GX_COLOR_INDEX 8 | ||
21 | #define ARCH_SIZEOF_PTR 4 | ||
22 | #define ARCH_SIZEOF_FLOAT 4 | ||
23 | #define ARCH_SIZEOF_DOUBLE 8 | ||
24 | #define ARCH_FLOAT_MANTISSA_BITS 24 | ||
25 | #define ARCH_DOUBLE_MANTISSA_BITS 53 | ||
26 | |||
27 | /* ---------------- Unsigned max values ---------------- */ | ||
28 | |||
29 | #define ARCH_MAX_UCHAR ((unsigned char)0xff + (unsigned char)0) | ||
30 | #define ARCH_MAX_USHORT ((unsigned short)0xffff + (unsigned short)0) | ||
31 | #define ARCH_MAX_UINT ((unsigned int)~0 + (unsigned int)0) | ||
32 | #define ARCH_MAX_ULONG ((unsigned long)~0L + (unsigned long)0) | ||
33 | |||
34 | /* ---------------- Miscellaneous ---------------- */ | ||
35 | |||
36 | #define ARCH_IS_BIG_ENDIAN 1 | ||
37 | #define ARCH_PTRS_ARE_SIGNED 0 | ||
38 | #define ARCH_FLOATS_ARE_IEEE 1 | ||
39 | #define ARCH_ARITH_RSHIFT 2 | ||
40 | #define ARCH_DIV_NEG_POS_TRUNCATES 1 | ||
diff --git a/meta/recipes-extended/ghostscript/ghostscript/ghostscript-9.02-genarch.patch b/meta/recipes-extended/ghostscript/ghostscript/ghostscript-9.02-genarch.patch deleted file mode 100644 index 7b70bb8e2c..0000000000 --- a/meta/recipes-extended/ghostscript/ghostscript/ghostscript-9.02-genarch.patch +++ /dev/null | |||
@@ -1,38 +0,0 @@ | |||
1 | From c076d0fc970f190f723018258790c79b59daba2e Mon Sep 17 00:00:00 2001 | ||
2 | From: Hongxu Jia <hongxu.jia@windriver.com> | ||
3 | Date: Sat, 11 May 2019 21:20:27 +0800 | ||
4 | Subject: [PATCH] not generate objarch.h at compile time | ||
5 | |||
6 | Import patch from windriver linux for cross compilation, and split | ||
7 | patches into oe way under different directories such as i586, powerpc etc | ||
8 | according to Richard's opinion. | ||
9 | |||
10 | Upstream-Status: Pending | ||
11 | |||
12 | Signed-off-by: Kang Kai <kai.kang@windriver.com> | ||
13 | Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> | ||
14 | |||
15 | Rebase to 9.27 | ||
16 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> | ||
17 | --- | ||
18 | base/lib.mak | 4 ++-- | ||
19 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
20 | |||
21 | diff --git a/base/lib.mak b/base/lib.mak | ||
22 | index 3ed088a..5af2b43 100644 | ||
23 | --- a/base/lib.mak | ||
24 | +++ b/base/lib.mak | ||
25 | @@ -87,8 +87,8 @@ arch_h=$(GLGEN)arch.h | ||
26 | stdpre_h=$(GLSRC)stdpre.h | ||
27 | stdint__h=$(GLSRC)stdint_.h | ||
28 | |||
29 | -$(GLGEN)arch.h : $(GENARCH_XE) | ||
30 | - $(EXP)$(GENARCH_XE) $(GLGEN)arch.h $(TARGET_ARCH_FILE) | ||
31 | +##$(GLGEN)arch.h : $(GENARCH_XE) | ||
32 | +## $(EXP)$(GENARCH_XE) $(GLGEN)arch.h $(TARGET_ARCH_FILE) | ||
33 | |||
34 | # Platform interfaces | ||
35 | |||
36 | -- | ||
37 | 2.7.4 | ||
38 | |||
diff --git a/meta/recipes-extended/ghostscript/ghostscript/i586/objarch.h b/meta/recipes-extended/ghostscript/ghostscript/i586/objarch.h deleted file mode 100644 index 5817b7a6d7..0000000000 --- a/meta/recipes-extended/ghostscript/ghostscript/i586/objarch.h +++ /dev/null | |||
@@ -1,41 +0,0 @@ | |||
1 | /* Parameters derived from machine and compiler architecture. */ | ||
2 | /* This file is generated mechanically by genarch.c. */ | ||
3 | |||
4 | /* ---------------- Scalar alignments ---------------- */ | ||
5 | |||
6 | #define ARCH_ALIGN_SHORT_MOD 2 | ||
7 | #define ARCH_ALIGN_INT_MOD 4 | ||
8 | #define ARCH_ALIGN_LONG_MOD 4 | ||
9 | #define ARCH_ALIGN_PTR_MOD 4 | ||
10 | #define ARCH_ALIGN_FLOAT_MOD 4 | ||
11 | #define ARCH_ALIGN_DOUBLE_MOD 4 | ||
12 | |||
13 | /* ---------------- Scalar sizes ---------------- */ | ||
14 | |||
15 | #define ARCH_LOG2_SIZEOF_CHAR 0 | ||
16 | #define ARCH_LOG2_SIZEOF_SHORT 1 | ||
17 | #define ARCH_LOG2_SIZEOF_INT 2 | ||
18 | #define ARCH_LOG2_SIZEOF_LONG 2 | ||
19 | #define ARCH_LOG2_SIZEOF_LONG_LONG 3 | ||
20 | #define ARCH_SIZEOF_GX_COLOR_INDEX 8 | ||
21 | #define ARCH_SIZEOF_PTR 4 | ||
22 | #define ARCH_SIZEOF_FLOAT 4 | ||
23 | #define ARCH_SIZEOF_DOUBLE 8 | ||
24 | #define ARCH_FLOAT_MANTISSA_BITS 24 | ||
25 | #define ARCH_DOUBLE_MANTISSA_BITS 53 | ||
26 | |||
27 | /* ---------------- Unsigned max values ---------------- */ | ||
28 | |||
29 | #define ARCH_MAX_UCHAR ((unsigned char)0xff + (unsigned char)0) | ||
30 | #define ARCH_MAX_USHORT ((unsigned short)0xffff + (unsigned short)0) | ||
31 | #define ARCH_MAX_UINT ((unsigned int)~0 + (unsigned int)0) | ||
32 | #define ARCH_MAX_ULONG ((unsigned long)~0L + (unsigned long)0) | ||
33 | |||
34 | /* ---------------- Miscellaneous ---------------- */ | ||
35 | |||
36 | #define ARCH_IS_BIG_ENDIAN 0 | ||
37 | #define ARCH_PTRS_ARE_SIGNED 0 | ||
38 | #define ARCH_FLOATS_ARE_IEEE 1 | ||
39 | #define ARCH_ARITH_RSHIFT 2 | ||
40 | #define ARCH_DIV_NEG_POS_TRUNCATES 1 | ||
41 | |||
diff --git a/meta/recipes-extended/ghostscript/ghostscript/microblaze/objarch.h b/meta/recipes-extended/ghostscript/ghostscript/microblaze/objarch.h deleted file mode 100644 index 63232fdfa6..0000000000 --- a/meta/recipes-extended/ghostscript/ghostscript/microblaze/objarch.h +++ /dev/null | |||
@@ -1,40 +0,0 @@ | |||
1 | /* Parameters derived from machine and compiler architecture. */ | ||
2 | /* This file is generated mechanically by genarch.c. */ | ||
3 | |||
4 | /* ---------------- Scalar alignments ---------------- */ | ||
5 | |||
6 | #define ARCH_ALIGN_SHORT_MOD 2 | ||
7 | #define ARCH_ALIGN_INT_MOD 4 | ||
8 | #define ARCH_ALIGN_LONG_MOD 4 | ||
9 | #define ARCH_ALIGN_PTR_MOD 4 | ||
10 | #define ARCH_ALIGN_FLOAT_MOD 4 | ||
11 | #define ARCH_ALIGN_DOUBLE_MOD 4 | ||
12 | |||
13 | /* ---------------- Scalar sizes ---------------- */ | ||
14 | |||
15 | #define ARCH_LOG2_SIZEOF_CHAR 0 | ||
16 | #define ARCH_LOG2_SIZEOF_SHORT 1 | ||
17 | #define ARCH_LOG2_SIZEOF_INT 2 | ||
18 | #define ARCH_LOG2_SIZEOF_LONG 2 | ||
19 | #define ARCH_LOG2_SIZEOF_LONG_LONG 3 | ||
20 | #define ARCH_SIZEOF_GX_COLOR_INDEX 8 | ||
21 | #define ARCH_SIZEOF_PTR 4 | ||
22 | #define ARCH_SIZEOF_FLOAT 4 | ||
23 | #define ARCH_SIZEOF_DOUBLE 8 | ||
24 | #define ARCH_FLOAT_MANTISSA_BITS 24 | ||
25 | #define ARCH_DOUBLE_MANTISSA_BITS 53 | ||
26 | |||
27 | /* ---------------- Unsigned max values ---------------- */ | ||
28 | |||
29 | #define ARCH_MAX_UCHAR ((unsigned char)0xff + (unsigned char)0) | ||
30 | #define ARCH_MAX_USHORT ((unsigned short)0xffff + (unsigned short)0) | ||
31 | #define ARCH_MAX_UINT ((unsigned int)~0 + (unsigned int)0) | ||
32 | #define ARCH_MAX_ULONG ((unsigned long)~0L + (unsigned long)0) | ||
33 | |||
34 | /* ---------------- Miscellaneous ---------------- */ | ||
35 | |||
36 | #define ARCH_IS_BIG_ENDIAN 1 | ||
37 | #define ARCH_PTRS_ARE_SIGNED 0 | ||
38 | #define ARCH_FLOATS_ARE_IEEE 1 | ||
39 | #define ARCH_ARITH_RSHIFT 2 | ||
40 | #define ARCH_DIV_NEG_POS_TRUNCATES 1 | ||
diff --git a/meta/recipes-extended/ghostscript/ghostscript/microblazeel/objarch.h b/meta/recipes-extended/ghostscript/ghostscript/microblazeel/objarch.h deleted file mode 100644 index 3ec8101681..0000000000 --- a/meta/recipes-extended/ghostscript/ghostscript/microblazeel/objarch.h +++ /dev/null | |||
@@ -1,40 +0,0 @@ | |||
1 | /* Parameters derived from machine and compiler architecture. */ | ||
2 | /* This file is generated mechanically by genarch.c. */ | ||
3 | |||
4 | /* ---------------- Scalar alignments ---------------- */ | ||
5 | |||
6 | #define ARCH_ALIGN_SHORT_MOD 2 | ||
7 | #define ARCH_ALIGN_INT_MOD 4 | ||
8 | #define ARCH_ALIGN_LONG_MOD 4 | ||
9 | #define ARCH_ALIGN_PTR_MOD 4 | ||
10 | #define ARCH_ALIGN_FLOAT_MOD 4 | ||
11 | #define ARCH_ALIGN_DOUBLE_MOD 4 | ||
12 | |||
13 | /* ---------------- Scalar sizes ---------------- */ | ||
14 | |||
15 | #define ARCH_LOG2_SIZEOF_CHAR 0 | ||
16 | #define ARCH_LOG2_SIZEOF_SHORT 1 | ||
17 | #define ARCH_LOG2_SIZEOF_INT 2 | ||
18 | #define ARCH_LOG2_SIZEOF_LONG 2 | ||
19 | #define ARCH_LOG2_SIZEOF_LONG_LONG 3 | ||
20 | #define ARCH_SIZEOF_GX_COLOR_INDEX 8 | ||
21 | #define ARCH_SIZEOF_PTR 4 | ||
22 | #define ARCH_SIZEOF_FLOAT 4 | ||
23 | #define ARCH_SIZEOF_DOUBLE 8 | ||
24 | #define ARCH_FLOAT_MANTISSA_BITS 24 | ||
25 | #define ARCH_DOUBLE_MANTISSA_BITS 53 | ||
26 | |||
27 | /* ---------------- Unsigned max values ---------------- */ | ||
28 | |||
29 | #define ARCH_MAX_UCHAR ((unsigned char)0xff + (unsigned char)0) | ||
30 | #define ARCH_MAX_USHORT ((unsigned short)0xffff + (unsigned short)0) | ||
31 | #define ARCH_MAX_UINT ((unsigned int)~0 + (unsigned int)0) | ||
32 | #define ARCH_MAX_ULONG ((unsigned long)~0L + (unsigned long)0) | ||
33 | |||
34 | /* ---------------- Miscellaneous ---------------- */ | ||
35 | |||
36 | #define ARCH_IS_BIG_ENDIAN 0 | ||
37 | #define ARCH_PTRS_ARE_SIGNED 0 | ||
38 | #define ARCH_FLOATS_ARE_IEEE 1 | ||
39 | #define ARCH_ARITH_RSHIFT 2 | ||
40 | #define ARCH_DIV_NEG_POS_TRUNCATES 1 | ||
diff --git a/meta/recipes-extended/ghostscript/ghostscript/mipsarchn32eb/objarch.h b/meta/recipes-extended/ghostscript/ghostscript/mipsarchn32eb/objarch.h deleted file mode 100644 index 0d0a16bfa3..0000000000 --- a/meta/recipes-extended/ghostscript/ghostscript/mipsarchn32eb/objarch.h +++ /dev/null | |||
@@ -1,40 +0,0 @@ | |||
1 | /* Parameters derived from machine and compiler architecture. */ | ||
2 | /* This file is generated mechanically by genarch.c. */ | ||
3 | |||
4 | /* ---------------- Scalar alignments ---------------- */ | ||
5 | |||
6 | #define ARCH_ALIGN_SHORT_MOD 2 | ||
7 | #define ARCH_ALIGN_INT_MOD 4 | ||
8 | #define ARCH_ALIGN_LONG_MOD 8 | ||
9 | #define ARCH_ALIGN_PTR_MOD 8 | ||
10 | #define ARCH_ALIGN_FLOAT_MOD 4 | ||
11 | #define ARCH_ALIGN_DOUBLE_MOD 8 | ||
12 | |||
13 | /* ---------------- Scalar sizes ---------------- */ | ||
14 | |||
15 | #define ARCH_LOG2_SIZEOF_CHAR 0 | ||
16 | #define ARCH_LOG2_SIZEOF_SHORT 1 | ||
17 | #define ARCH_LOG2_SIZEOF_INT 2 | ||
18 | #define ARCH_LOG2_SIZEOF_LONG 3 | ||
19 | #define ARCH_LOG2_SIZEOF_LONG_LONG 3 | ||
20 | #define ARCH_SIZEOF_GX_COLOR_INDEX 8 | ||
21 | #define ARCH_SIZEOF_PTR 8 | ||
22 | #define ARCH_SIZEOF_FLOAT 4 | ||
23 | #define ARCH_SIZEOF_DOUBLE 8 | ||
24 | #define ARCH_FLOAT_MANTISSA_BITS 24 | ||
25 | #define ARCH_DOUBLE_MANTISSA_BITS 53 | ||
26 | |||
27 | /* ---------------- Unsigned max values ---------------- */ | ||
28 | |||
29 | #define ARCH_MAX_UCHAR ((unsigned char)0xff + (unsigned char)0) | ||
30 | #define ARCH_MAX_USHORT ((unsigned short)0xffff + (unsigned short)0) | ||
31 | #define ARCH_MAX_UINT ((unsigned int)~0 + (unsigned int)0) | ||
32 | #define ARCH_MAX_ULONG ((unsigned long)~0L + (unsigned long)0) | ||
33 | |||
34 | /* ---------------- Miscellaneous ---------------- */ | ||
35 | |||
36 | #define ARCH_IS_BIG_ENDIAN 1 | ||
37 | #define ARCH_PTRS_ARE_SIGNED 0 | ||
38 | #define ARCH_FLOATS_ARE_IEEE 1 | ||
39 | #define ARCH_ARITH_RSHIFT 2 | ||
40 | #define ARCH_DIV_NEG_POS_TRUNCATES 1 | ||
diff --git a/meta/recipes-extended/ghostscript/ghostscript/mipsarchn32el/objarch.h b/meta/recipes-extended/ghostscript/ghostscript/mipsarchn32el/objarch.h deleted file mode 100644 index a05de29def..0000000000 --- a/meta/recipes-extended/ghostscript/ghostscript/mipsarchn32el/objarch.h +++ /dev/null | |||
@@ -1,40 +0,0 @@ | |||
1 | /* Parameters derived from machine and compiler architecture. */ | ||
2 | /* This file is generated mechanically by genarch.c. */ | ||
3 | |||
4 | /* ---------------- Scalar alignments ---------------- */ | ||
5 | |||
6 | #define ARCH_ALIGN_SHORT_MOD 2 | ||
7 | #define ARCH_ALIGN_INT_MOD 4 | ||
8 | #define ARCH_ALIGN_LONG_MOD 8 | ||
9 | #define ARCH_ALIGN_PTR_MOD 8 | ||
10 | #define ARCH_ALIGN_FLOAT_MOD 4 | ||
11 | #define ARCH_ALIGN_DOUBLE_MOD 8 | ||
12 | |||
13 | /* ---------------- Scalar sizes ---------------- */ | ||
14 | |||
15 | #define ARCH_LOG2_SIZEOF_CHAR 0 | ||
16 | #define ARCH_LOG2_SIZEOF_SHORT 1 | ||
17 | #define ARCH_LOG2_SIZEOF_INT 2 | ||
18 | #define ARCH_LOG2_SIZEOF_LONG 3 | ||
19 | #define ARCH_LOG2_SIZEOF_LONG_LONG 3 | ||
20 | #define ARCH_SIZEOF_GX_COLOR_INDEX 8 | ||
21 | #define ARCH_SIZEOF_PTR 8 | ||
22 | #define ARCH_SIZEOF_FLOAT 4 | ||
23 | #define ARCH_SIZEOF_DOUBLE 8 | ||
24 | #define ARCH_FLOAT_MANTISSA_BITS 24 | ||
25 | #define ARCH_DOUBLE_MANTISSA_BITS 53 | ||
26 | |||
27 | /* ---------------- Unsigned max values ---------------- */ | ||
28 | |||
29 | #define ARCH_MAX_UCHAR ((unsigned char)0xff + (unsigned char)0) | ||
30 | #define ARCH_MAX_USHORT ((unsigned short)0xffff + (unsigned short)0) | ||
31 | #define ARCH_MAX_UINT ((unsigned int)~0 + (unsigned int)0) | ||
32 | #define ARCH_MAX_ULONG ((unsigned long)~0L + (unsigned long)0) | ||
33 | |||
34 | /* ---------------- Miscellaneous ---------------- */ | ||
35 | |||
36 | #define ARCH_IS_BIG_ENDIAN 0 | ||
37 | #define ARCH_PTRS_ARE_SIGNED 0 | ||
38 | #define ARCH_FLOATS_ARE_IEEE 1 | ||
39 | #define ARCH_ARITH_RSHIFT 2 | ||
40 | #define ARCH_DIV_NEG_POS_TRUNCATES 1 | ||
diff --git a/meta/recipes-extended/ghostscript/ghostscript/mipsarchn64eb/objarch.h b/meta/recipes-extended/ghostscript/ghostscript/mipsarchn64eb/objarch.h deleted file mode 100644 index 0d0a16bfa3..0000000000 --- a/meta/recipes-extended/ghostscript/ghostscript/mipsarchn64eb/objarch.h +++ /dev/null | |||
@@ -1,40 +0,0 @@ | |||
1 | /* Parameters derived from machine and compiler architecture. */ | ||
2 | /* This file is generated mechanically by genarch.c. */ | ||
3 | |||
4 | /* ---------------- Scalar alignments ---------------- */ | ||
5 | |||
6 | #define ARCH_ALIGN_SHORT_MOD 2 | ||
7 | #define ARCH_ALIGN_INT_MOD 4 | ||
8 | #define ARCH_ALIGN_LONG_MOD 8 | ||
9 | #define ARCH_ALIGN_PTR_MOD 8 | ||
10 | #define ARCH_ALIGN_FLOAT_MOD 4 | ||
11 | #define ARCH_ALIGN_DOUBLE_MOD 8 | ||
12 | |||
13 | /* ---------------- Scalar sizes ---------------- */ | ||
14 | |||
15 | #define ARCH_LOG2_SIZEOF_CHAR 0 | ||
16 | #define ARCH_LOG2_SIZEOF_SHORT 1 | ||
17 | #define ARCH_LOG2_SIZEOF_INT 2 | ||
18 | #define ARCH_LOG2_SIZEOF_LONG 3 | ||
19 | #define ARCH_LOG2_SIZEOF_LONG_LONG 3 | ||
20 | #define ARCH_SIZEOF_GX_COLOR_INDEX 8 | ||
21 | #define ARCH_SIZEOF_PTR 8 | ||
22 | #define ARCH_SIZEOF_FLOAT 4 | ||
23 | #define ARCH_SIZEOF_DOUBLE 8 | ||
24 | #define ARCH_FLOAT_MANTISSA_BITS 24 | ||
25 | #define ARCH_DOUBLE_MANTISSA_BITS 53 | ||
26 | |||
27 | /* ---------------- Unsigned max values ---------------- */ | ||
28 | |||
29 | #define ARCH_MAX_UCHAR ((unsigned char)0xff + (unsigned char)0) | ||
30 | #define ARCH_MAX_USHORT ((unsigned short)0xffff + (unsigned short)0) | ||
31 | #define ARCH_MAX_UINT ((unsigned int)~0 + (unsigned int)0) | ||
32 | #define ARCH_MAX_ULONG ((unsigned long)~0L + (unsigned long)0) | ||
33 | |||
34 | /* ---------------- Miscellaneous ---------------- */ | ||
35 | |||
36 | #define ARCH_IS_BIG_ENDIAN 1 | ||
37 | #define ARCH_PTRS_ARE_SIGNED 0 | ||
38 | #define ARCH_FLOATS_ARE_IEEE 1 | ||
39 | #define ARCH_ARITH_RSHIFT 2 | ||
40 | #define ARCH_DIV_NEG_POS_TRUNCATES 1 | ||
diff --git a/meta/recipes-extended/ghostscript/ghostscript/mipsarchn64el/objarch.h b/meta/recipes-extended/ghostscript/ghostscript/mipsarchn64el/objarch.h deleted file mode 100644 index a05de29def..0000000000 --- a/meta/recipes-extended/ghostscript/ghostscript/mipsarchn64el/objarch.h +++ /dev/null | |||
@@ -1,40 +0,0 @@ | |||
1 | /* Parameters derived from machine and compiler architecture. */ | ||
2 | /* This file is generated mechanically by genarch.c. */ | ||
3 | |||
4 | /* ---------------- Scalar alignments ---------------- */ | ||
5 | |||
6 | #define ARCH_ALIGN_SHORT_MOD 2 | ||
7 | #define ARCH_ALIGN_INT_MOD 4 | ||
8 | #define ARCH_ALIGN_LONG_MOD 8 | ||
9 | #define ARCH_ALIGN_PTR_MOD 8 | ||
10 | #define ARCH_ALIGN_FLOAT_MOD 4 | ||
11 | #define ARCH_ALIGN_DOUBLE_MOD 8 | ||
12 | |||
13 | /* ---------------- Scalar sizes ---------------- */ | ||
14 | |||
15 | #define ARCH_LOG2_SIZEOF_CHAR 0 | ||
16 | #define ARCH_LOG2_SIZEOF_SHORT 1 | ||
17 | #define ARCH_LOG2_SIZEOF_INT 2 | ||
18 | #define ARCH_LOG2_SIZEOF_LONG 3 | ||
19 | #define ARCH_LOG2_SIZEOF_LONG_LONG 3 | ||
20 | #define ARCH_SIZEOF_GX_COLOR_INDEX 8 | ||
21 | #define ARCH_SIZEOF_PTR 8 | ||
22 | #define ARCH_SIZEOF_FLOAT 4 | ||
23 | #define ARCH_SIZEOF_DOUBLE 8 | ||
24 | #define ARCH_FLOAT_MANTISSA_BITS 24 | ||
25 | #define ARCH_DOUBLE_MANTISSA_BITS 53 | ||
26 | |||
27 | /* ---------------- Unsigned max values ---------------- */ | ||
28 | |||
29 | #define ARCH_MAX_UCHAR ((unsigned char)0xff + (unsigned char)0) | ||
30 | #define ARCH_MAX_USHORT ((unsigned short)0xffff + (unsigned short)0) | ||
31 | #define ARCH_MAX_UINT ((unsigned int)~0 + (unsigned int)0) | ||
32 | #define ARCH_MAX_ULONG ((unsigned long)~0L + (unsigned long)0) | ||
33 | |||
34 | /* ---------------- Miscellaneous ---------------- */ | ||
35 | |||
36 | #define ARCH_IS_BIG_ENDIAN 0 | ||
37 | #define ARCH_PTRS_ARE_SIGNED 0 | ||
38 | #define ARCH_FLOATS_ARE_IEEE 1 | ||
39 | #define ARCH_ARITH_RSHIFT 2 | ||
40 | #define ARCH_DIV_NEG_POS_TRUNCATES 1 | ||
diff --git a/meta/recipes-extended/ghostscript/ghostscript/mipsarcho32eb/objarch.h b/meta/recipes-extended/ghostscript/ghostscript/mipsarcho32eb/objarch.h deleted file mode 100644 index b8b637cca2..0000000000 --- a/meta/recipes-extended/ghostscript/ghostscript/mipsarcho32eb/objarch.h +++ /dev/null | |||
@@ -1,40 +0,0 @@ | |||
1 | /* Parameters derived from machine and compiler architecture. */ | ||
2 | /* This file is generated mechanically by genarch.c. */ | ||
3 | |||
4 | /* ---------------- Scalar alignments ---------------- */ | ||
5 | |||
6 | #define ARCH_ALIGN_SHORT_MOD 2 | ||
7 | #define ARCH_ALIGN_INT_MOD 4 | ||
8 | #define ARCH_ALIGN_LONG_MOD 4 | ||
9 | #define ARCH_ALIGN_PTR_MOD 4 | ||
10 | #define ARCH_ALIGN_FLOAT_MOD 4 | ||
11 | #define ARCH_ALIGN_DOUBLE_MOD 8 | ||
12 | |||
13 | /* ---------------- Scalar sizes ---------------- */ | ||
14 | |||
15 | #define ARCH_LOG2_SIZEOF_CHAR 0 | ||
16 | #define ARCH_LOG2_SIZEOF_SHORT 1 | ||
17 | #define ARCH_LOG2_SIZEOF_INT 2 | ||
18 | #define ARCH_LOG2_SIZEOF_LONG 2 | ||
19 | #define ARCH_LOG2_SIZEOF_LONG_LONG 3 | ||
20 | #define ARCH_SIZEOF_GX_COLOR_INDEX 4 | ||
21 | #define ARCH_SIZEOF_PTR 4 | ||
22 | #define ARCH_SIZEOF_FLOAT 4 | ||
23 | #define ARCH_SIZEOF_DOUBLE 8 | ||
24 | #define ARCH_FLOAT_MANTISSA_BITS 24 | ||
25 | #define ARCH_DOUBLE_MANTISSA_BITS 53 | ||
26 | |||
27 | /* ---------------- Unsigned max values ---------------- */ | ||
28 | |||
29 | #define ARCH_MAX_UCHAR ((unsigned char)0xff + (unsigned char)0) | ||
30 | #define ARCH_MAX_USHORT ((unsigned short)0xffff + (unsigned short)0) | ||
31 | #define ARCH_MAX_UINT ((unsigned int)~0 + (unsigned int)0) | ||
32 | #define ARCH_MAX_ULONG ((unsigned long)~0L + (unsigned long)0) | ||
33 | |||
34 | /* ---------------- Miscellaneous ---------------- */ | ||
35 | |||
36 | #define ARCH_IS_BIG_ENDIAN 1 | ||
37 | #define ARCH_PTRS_ARE_SIGNED 0 | ||
38 | #define ARCH_FLOATS_ARE_IEEE 1 | ||
39 | #define ARCH_ARITH_RSHIFT 2 | ||
40 | #define ARCH_DIV_NEG_POS_TRUNCATES 1 | ||
diff --git a/meta/recipes-extended/ghostscript/ghostscript/mipsarcho32el/objarch.h b/meta/recipes-extended/ghostscript/ghostscript/mipsarcho32el/objarch.h deleted file mode 100644 index 29f90ddf85..0000000000 --- a/meta/recipes-extended/ghostscript/ghostscript/mipsarcho32el/objarch.h +++ /dev/null | |||
@@ -1,40 +0,0 @@ | |||
1 | /* Parameters derived from machine and compiler architecture. */ | ||
2 | /* This file is generated mechanically by genarch.c. */ | ||
3 | |||
4 | /* ---------------- Scalar alignments ---------------- */ | ||
5 | |||
6 | #define ARCH_ALIGN_SHORT_MOD 2 | ||
7 | #define ARCH_ALIGN_INT_MOD 4 | ||
8 | #define ARCH_ALIGN_LONG_MOD 4 | ||
9 | #define ARCH_ALIGN_PTR_MOD 4 | ||
10 | #define ARCH_ALIGN_FLOAT_MOD 4 | ||
11 | #define ARCH_ALIGN_DOUBLE_MOD 8 | ||
12 | |||
13 | /* ---------------- Scalar sizes ---------------- */ | ||
14 | |||
15 | #define ARCH_LOG2_SIZEOF_CHAR 0 | ||
16 | #define ARCH_LOG2_SIZEOF_SHORT 1 | ||
17 | #define ARCH_LOG2_SIZEOF_INT 2 | ||
18 | #define ARCH_LOG2_SIZEOF_LONG 2 | ||
19 | #define ARCH_LOG2_SIZEOF_LONG_LONG 3 | ||
20 | #define ARCH_SIZEOF_GX_COLOR_INDEX 4 | ||
21 | #define ARCH_SIZEOF_PTR 4 | ||
22 | #define ARCH_SIZEOF_FLOAT 4 | ||
23 | #define ARCH_SIZEOF_DOUBLE 8 | ||
24 | #define ARCH_FLOAT_MANTISSA_BITS 24 | ||
25 | #define ARCH_DOUBLE_MANTISSA_BITS 53 | ||
26 | |||
27 | /* ---------------- Unsigned max values ---------------- */ | ||
28 | |||
29 | #define ARCH_MAX_UCHAR ((unsigned char)0xff + (unsigned char)0) | ||
30 | #define ARCH_MAX_USHORT ((unsigned short)0xffff + (unsigned short)0) | ||
31 | #define ARCH_MAX_UINT ((unsigned int)~0 + (unsigned int)0) | ||
32 | #define ARCH_MAX_ULONG ((unsigned long)~0L + (unsigned long)0) | ||
33 | |||
34 | /* ---------------- Miscellaneous ---------------- */ | ||
35 | |||
36 | #define ARCH_IS_BIG_ENDIAN 0 | ||
37 | #define ARCH_PTRS_ARE_SIGNED 0 | ||
38 | #define ARCH_FLOATS_ARE_IEEE 1 | ||
39 | #define ARCH_ARITH_RSHIFT 2 | ||
40 | #define ARCH_DIV_NEG_POS_TRUNCATES 1 | ||
diff --git a/meta/recipes-extended/ghostscript/ghostscript/nios2/objarch.h b/meta/recipes-extended/ghostscript/ghostscript/nios2/objarch.h deleted file mode 100644 index 3ec8101681..0000000000 --- a/meta/recipes-extended/ghostscript/ghostscript/nios2/objarch.h +++ /dev/null | |||
@@ -1,40 +0,0 @@ | |||
1 | /* Parameters derived from machine and compiler architecture. */ | ||
2 | /* This file is generated mechanically by genarch.c. */ | ||
3 | |||
4 | /* ---------------- Scalar alignments ---------------- */ | ||
5 | |||
6 | #define ARCH_ALIGN_SHORT_MOD 2 | ||
7 | #define ARCH_ALIGN_INT_MOD 4 | ||
8 | #define ARCH_ALIGN_LONG_MOD 4 | ||
9 | #define ARCH_ALIGN_PTR_MOD 4 | ||
10 | #define ARCH_ALIGN_FLOAT_MOD 4 | ||
11 | #define ARCH_ALIGN_DOUBLE_MOD 4 | ||
12 | |||
13 | /* ---------------- Scalar sizes ---------------- */ | ||
14 | |||
15 | #define ARCH_LOG2_SIZEOF_CHAR 0 | ||
16 | #define ARCH_LOG2_SIZEOF_SHORT 1 | ||
17 | #define ARCH_LOG2_SIZEOF_INT 2 | ||
18 | #define ARCH_LOG2_SIZEOF_LONG 2 | ||
19 | #define ARCH_LOG2_SIZEOF_LONG_LONG 3 | ||
20 | #define ARCH_SIZEOF_GX_COLOR_INDEX 8 | ||
21 | #define ARCH_SIZEOF_PTR 4 | ||
22 | #define ARCH_SIZEOF_FLOAT 4 | ||
23 | #define ARCH_SIZEOF_DOUBLE 8 | ||
24 | #define ARCH_FLOAT_MANTISSA_BITS 24 | ||
25 | #define ARCH_DOUBLE_MANTISSA_BITS 53 | ||
26 | |||
27 | /* ---------------- Unsigned max values ---------------- */ | ||
28 | |||
29 | #define ARCH_MAX_UCHAR ((unsigned char)0xff + (unsigned char)0) | ||
30 | #define ARCH_MAX_USHORT ((unsigned short)0xffff + (unsigned short)0) | ||
31 | #define ARCH_MAX_UINT ((unsigned int)~0 + (unsigned int)0) | ||
32 | #define ARCH_MAX_ULONG ((unsigned long)~0L + (unsigned long)0) | ||
33 | |||
34 | /* ---------------- Miscellaneous ---------------- */ | ||
35 | |||
36 | #define ARCH_IS_BIG_ENDIAN 0 | ||
37 | #define ARCH_PTRS_ARE_SIGNED 0 | ||
38 | #define ARCH_FLOATS_ARE_IEEE 1 | ||
39 | #define ARCH_ARITH_RSHIFT 2 | ||
40 | #define ARCH_DIV_NEG_POS_TRUNCATES 1 | ||
diff --git a/meta/recipes-extended/ghostscript/ghostscript/powerpc/objarch.h b/meta/recipes-extended/ghostscript/ghostscript/powerpc/objarch.h deleted file mode 100644 index 359097f356..0000000000 --- a/meta/recipes-extended/ghostscript/ghostscript/powerpc/objarch.h +++ /dev/null | |||
@@ -1,40 +0,0 @@ | |||
1 | /* Parameters derived from machine and compiler architecture. */ | ||
2 | /* This file is generated mechanically by genarch.c. */ | ||
3 | |||
4 | /* ---------------- Scalar alignments ---------------- */ | ||
5 | |||
6 | #define ARCH_ALIGN_SHORT_MOD 2 | ||
7 | #define ARCH_ALIGN_INT_MOD 4 | ||
8 | #define ARCH_ALIGN_LONG_MOD 4 | ||
9 | #define ARCH_ALIGN_PTR_MOD 4 | ||
10 | #define ARCH_ALIGN_FLOAT_MOD 4 | ||
11 | #define ARCH_ALIGN_DOUBLE_MOD 8 | ||
12 | |||
13 | /* ---------------- Scalar sizes ---------------- */ | ||
14 | |||
15 | #define ARCH_LOG2_SIZEOF_CHAR 0 | ||
16 | #define ARCH_LOG2_SIZEOF_SHORT 1 | ||
17 | #define ARCH_LOG2_SIZEOF_INT 2 | ||
18 | #define ARCH_LOG2_SIZEOF_LONG 2 | ||
19 | #define ARCH_LOG2_SIZEOF_LONG_LONG 3 | ||
20 | #define ARCH_SIZEOF_GX_COLOR_INDEX 8 | ||
21 | #define ARCH_SIZEOF_PTR 4 | ||
22 | #define ARCH_SIZEOF_FLOAT 4 | ||
23 | #define ARCH_SIZEOF_DOUBLE 8 | ||
24 | #define ARCH_FLOAT_MANTISSA_BITS 24 | ||
25 | #define ARCH_DOUBLE_MANTISSA_BITS 53 | ||
26 | |||
27 | /* ---------------- Unsigned max values ---------------- */ | ||
28 | |||
29 | #define ARCH_MAX_UCHAR ((unsigned char)0xff + (unsigned char)0) | ||
30 | #define ARCH_MAX_USHORT ((unsigned short)0xffff + (unsigned short)0) | ||
31 | #define ARCH_MAX_UINT ((unsigned int)~0 + (unsigned int)0) | ||
32 | #define ARCH_MAX_ULONG ((unsigned long)~0L + (unsigned long)0) | ||
33 | |||
34 | /* ---------------- Miscellaneous ---------------- */ | ||
35 | |||
36 | #define ARCH_IS_BIG_ENDIAN 1 | ||
37 | #define ARCH_PTRS_ARE_SIGNED 0 | ||
38 | #define ARCH_FLOATS_ARE_IEEE 1 | ||
39 | #define ARCH_ARITH_RSHIFT 2 | ||
40 | #define ARCH_DIV_NEG_POS_TRUNCATES 1 | ||
diff --git a/meta/recipes-extended/ghostscript/ghostscript/powerpc64/objarch.h b/meta/recipes-extended/ghostscript/ghostscript/powerpc64/objarch.h deleted file mode 100644 index 0d0a16bfa3..0000000000 --- a/meta/recipes-extended/ghostscript/ghostscript/powerpc64/objarch.h +++ /dev/null | |||
@@ -1,40 +0,0 @@ | |||
1 | /* Parameters derived from machine and compiler architecture. */ | ||
2 | /* This file is generated mechanically by genarch.c. */ | ||
3 | |||
4 | /* ---------------- Scalar alignments ---------------- */ | ||
5 | |||
6 | #define ARCH_ALIGN_SHORT_MOD 2 | ||
7 | #define ARCH_ALIGN_INT_MOD 4 | ||
8 | #define ARCH_ALIGN_LONG_MOD 8 | ||
9 | #define ARCH_ALIGN_PTR_MOD 8 | ||
10 | #define ARCH_ALIGN_FLOAT_MOD 4 | ||
11 | #define ARCH_ALIGN_DOUBLE_MOD 8 | ||
12 | |||
13 | /* ---------------- Scalar sizes ---------------- */ | ||
14 | |||
15 | #define ARCH_LOG2_SIZEOF_CHAR 0 | ||
16 | #define ARCH_LOG2_SIZEOF_SHORT 1 | ||
17 | #define ARCH_LOG2_SIZEOF_INT 2 | ||
18 | #define ARCH_LOG2_SIZEOF_LONG 3 | ||
19 | #define ARCH_LOG2_SIZEOF_LONG_LONG 3 | ||
20 | #define ARCH_SIZEOF_GX_COLOR_INDEX 8 | ||
21 | #define ARCH_SIZEOF_PTR 8 | ||
22 | #define ARCH_SIZEOF_FLOAT 4 | ||
23 | #define ARCH_SIZEOF_DOUBLE 8 | ||
24 | #define ARCH_FLOAT_MANTISSA_BITS 24 | ||
25 | #define ARCH_DOUBLE_MANTISSA_BITS 53 | ||
26 | |||
27 | /* ---------------- Unsigned max values ---------------- */ | ||
28 | |||
29 | #define ARCH_MAX_UCHAR ((unsigned char)0xff + (unsigned char)0) | ||
30 | #define ARCH_MAX_USHORT ((unsigned short)0xffff + (unsigned short)0) | ||
31 | #define ARCH_MAX_UINT ((unsigned int)~0 + (unsigned int)0) | ||
32 | #define ARCH_MAX_ULONG ((unsigned long)~0L + (unsigned long)0) | ||
33 | |||
34 | /* ---------------- Miscellaneous ---------------- */ | ||
35 | |||
36 | #define ARCH_IS_BIG_ENDIAN 1 | ||
37 | #define ARCH_PTRS_ARE_SIGNED 0 | ||
38 | #define ARCH_FLOATS_ARE_IEEE 1 | ||
39 | #define ARCH_ARITH_RSHIFT 2 | ||
40 | #define ARCH_DIV_NEG_POS_TRUNCATES 1 | ||
diff --git a/meta/recipes-extended/ghostscript/ghostscript/powerpc64le/objarch.h b/meta/recipes-extended/ghostscript/ghostscript/powerpc64le/objarch.h deleted file mode 100644 index a05de29def..0000000000 --- a/meta/recipes-extended/ghostscript/ghostscript/powerpc64le/objarch.h +++ /dev/null | |||
@@ -1,40 +0,0 @@ | |||
1 | /* Parameters derived from machine and compiler architecture. */ | ||
2 | /* This file is generated mechanically by genarch.c. */ | ||
3 | |||
4 | /* ---------------- Scalar alignments ---------------- */ | ||
5 | |||
6 | #define ARCH_ALIGN_SHORT_MOD 2 | ||
7 | #define ARCH_ALIGN_INT_MOD 4 | ||
8 | #define ARCH_ALIGN_LONG_MOD 8 | ||
9 | #define ARCH_ALIGN_PTR_MOD 8 | ||
10 | #define ARCH_ALIGN_FLOAT_MOD 4 | ||
11 | #define ARCH_ALIGN_DOUBLE_MOD 8 | ||
12 | |||
13 | /* ---------------- Scalar sizes ---------------- */ | ||
14 | |||
15 | #define ARCH_LOG2_SIZEOF_CHAR 0 | ||
16 | #define ARCH_LOG2_SIZEOF_SHORT 1 | ||
17 | #define ARCH_LOG2_SIZEOF_INT 2 | ||
18 | #define ARCH_LOG2_SIZEOF_LONG 3 | ||
19 | #define ARCH_LOG2_SIZEOF_LONG_LONG 3 | ||
20 | #define ARCH_SIZEOF_GX_COLOR_INDEX 8 | ||
21 | #define ARCH_SIZEOF_PTR 8 | ||
22 | #define ARCH_SIZEOF_FLOAT 4 | ||
23 | #define ARCH_SIZEOF_DOUBLE 8 | ||
24 | #define ARCH_FLOAT_MANTISSA_BITS 24 | ||
25 | #define ARCH_DOUBLE_MANTISSA_BITS 53 | ||
26 | |||
27 | /* ---------------- Unsigned max values ---------------- */ | ||
28 | |||
29 | #define ARCH_MAX_UCHAR ((unsigned char)0xff + (unsigned char)0) | ||
30 | #define ARCH_MAX_USHORT ((unsigned short)0xffff + (unsigned short)0) | ||
31 | #define ARCH_MAX_UINT ((unsigned int)~0 + (unsigned int)0) | ||
32 | #define ARCH_MAX_ULONG ((unsigned long)~0L + (unsigned long)0) | ||
33 | |||
34 | /* ---------------- Miscellaneous ---------------- */ | ||
35 | |||
36 | #define ARCH_IS_BIG_ENDIAN 0 | ||
37 | #define ARCH_PTRS_ARE_SIGNED 0 | ||
38 | #define ARCH_FLOATS_ARE_IEEE 1 | ||
39 | #define ARCH_ARITH_RSHIFT 2 | ||
40 | #define ARCH_DIV_NEG_POS_TRUNCATES 1 | ||
diff --git a/meta/recipes-extended/ghostscript/ghostscript/x86-64/objarch.h b/meta/recipes-extended/ghostscript/ghostscript/x86-64/objarch.h deleted file mode 100644 index a05de29def..0000000000 --- a/meta/recipes-extended/ghostscript/ghostscript/x86-64/objarch.h +++ /dev/null | |||
@@ -1,40 +0,0 @@ | |||
1 | /* Parameters derived from machine and compiler architecture. */ | ||
2 | /* This file is generated mechanically by genarch.c. */ | ||
3 | |||
4 | /* ---------------- Scalar alignments ---------------- */ | ||
5 | |||
6 | #define ARCH_ALIGN_SHORT_MOD 2 | ||
7 | #define ARCH_ALIGN_INT_MOD 4 | ||
8 | #define ARCH_ALIGN_LONG_MOD 8 | ||
9 | #define ARCH_ALIGN_PTR_MOD 8 | ||
10 | #define ARCH_ALIGN_FLOAT_MOD 4 | ||
11 | #define ARCH_ALIGN_DOUBLE_MOD 8 | ||
12 | |||
13 | /* ---------------- Scalar sizes ---------------- */ | ||
14 | |||
15 | #define ARCH_LOG2_SIZEOF_CHAR 0 | ||
16 | #define ARCH_LOG2_SIZEOF_SHORT 1 | ||
17 | #define ARCH_LOG2_SIZEOF_INT 2 | ||
18 | #define ARCH_LOG2_SIZEOF_LONG 3 | ||
19 | #define ARCH_LOG2_SIZEOF_LONG_LONG 3 | ||
20 | #define ARCH_SIZEOF_GX_COLOR_INDEX 8 | ||
21 | #define ARCH_SIZEOF_PTR 8 | ||
22 | #define ARCH_SIZEOF_FLOAT 4 | ||
23 | #define ARCH_SIZEOF_DOUBLE 8 | ||
24 | #define ARCH_FLOAT_MANTISSA_BITS 24 | ||
25 | #define ARCH_DOUBLE_MANTISSA_BITS 53 | ||
26 | |||
27 | /* ---------------- Unsigned max values ---------------- */ | ||
28 | |||
29 | #define ARCH_MAX_UCHAR ((unsigned char)0xff + (unsigned char)0) | ||
30 | #define ARCH_MAX_USHORT ((unsigned short)0xffff + (unsigned short)0) | ||
31 | #define ARCH_MAX_UINT ((unsigned int)~0 + (unsigned int)0) | ||
32 | #define ARCH_MAX_ULONG ((unsigned long)~0L + (unsigned long)0) | ||
33 | |||
34 | /* ---------------- Miscellaneous ---------------- */ | ||
35 | |||
36 | #define ARCH_IS_BIG_ENDIAN 0 | ||
37 | #define ARCH_PTRS_ARE_SIGNED 0 | ||
38 | #define ARCH_FLOATS_ARE_IEEE 1 | ||
39 | #define ARCH_ARITH_RSHIFT 2 | ||
40 | #define ARCH_DIV_NEG_POS_TRUNCATES 1 | ||
diff --git a/meta/recipes-extended/ghostscript/ghostscript_9.50.bb b/meta/recipes-extended/ghostscript/ghostscript_9.52.bb index 5e8af8dc11..4cdb6e00d8 100644 --- a/meta/recipes-extended/ghostscript/ghostscript_9.50.bb +++ b/meta/recipes-extended/ghostscript/ghostscript_9.52.bb | |||
@@ -29,13 +29,10 @@ SRC_URI_BASE = "https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/d | |||
29 | file://do-not-check-local-libpng-source.patch \ | 29 | file://do-not-check-local-libpng-source.patch \ |
30 | file://avoid-host-contamination.patch \ | 30 | file://avoid-host-contamination.patch \ |
31 | file://mkdir-p.patch \ | 31 | file://mkdir-p.patch \ |
32 | file://CVE-2019-14869-0001.patch \ | ||
33 | " | 32 | " |
34 | 33 | ||
35 | SRC_URI = "${SRC_URI_BASE} \ | 34 | SRC_URI = "${SRC_URI_BASE} \ |
36 | file://ghostscript-9.21-prevent_recompiling.patch \ | 35 | file://ghostscript-9.21-prevent_recompiling.patch \ |
37 | file://ghostscript-9.02-genarch.patch \ | ||
38 | file://objarch.h \ | ||
39 | file://cups-no-gcrypt.patch \ | 36 | file://cups-no-gcrypt.patch \ |
40 | " | 37 | " |
41 | 38 | ||
@@ -44,8 +41,8 @@ SRC_URI_class-native = "${SRC_URI_BASE} \ | |||
44 | file://base-genht.c-add-a-preprocessor-define-to-allow-fope.patch \ | 41 | file://base-genht.c-add-a-preprocessor-define-to-allow-fope.patch \ |
45 | " | 42 | " |
46 | 43 | ||
47 | SRC_URI[md5sum] = "00970cf622bd5b46f68eec9383753870" | 44 | SRC_URI[md5sum] = "0f6964ab9b83a63b7e373f136243f901" |
48 | SRC_URI[sha256sum] = "0f53e89fd647815828fc5171613e860e8535b68f7afbc91bf89aee886769ce89" | 45 | SRC_URI[sha256sum] = "c2501d8e8e0814c4a5aa7e443e230e73d7af7f70287546f7b697e5ef49e32176" |
49 | 46 | ||
50 | # Put something like | 47 | # Put something like |
51 | # | 48 | # |
@@ -76,7 +73,7 @@ EXTRA_OECONF_class-native = "--without-x --with-system-libtiff=no \ | |||
76 | --without-jbig2dec --without-libpaper \ | 73 | --without-jbig2dec --without-libpaper \ |
77 | --with-fontpath=${datadir}/fonts \ | 74 | --with-fontpath=${datadir}/fonts \ |
78 | --without-libidn --disable-fontconfig \ | 75 | --without-libidn --disable-fontconfig \ |
79 | --disable-freetype --disable-cups" | 76 | --enable-freetype --disable-cups " |
80 | 77 | ||
81 | # This has been fixed upstream but for now we need to subvert the check for time.h | 78 | # This has been fixed upstream but for now we need to subvert the check for time.h |
82 | # http://bugs.ghostscript.com/show_bug.cgi?id=692443 | 79 | # http://bugs.ghostscript.com/show_bug.cgi?id=692443 |
@@ -84,15 +81,7 @@ EXTRA_OECONF_class-native = "--without-x --with-system-libtiff=no \ | |||
84 | CFLAGS += "-DHAVE_SYS_TIME_H=1" | 81 | CFLAGS += "-DHAVE_SYS_TIME_H=1" |
85 | BUILD_CFLAGS += "-DHAVE_SYS_TIME_H=1" | 82 | BUILD_CFLAGS += "-DHAVE_SYS_TIME_H=1" |
86 | 83 | ||
87 | inherit autotools | 84 | inherit autotools-brokensep |
88 | |||
89 | do_configure_prepend () { | ||
90 | mkdir -p obj | ||
91 | mkdir -p soobj | ||
92 | if [ -e ${WORKDIR}/objarch.h ]; then | ||
93 | cp ${WORKDIR}/objarch.h obj/arch.h | ||
94 | fi | ||
95 | } | ||
96 | 85 | ||
97 | do_configure_append () { | 86 | do_configure_append () { |
98 | # copy tools from the native ghostscript build | 87 | # copy tools from the native ghostscript build |