diff options
author | Zach van Rijn <me@zv.io> | 2022-06-10 13:47:32 +0000 |
---|---|---|
committer | Zach van Rijn <me@zv.io> | 2022-06-12 23:51:59 +0000 |
commit | 0cf52d3e06ad859e42cdc4c267f788864854cc95 (patch) | |
tree | 2e33edc83569ac58f5181fa23a98081cce7c28cc /user/gobject-introspection/support-cross-filesystem-move.patch | |
parent | b409d5a4fdf4254b9771a04fc17513ff6991c1a5 (diff) | |
download | packages-0cf52d3e06ad859e42cdc4c267f788864854cc95.tar.gz packages-0cf52d3e06ad859e42cdc4c267f788864854cc95.tar.bz2 packages-0cf52d3e06ad859e42cdc4c267f788864854cc95.tar.xz packages-0cf52d3e06ad859e42cdc4c267f788864854cc95.zip |
user/gobject-introspection: add patch for bad file move assumption. fixes #776.
Diffstat (limited to 'user/gobject-introspection/support-cross-filesystem-move.patch')
-rw-r--r-- | user/gobject-introspection/support-cross-filesystem-move.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/user/gobject-introspection/support-cross-filesystem-move.patch b/user/gobject-introspection/support-cross-filesystem-move.patch new file mode 100644 index 000000000..80fc80baa --- /dev/null +++ b/user/gobject-introspection/support-cross-filesystem-move.patch @@ -0,0 +1,11 @@ +--- a/misc/update-glib-annotations.py ++++ b/misc/update-glib-annotations.py +@@ -57,7 +57,7 @@ + extract_annotations(module_name, glib_src_dir, target) + if os.path.isfile(target_path): + os.unlink(target_path) +- os.rename(tmpname, target_path) ++ shutil.move(tmpname, target_path) + + print("Updated '%s'" % (target_path, )) + |