summarylogtreecommitdiffstats
path: root/python3_fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'python3_fix.patch')
-rw-r--r--python3_fix.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/python3_fix.patch b/python3_fix.patch
new file mode 100644
index 00000000000..55f02ca3e54
--- /dev/null
+++ b/python3_fix.patch
@@ -0,0 +1,15 @@
+Thanks to
+https://www.mail-archive.com/libguestfs@redhat.com/msg13973.html
+
+--- a/actions.h 2018-02-28 00:39:13.189935224 -0500
++++ b/actions.h 2018-02-28 00:40:33.010503002 -0500
+@@ -57,9 +57,6 @@
+ {
+ assert (g);
+ #ifndef HAVE_PYCAPSULE_NEW
+- return
+- PyCObject_FromVoidPtrAndDesc ((void *) g, (char *) "guestfs_h", NULL);
+-#else
+ return PyCapsule_New ((void *) g, "guestfs_h", NULL);
+ #endif
+ }