Fortunes are installed in /usr/share/doc/radare2-4.5.1/, but they're compressed, and the program hardcodes /usr/share/doc/radare2/ to look for them. See libr/include/r_userconf.h.acr and meson.build.
How can we test, if it is working? When should they be displayed exactly?
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb689df7977dc3a88f8a8fecd1cc6d0095dfbe07 commit fb689df7977dc3a88f8a8fecd1cc6d0095dfbe07 Author: Sergei Trofimovich <slyfox@gentoo.org> AuthorDate: 2020-12-22 23:06:18 +0000 Commit: Sergei Trofimovich <slyfox@gentoo.org> CommitDate: 2020-12-22 23:34:42 +0000 dev-util/radare2: don't compress fortunes radare2 reads and parses files as is. Compression breaks it. Reported-by: Esteve Varela Colominas Closes: https://bugs.gentoo.org/761250 Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> dev-util/radare2/files/radare2-4.5.1-docdir.patch | 12 ++++++++++++ dev-util/radare2/radare2-4.5.1.ebuild | 6 ++++++ dev-util/radare2/radare2-9999.ebuild | 12 ++++++++++-- 3 files changed, 28 insertions(+), 2 deletions(-)
Should work now: $ r2 /bin/bash -- Order pizza for $12.48? [Y/n] ...