changed patch to 3.6.17 added recode_automakepatch, taken from fedora