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
25
pkgs/development/interpreters/python/pypy/tk_tcl_paths.patch
Normal file
25
pkgs/development/interpreters/python/pypy/tk_tcl_paths.patch
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
--- a/lib_pypy/_tkinter/tklib_build.py
|
||||
+++ b/lib_pypy/_tkinter/tklib_build.py
|
||||
@@ -17,19 +17,14 @@ elif sys.platform == 'win32':
|
||||
incdirs = []
|
||||
linklibs = ['tcl85', 'tk85']
|
||||
libdirs = []
|
||||
-elif sys.platform == 'darwin':
|
||||
- # homebrew
|
||||
- incdirs = ['/usr/local/opt/tcl-tk/include']
|
||||
- linklibs = ['tcl8.6', 'tk8.6']
|
||||
- libdirs = ['/usr/local/opt/tcl-tk/lib']
|
||||
else:
|
||||
# On some Linux distributions, the tcl and tk libraries are
|
||||
# stored in /usr/include, so we must check this case also
|
||||
- libdirs = []
|
||||
+ libdirs = ["@tcl@/lib", "@tk@/lib"]
|
||||
found = False
|
||||
for _ver in ['', '8.6', '8.5']:
|
||||
- incdirs = ['/usr/include/tcl' + _ver]
|
||||
- linklibs = ['tcl' + _ver, 'tk' + _ver]
|
||||
+ incdirs = ['@tcl_dev@/include', '@tk_dev@/include']
|
||||
+ linklibs = ['@tcl_libprefix@', '@tk_libprefix@']
|
||||
if os.path.isdir(incdirs[0]):
|
||||
found = True
|
||||
break
|
||||
Loading…
Add table
Add a link
Reference in a new issue