Cleanup and python 3.13
This commit is contained in:
11
sci-libs/libsigrok/files/libsigrok-0.5.2-swig-4.1.patch
Normal file
11
sci-libs/libsigrok/files/libsigrok-0.5.2-swig-4.1.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
https://bugs.gentoo.org/878395
|
||||
--- a/bindings/cxx/enums.py
|
||||
+++ b/bindings/cxx/enums.py
|
||||
@@ -73,6 +73,8 @@
|
||||
code = open(os.path.join(outdirname, 'cxx/enums.cpp'), 'w')
|
||||
swig = open(os.path.join(outdirname, 'swig/enums.i'), 'w')
|
||||
|
||||
+print('%include "attribute.i" \n', file=swig)
|
||||
+
|
||||
for file in (header, code):
|
||||
print("/* Generated file - edit enums.py instead! */", file=file)
|
||||
Reference in New Issue
Block a user