fortune: remove offensive quotes from build (#171153)

This builds the package with -DNO_OFFENSIVE=true, keeping out the
off (offensive) directory from the resulting fortune files. It
also removes the men-women quotes from the resulting db.

Where various default fortune files include some questionable
quotes, this removes the ones even the upstream finds offensive,
and the men-women category. This is also in line with what Fedora
does:
https://src.fedoraproject.org/rpms/fortune-mod/blob/main/f/fortune-mod.spec#_64-74,
and has done in some capacity for years.

authored by f0x52 and committed by GitHub f36eb34b 0e6265e8

+5
+5
pkgs/tools/misc/fortune/default.nix
··· 17 18 cmakeFlags = [ 19 "-DLOCALDIR=${placeholder "out"}/share/fortunes" 20 ]; 21 22 patches = [ (builtins.toFile "not-a-game.patch" '' ··· 35 my_exe( 36 -- 37 '') ]; 38 39 meta = with lib; { 40 mainProgram = "fortune";
··· 17 18 cmakeFlags = [ 19 "-DLOCALDIR=${placeholder "out"}/share/fortunes" 20 + "-DNO_OFFENSIVE=true" 21 ]; 22 23 patches = [ (builtins.toFile "not-a-game.patch" '' ··· 36 my_exe( 37 -- 38 '') ]; 39 + 40 + postFixup = '' 41 + rm -f $out/share/fortunes/men-women* 42 + ''; 43 44 meta = with lib; { 45 mainProgram = "fortune";