Commit Graph

3 Commits

Author SHA1 Message Date
Khem Raj
288cc5b879 gperf: Make the code C++17 compliant
Fixes
| ../../gperf-3.1/lib/getline.cc:58:7: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
|       register int c = getc (stream);
|       ^~~~~~~~~

(From OE-Core rev: dd137feabdad2e7a2b3d107c703aad577a2e79c7)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-16 10:42:07 +00:00
Richard Purdie
dc184d6aaf gperf: Switch to upstream patch
Upstream merged a patch to handle the reproducibility issue, switch to
their patch which is functionally equivalent.

(From OE-Core rev: db28cd0e1540e44db963108430205c8c0c817774)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-09 20:58:35 +01:00
Richard Purdie
9586fcb8a2 gperf: Add a patch to work around reproducibility issues
Add a patch to avoid writing the full pathname to gperf into source
files which leads to reproducibility issues.

This fixes issues with systemd reproducibility in particular.

(From OE-Core rev: dea3c7ee2a413f7dc5f13ec006592084f7fb266c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-04 22:51:49 +01:00