Fixed applying of SDL3 patch after move to recipe repositories.
This commit is contained in:
parent
a99f5b56c2
commit
3261eb75d5
@ -10,7 +10,8 @@ def _git_cook(env: Environment, repo: dict) -> dict:
|
||||
|
||||
if os.path.exists(os.path.join(repo['checkout_root'], 'cmake', 'GetGitRevisionDescription.cmake')):
|
||||
try:
|
||||
repo['repo'].git.apply('--unsafe-paths', '--directory', repo['checkout_root'], os.path.join(env['SPP_DIR'], 'recipes', 'SDL', 'fix_sdl3_from_worktree.patch'))
|
||||
recipe_folder = os.path.dirname(__file__)
|
||||
repo['repo'].git.apply('--unsafe-paths', '--directory', repo['checkout_root'], os.path.join(recipe_folder, 'fix_sdl3_from_worktree.patch'))
|
||||
except:
|
||||
# either already applied or not applicable anymore
|
||||
pass
|
||||
|
Loading…
x
Reference in New Issue
Block a user