diff options
| -rw-r--r-- | meta-oe/recipes-devtools/yasm/yasm/0001-Do-not-use-AC_HEADER_STDC.patch | 39 | ||||
| -rw-r--r-- | meta-oe/recipes-devtools/yasm/yasm_git.bb | 4 |
2 files changed, 42 insertions, 1 deletions
diff --git a/meta-oe/recipes-devtools/yasm/yasm/0001-Do-not-use-AC_HEADER_STDC.patch b/meta-oe/recipes-devtools/yasm/yasm/0001-Do-not-use-AC_HEADER_STDC.patch new file mode 100644 index 0000000000..bda90edb20 --- /dev/null +++ b/meta-oe/recipes-devtools/yasm/yasm/0001-Do-not-use-AC_HEADER_STDC.patch | |||
| @@ -0,0 +1,39 @@ | |||
| 1 | From 6b1cbe8b4dcc45103d69bc7337e5eb33d1fd21f3 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Khem Raj <raj.khem@gmail.com> | ||
| 3 | Date: Wed, 3 Feb 2021 14:22:51 -0800 | ||
| 4 | Subject: [PATCH] Do not use AC_HEADER_STDC | ||
| 5 | |||
| 6 | This macro is removed in autotools 2.70+ and it can be expected that C90 | ||
| 7 | headers are always available [1] | ||
| 8 | |||
| 9 | Upstream-Status: Pending | ||
| 10 | |||
| 11 | [1] https://www.gnu.org/software/autoconf/manual/autoconf-2.70/autoconf.html#index-AC_005fHEADER_005fSTDC | ||
| 12 | |||
| 13 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 14 | --- | ||
| 15 | configure.ac | 6 ------ | ||
| 16 | 1 file changed, 6 deletions(-) | ||
| 17 | |||
| 18 | diff --git a/configure.ac b/configure.ac | ||
| 19 | index 01b61097..2823ecd7 100644 | ||
| 20 | --- a/configure.ac | ||
| 21 | +++ b/configure.ac | ||
| 22 | @@ -101,14 +101,8 @@ AM_WITH_DMALLOC | ||
| 23 | # | ||
| 24 | # Checks for header files. | ||
| 25 | # | ||
| 26 | -AC_HEADER_STDC | ||
| 27 | AC_CHECK_HEADERS([strings.h libgen.h unistd.h direct.h sys/stat.h]) | ||
| 28 | |||
| 29 | -# REQUIRE standard C headers | ||
| 30 | -if test "$ac_cv_header_stdc" != yes; then | ||
| 31 | - AC_MSG_ERROR([Standard (ANSI/ISO C89) header files are required.]) | ||
| 32 | -fi | ||
| 33 | - | ||
| 34 | # | ||
| 35 | # Checks for typedefs, structures, and compiler characteristics. | ||
| 36 | # | ||
| 37 | -- | ||
| 38 | 2.30.0 | ||
| 39 | |||
diff --git a/meta-oe/recipes-devtools/yasm/yasm_git.bb b/meta-oe/recipes-devtools/yasm/yasm_git.bb index 53856263f7..cacdd74c4e 100644 --- a/meta-oe/recipes-devtools/yasm/yasm_git.bb +++ b/meta-oe/recipes-devtools/yasm/yasm_git.bb | |||
| @@ -9,7 +9,9 @@ DEPENDS += "flex-native bison-native xmlto-native" | |||
| 9 | PV = "1.3.0+git${SRCPV}" | 9 | PV = "1.3.0+git${SRCPV}" |
| 10 | # v1.3.0 | 10 | # v1.3.0 |
| 11 | SRCREV = "ba463d3c26c0ece2e797b8d6381b161633b5971a" | 11 | SRCREV = "ba463d3c26c0ece2e797b8d6381b161633b5971a" |
| 12 | SRC_URI = "git://github.com/yasm/yasm.git" | 12 | SRC_URI = "git://github.com/yasm/yasm.git \ |
| 13 | file://0001-Do-not-use-AC_HEADER_STDC.patch \ | ||
| 14 | " | ||
| 13 | 15 | ||
| 14 | S = "${WORKDIR}/git" | 16 | S = "${WORKDIR}/git" |
| 15 | 17 | ||
