diff options
| -rw-r--r-- | meta-oe/recipes-support/rdfind/rdfind/0001-include-standard-header-cstdint.patch | 41 | ||||
| -rw-r--r-- | meta-oe/recipes-support/rdfind/rdfind_1.4.1.bb | 1 |
2 files changed, 42 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/rdfind/rdfind/0001-include-standard-header-cstdint.patch b/meta-oe/recipes-support/rdfind/rdfind/0001-include-standard-header-cstdint.patch new file mode 100644 index 0000000000..6875f5f462 --- /dev/null +++ b/meta-oe/recipes-support/rdfind/rdfind/0001-include-standard-header-cstdint.patch | |||
| @@ -0,0 +1,41 @@ | |||
| 1 | From 067790f733ad55a53e8218015710885da9484304 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Jiaqing Zhao <jiaqing.zhao@linux.intel.com> | ||
| 3 | Date: Tue, 25 Jun 2024 06:45:20 +0000 | ||
| 4 | Subject: [PATCH] include standard header <cstdint> | ||
| 5 | MIME-Version: 1.0 | ||
| 6 | Content-Type: text/plain; charset=UTF-8 | ||
| 7 | Content-Transfer-Encoding: 8bit | ||
| 8 | |||
| 9 | gcc 13 moved some includes around and as a result <cstdint> is no longer | ||
| 10 | transitively included [1]. Explicitly include it for uint64_t. | ||
| 11 | |||
| 12 | Fixes errors like below | ||
| 13 | |||
| 14 | In file included from ../rdfind-1.4.1/Fileinfo.cc:22: | ||
| 15 | ../rdfind-1.4.1/Fileinfo.hh:68:8: error: 'int64_t' in namespace 'std' does not name a type | ||
| 16 | 68 | std::int64_t getidentity() const { return m_identity; } | ||
| 17 | | ^~~~~~~ | ||
| 18 | |||
| 19 | [1] https://gcc.gnu.org/gcc-13/porting_to.html#header-dep-changes | ||
| 20 | |||
| 21 | Upstream-Status: Backport [1.6.0 https://github.com/pauldreik/rdfind/commit/f6c3f698dd680931b5c2f05688319290bdf0d930] | ||
| 22 | Signed-off-by: Jiaqing Zhao <jiaqing.zhao@linux.intel.com> | ||
| 23 | --- | ||
| 24 | Fileinfo.hh | 1 + | ||
| 25 | 1 file changed, 1 insertion(+) | ||
| 26 | |||
| 27 | diff --git a/Fileinfo.hh b/Fileinfo.hh | ||
| 28 | index 69a1b2a..f1eb748 100644 | ||
| 29 | --- a/Fileinfo.hh | ||
| 30 | +++ b/Fileinfo.hh | ||
| 31 | @@ -8,6 +8,7 @@ | ||
| 32 | #define Fileinfo_hh | ||
| 33 | |||
| 34 | #include <array> | ||
| 35 | +#include <cstdint> | ||
| 36 | #include <string> | ||
| 37 | |||
| 38 | // os specific headers | ||
| 39 | -- | ||
| 40 | 2.43.0 | ||
| 41 | |||
diff --git a/meta-oe/recipes-support/rdfind/rdfind_1.4.1.bb b/meta-oe/recipes-support/rdfind/rdfind_1.4.1.bb index 64ae62a2d3..3a5938d22c 100644 --- a/meta-oe/recipes-support/rdfind/rdfind_1.4.1.bb +++ b/meta-oe/recipes-support/rdfind/rdfind_1.4.1.bb | |||
| @@ -6,6 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=fa22e16ebbe6638b2bd253338fbded9f" | |||
| 6 | DEPENDS = "nettle autoconf-archive" | 6 | DEPENDS = "nettle autoconf-archive" |
| 7 | 7 | ||
| 8 | SRC_URI = "https://rdfind.pauldreik.se/${BP}.tar.gz \ | 8 | SRC_URI = "https://rdfind.pauldreik.se/${BP}.tar.gz \ |
| 9 | file://0001-include-standard-header-cstdint.patch \ | ||
| 9 | " | 10 | " |
| 10 | 11 | ||
| 11 | SRC_URI[md5sum] = "180418c863b861d1df221bc486a07ce7" | 12 | SRC_URI[md5sum] = "180418c863b861d1df221bc486a07ce7" |
