0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-11-21 22:06:17 +00:00
termux-packages/disabled-packages/wireshark-gtk/wireshark-2.6.1_tools_lemon_lemon.c.patch
Tee KOBAYASHI b7160c7434 wireshark-gtk: Disabled
In favor of wireshark-qt.
2022-10-17 18:33:08 +09:00

13 lines
565 B
Diff

diff -uNr wireshark-2.6.1/tools/lemon/lemon.c wireshark-2.6.1.mod/tools/lemon/lemon.c
--- wireshark-2.6.1/tools/lemon/lemon.c 2018-05-22 21:53:09.000000000 +0300
+++ wireshark-2.6.1.mod/tools/lemon/lemon.c 2018-06-26 18:49:28.878305121 +0300
@@ -3415,7 +3415,7 @@
*cp = c;
}else{
pathlist = getenv("PATH");
- if( pathlist==0 ) pathlist = ".:/bin:/usr/bin";
+ if( pathlist==0 ) pathlist = ".:@TERMUX_PREFIX@/bin:@TERMUX_PREFIX@/bin/applets";
pathbuf = (char *) malloc( lemonStrlen(pathlist) + 1 );
if( pathbuf == 0 )
return NULL;