uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
19
pkgs/development/python-modules/mido/libportmidi-cdll.patch
Normal file
19
pkgs/development/python-modules/mido/libportmidi-cdll.patch
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
diff --git a/mido/backends/portmidi_init.py b/mido/backends/portmidi_init.py
|
||||
index 84bb128..5efcdaa 100644
|
||||
--- a/mido/backends/portmidi_init.py
|
||||
+++ b/mido/backends/portmidi_init.py
|
||||
@@ -10,13 +10,7 @@ from ctypes import (CDLL, CFUNCTYPE, POINTER, Structure, c_char_p,
|
||||
create_string_buffer, byref)
|
||||
import ctypes.util
|
||||
|
||||
-dll_name = ''
|
||||
-if sys.platform == 'darwin':
|
||||
- dll_name = ctypes.util.find_library('libportmidi.dylib')
|
||||
-elif sys.platform in ('win32', 'cygwin'):
|
||||
- dll_name = 'portmidi.dll'
|
||||
-else:
|
||||
- dll_name = 'libportmidi.so'
|
||||
+dll_name = '@libportmidi@'
|
||||
|
||||
lib = CDLL(dll_name)
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue