This is a special patch. It shouldn't be applied at the start of the "build" process; the file that it modifies doesn't exist, at that point. This patch sets an environment variable PNMREMAPRAND equal to the word NO. This tells the local distro's version of "pnmremap.c" to use a fixed random-number seed. For more information, see the following files: ../cfg ../patches/*-remapvar.patch --- ppmquantnr.old +++ ppmquantnr @@ -22,6 +22,7 @@ my $validOptions = GetOptions("mapfile" => \my $mapfileopt); my $mapfileOptionPresent = ($validOptions && $mapfileopt); +$ENV {PNMREMAPRAND} = 'NO'; if ($mapfileOptionPresent) { system("pnmremap", @ppmquantArgv);