diff options
author | Marco Bonetti <sid77@slackware.it> | 2010-05-13 00:36:41 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-13 00:36:41 +0200 |
commit | 091531ddf4f532a5a7263f2982945e4141be7df7 (patch) | |
tree | c5745ad30d0b95d1202750fdfc3b9a50b5c5036b /network/hping3/patches/tcl.diff | |
parent | e007a532993f218458af923574634886a1fac1ee (diff) | |
download | slackbuilds-091531ddf4f532a5a7263f2982945e4141be7df7.tar.gz |
network/hping3: Updated for version 20051105
Diffstat (limited to 'network/hping3/patches/tcl.diff')
-rw-r--r-- | network/hping3/patches/tcl.diff | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/network/hping3/patches/tcl.diff b/network/hping3/patches/tcl.diff new file mode 100644 index 0000000000..5e2de0cfd7 --- /dev/null +++ b/network/hping3/patches/tcl.diff @@ -0,0 +1,13 @@ +Harcode libtcl version to be that of the default tclsh. + +--- a/configure ++++ b/configure +@@ -98,7 +98,7 @@ + fi + if [ -n $USE_TCL ] + then +- LIBPOSTFIX=`ls -1 /usr/local/lib/ /usr/lib | grep 'libtcl[0-9]' | grep so | sed -e 's/\.so.*//g' -e 's/libtcl//g' | sort -r | head -1` ++ LIBPOSTFIX=`echo puts \\$tcl_version | $TCLSH -` + TCL_LIB="-ltcl${LIBPOSTFIX} -lm -lpthread" + fi + |