summarylogtreecommitdiffstats
path: root/python3_fix.patch
diff options
context:
space:
mode:
authorbrent s2018-05-10 18:58:32 -0400
committerbrent s2018-05-10 18:58:32 -0400
commit794be0a1435b24b526c7e072329d43cb5744f966 (patch)
treee3e6b782b596652728a697880b893ce293d8404e /python3_fix.patch
parentf9a07aaf4fcc792954a655507aa627c514be2a71 (diff)
downloadaur-794be0a1435b24b526c7e072329d43cb5744f966.tar.gz
version bump upstream
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 000000000000..55f02ca3e541
--- /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
+ }