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
15
pkgs/tools/security/nmap/zenmap.patch
Normal file
15
pkgs/tools/security/nmap/zenmap.patch
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
diff -ruN nmap-5.50.orig/zenmap/zenmapCore/Paths.py nmap-5.50/zenmap/zenmapCore/Paths.py
|
||||
--- nmap-5.50.orig/zenmap/zenmapCore/Paths.py 2013-06-06 05:52:10.723087428 +0000
|
||||
+++ nmap-5.50/zenmap/zenmapCore/Paths.py 2013-06-06 07:07:25.481261761 +0000
|
||||
@@ -115,7 +115,10 @@
|
||||
else:
|
||||
# Normal script execution. Look in the current directory to allow
|
||||
# running from the distribution.
|
||||
- return os.path.abspath(os.path.dirname(fs_dec(sys.argv[0])))
|
||||
+ #
|
||||
+ # Grrwlf: No,no,dear. That's not a script, thats Nixos wrapper. Go add
|
||||
+ # those '..' to substract /bin part.
|
||||
+ return os.path.abspath(os.path.join(os.path.dirname(fs_dec(sys.argv[0])), ".."))
|
||||
|
||||
prefix = get_prefix()
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue