$OpenBSD: patch-gcc_testsuite_g++_old-deja_old-deja_exp,v 1.2 2008/07/25 20:50:26 martynas Exp $
--- gcc/testsuite/g++.old-deja/old-deja.exp.orig	Tue Oct  9 12:16:17 2001
+++ gcc/testsuite/g++.old-deja/old-deja.exp	Fri Jul 25 12:34:58 2008
@@ -52,7 +52,7 @@ foreach file [lsort [find $srcdir/$subdir *.C]] {
     # We don't want old-dejagnu.exp to have to know about all the global
     # variables we use.  For now we tell it about CXXFLAGS and LIBS and
     # leave LDFLAGS alone.
-    old-dejagnu $GXX_UNDER_TEST "$file" "$tfile" "" "$DEFAULT_CXXFLAGS" "-lstdc++"
+    old-dejagnu $GXX_UNDER_TEST "$file" "$tfile" "" "$DEFAULT_CXXFLAGS" "-lestdc++"
 }
 
 # The framework doesn't like to see any error remnants,
