From 38d8a4d814443f7edb4a07b1d255d25dd40eedef Mon Sep 17 00:00:00 2001
From: ume <ume@FreeBSD.org>
Date: Wed, 2 Jul 2003 09:42:15 +0000
Subject: Reduce warnings during build on 5-CURRENT.

Submitted by:	Oliver Eikemeier <eikemeier@fillmore-labs.com>
---
 security/cyrus-sasl2/files/patch-config::ltmain.sh | 20 +++++++++++++++++++-
 1 file changed, 19 insertions(+), 1 deletion(-)

(limited to 'security/cyrus-sasl2')

diff --git a/security/cyrus-sasl2/files/patch-config::ltmain.sh b/security/cyrus-sasl2/files/patch-config::ltmain.sh
index 9f453aa05c76..51dd0492008d 100644
--- a/security/cyrus-sasl2/files/patch-config::ltmain.sh
+++ b/security/cyrus-sasl2/files/patch-config::ltmain.sh
@@ -1,7 +1,25 @@
 Index: config/ltmain.sh
 diff -u config/ltmain.sh.orig config/ltmain.sh
 --- config/ltmain.sh.orig	Thu Jun 12 09:32:43 2003
-+++ config/ltmain.sh	Tue Jul  1 01:07:11 2003
++++ config/ltmain.sh	Wed Jul  2 11:50:04 2003
+@@ -1901,7 +1901,7 @@
+ 		deplib_matches=`eval \\$echo \"$library_names_spec\"`
+ 		set dummy $deplib_matches
+ 		deplib_match=$2
+-		if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then
++		if test `expr "X$ldd_output" : "X.*$deplib_match"` -ne 0 ; then
+ 		  newdeplibs="$newdeplibs $i"
+ 		else
+ 		  droppeddeps=yes
+@@ -1931,7 +1931,7 @@
+ 		  deplib_matches=`eval \\$echo \"$library_names_spec\"`
+ 		  set dummy $deplib_matches
+ 		  deplib_match=$2
+-		  if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then
++		  if test `expr "X$ldd_output" : "X.*$deplib_match"` -ne 0 ; then
+ 		    newdeplibs="$newdeplibs $i"
+ 		  else
+ 		    droppeddeps=yes
 @@ -1959,7 +1959,7 @@
  	  set dummy $deplibs_check_method
  	  file_magic_regex="`expr \"$deplibs_check_method\" : \"$2 \(.*\)\"`"
-- 
cgit