diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2023-08-04 08:24:08 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-04 08:24:08 -0300 |
commit | 0608f5dc75b404f4b5abd1facae922b289db3521 (patch) | |
tree | fe76ccb128f7690067dea3edba507fb0c5066be1 /recipes-multimedia/gstreamer/imx-gst1.0-plugin/0011-meson-Undef-_TIME_BITS-along-with-_FILE_OFFSET_BITS.patch | |
parent | f90d7cb79d560b961c7da8bb67e37007eab73850 (diff) | |
parent | 71d525901634ebbcc4dfd2d37967dd973f407dd8 (diff) | |
download | meta-freescale-0608f5dc75b404f4b5abd1facae922b289db3521.tar.gz |
Merge pull request #1619 from thochstein/gstreamer
gstreamer: Upgrade 1.20.3.imx -> 1.22.0.imx
Diffstat (limited to 'recipes-multimedia/gstreamer/imx-gst1.0-plugin/0011-meson-Undef-_TIME_BITS-along-with-_FILE_OFFSET_BITS.patch')
-rw-r--r-- | recipes-multimedia/gstreamer/imx-gst1.0-plugin/0011-meson-Undef-_TIME_BITS-along-with-_FILE_OFFSET_BITS.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/recipes-multimedia/gstreamer/imx-gst1.0-plugin/0011-meson-Undef-_TIME_BITS-along-with-_FILE_OFFSET_BITS.patch b/recipes-multimedia/gstreamer/imx-gst1.0-plugin/0011-meson-Undef-_TIME_BITS-along-with-_FILE_OFFSET_BITS.patch new file mode 100644 index 00000000..5a58a5a6 --- /dev/null +++ b/recipes-multimedia/gstreamer/imx-gst1.0-plugin/0011-meson-Undef-_TIME_BITS-along-with-_FILE_OFFSET_BITS.patch | |||
@@ -0,0 +1,34 @@ | |||
1 | From bda3461b0b6493f3e04910e82e6e530a64af26b1 Mon Sep 17 00:00:00 2001 | ||
2 | From: Tom Hochstein <tom.hochstein@nxp.com> | ||
3 | Date: Mon, 24 Jul 2023 12:09:34 -0700 | ||
4 | Subject: [PATCH] meson: Undef _TIME_BITS along with _FILE_OFFSET_BITS | ||
5 | |||
6 | On gcc 13, _TIME_BITS is set to 64 and causes failure with the undef of | ||
7 | _FILE_OFFSET_BITS: | ||
8 | ``` | ||
9 | /usr/include/features-time64.h:26:5: error: #error "_TIME_BITS=64 is allowed only with _FILE_OFFSET_BITS=64" | ||
10 | 26 | # error "_TIME_BITS=64 is allowed only with _FILE_OFFSET_BITS=64" | ||
11 | | ^~~~~ | ||
12 | ``` | ||
13 | |||
14 | Upstream-Status: Pending | ||
15 | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> | ||
16 | --- | ||
17 | meson.build | 1 + | ||
18 | 1 file changed, 1 insertion(+) | ||
19 | |||
20 | diff --git a/meson.build b/meson.build | ||
21 | index 7ec5c70..64b2930 100644 | ||
22 | --- a/meson.build | ||
23 | +++ b/meson.build | ||
24 | @@ -24,6 +24,7 @@ gst_dep = dependency('gstreamer-' + api_version, version : gst_req) | ||
25 | #meson automaticaly add _FILE_OFFSET_BITS=64 to gcc, this will make ipu test | ||
26 | #case fail when do mmap on 6q, autoconf didn't add this define, so undef it | ||
27 | add_project_arguments('-U_FILE_OFFSET_BITS', language: 'c') | ||
28 | +add_project_arguments('-U_TIME_BITS', language: 'c') | ||
29 | |||
30 | #below two marcos are defined in autoconf | ||
31 | add_project_arguments ('-DARM', language: 'c') | ||
32 | -- | ||
33 | 2.25.1 | ||
34 | |||