summaryrefslogtreecommitdiff
path: root/user/gobject-introspection/support-cross-filesystem-move.patch
diff options
context:
space:
mode:
authorZach van Rijn <me@zv.io>2022-06-10 13:47:32 +0000
committerZach van Rijn <me@zv.io>2022-10-21 18:34:01 -0500
commiteedf4f0cf4f1335c315f81c90e284d698b8d07be (patch)
treedb6419bcf0f1a0ef13a36ffa84ee9667cd8076af /user/gobject-introspection/support-cross-filesystem-move.patch
parentb86743e2b6013cb965564d3d4a4b87f0e01b952e (diff)
downloadpackages-eedf4f0cf4f1335c315f81c90e284d698b8d07be.tar.gz
packages-eedf4f0cf4f1335c315f81c90e284d698b8d07be.tar.bz2
packages-eedf4f0cf4f1335c315f81c90e284d698b8d07be.tar.xz
packages-eedf4f0cf4f1335c315f81c90e284d698b8d07be.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.patch11
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, ))
+