def apply_patch(self, filename, target_dir=''):
        target_dir = target_dir or self.build_dir
        print("Apply patch {}".format(filename))
        filename = join(self.recipe_dir, filename)
        sh.patch("-t", "-d", target_dir, "-p1", "-i", filename)
Apply a patch from the current recipe directory into the current
dataset/ETHPy150Open kivy/kivy-ios/toolchain.py/Recipe.apply_patch