Commit 179b03af authored by Antonio J. Pena's avatar Antonio J. Pena Committed by Kenneth Raffenetti
Browse files

Small fix after 80ad7cf8 to fix ticket #1870.

Ken Raffenetti reported the default GNU patch for FreeBSD is too old to
recognise the --no-backup-if-mismatch flag. This fix switches to a manual
removal approach.
Signed-off-by: Kenneth Raffenetti's avatarKen Raffenetti <>
parent 80ad7cf8
......@@ -919,7 +919,8 @@ if [ $do_bindings = "yes" ] ; then
echo "------------------------------------------------------------------------"
echo_n "Patching libtool.m4 for compatibility with nagfor shared libraries... "
patch --forward --no-backup-if-mismatch -p0 -s -l < maint/libtool.m4.patch
patch --forward -p0 -s -l < maint/libtool.m4.patch
rm -f confdb/libtool.m4.orig
if [ $? -eq 0 ] ; then
echo "done"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment