diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-08-20 08:38:17 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-08-20 08:38:17 +0100 |
commit | 32fc5f4a2c2017f1f9c628fab9dcb5a54c3e6f03 (patch) | |
tree | ac4c27ddeabc815da16db33f4a2cc3451b9ad3db /games-misc/fortune-mod/files | |
parent | f090ac33320e52dd549b818be0c345a3bb870ae0 (diff) |
gentoo auto-resync : 20:08:2022 - 08:38:17
Diffstat (limited to 'games-misc/fortune-mod/files')
-rw-r--r-- | games-misc/fortune-mod/files/fortune-mod-3.14.1-fix-localdir-mixup.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/games-misc/fortune-mod/files/fortune-mod-3.14.1-fix-localdir-mixup.patch b/games-misc/fortune-mod/files/fortune-mod-3.14.1-fix-localdir-mixup.patch new file mode 100644 index 000000000000..a28c8081392c --- /dev/null +++ b/games-misc/fortune-mod/files/fortune-mod-3.14.1-fix-localdir-mixup.patch @@ -0,0 +1,30 @@ +https://github.com/shlomif/fortune-mod/pull/69 + +The intention of LOCALDIR seems to be to allow local cookies to be +provided by the sysadmin in e.g. /usr/local/share/fortune, +but if set, before this patch, even cookies distributed +by upstream were stored there (and nothing in COOKIEDIR, e.g. +/usr/share/fortune - https://bugs.gentoo.org/865809). + +Originally, we were setting LOCALDIR=COOKIEDIR=/usr/share/fortune to +workaround the issue, but see https://bugs.gentoo.org/857246. +--- a/datfiles/CMakeLists.txt ++++ b/datfiles/CMakeLists.txt +@@ -68,7 +68,7 @@ ADD_CUSTOM_TARGET( + ) + INSTALL( + FILES ${_install_unrot_cookies} +- DESTINATION "${LOCALDIR}" ++ DESTINATION "${COOKIEDIR}" + ) + + IF (NOT NO_OFFENSIVE) +--- a/datfiles/off/CMakeLists.txt ++++ b/datfiles/off/CMakeLists.txt +@@ -54,5 +54,5 @@ ADD_CUSTOM_TARGET( + ) + INSTALL( + FILES ${_install_rotated_cookies} +- DESTINATION "${LOCALODIR}" ++ DESTINATION "${OCOOKIEDIR}" + ) |