Index: kde-2.1/kdegames-2.1/admin/ltmain.sh diff -u kde-2.1/kdegames-2.1/admin/ltmain.sh:1.1.1.1 kde-2.1/kdegames-2.1/admin/ltmain.sh:1.2 --- kde-2.1/kdegames-2.1/admin/ltmain.sh:1.1.1.1 Tue Feb 27 10:55:32 2001 +++ kde-2.1/kdegames-2.1/admin/ltmain.sh Fri Mar 2 11:48:37 2001 @@ -2868,6 +2868,8 @@ test -n "$hardcode_libdirs"; then libdir="$hardcode_libdirs" eval dep_rpath=\"$hardcode_libdir_flag_spec\" + else + dep_rpath="${wl}-bnolibpath" fi if test -n "$runpath_var" && test -n "$perm_rpath"; then # We should set the runpath_var. @@ -3274,6 +3276,8 @@ test -n "$hardcode_libdirs"; then libdir="$hardcode_libdirs" eval rpath=\" $hardcode_libdir_flag_spec\" + else + dep_rpath=" ${wl}-bnolibpath" fi compile_rpath="$rpath" @@ -3310,6 +3314,8 @@ test -n "$hardcode_libdirs"; then libdir="$hardcode_libdirs" eval rpath=\" $hardcode_libdir_flag_spec\" + else + dep_rpath=" ${wl}-bnolibpath" fi finalize_rpath="$rpath" @@ -3502,7 +3508,9 @@ # AIX runtime linking requires linking programs with -Wl,-brtl and libs with -Wl,-G case "$host" in *-*-aix4*) compile_command="$compile_command $wl-brtl" - finalize_command="$finalize_command $wl-brtl" ;; + compile_command=`$echo "X$compile_command" | $Xsed -e "s/\$CC/\$CC $wl-bnolibpath/1"` + finalize_command="$finalize_command $wl-brtl" + finalize_command=`$echo "X$finalize_command" | $Xsed -e "s/\$CC/\$CC $wl-bnolibpath/1"` ;; esac if test $need_relink = no || test "$build_libtool_libs" != yes; then @@ -4393,10 +4401,18 @@ esac fi libfile="$libdir/"`$echo "X$lib" | $Xsed -e 's%^.*/%%g'` ### testsuite: skip nested quoting test - if test -n "$libdir" && test ! -f "$libfile"; then - $echo "$modename: warning: \`$lib' has not been installed in \`$libdir'" 1>&2 - finalize=no - fi + # Make sure we look in the destination dir as well as the final dir + if test -z "$DESTDIR"; then + if test -n "$libdir" && test ! -f "$libfile"; then + $echo "$modename: warning: \`$lib' has not been installed in \`$libdir'" 1>&2 + finalize=no + fi + else + if test -n "$libdir" && test ! -f "$libfile" && test -n "$DESTDIR/$libdir" && test ! -f "$DESTDIR/$libfile"; then + $echo "$modename: warning: \`$lib' has not been installed in \`$libdir' or \`\$DESTDIR/$libdir'" 1>&2 + finalize=no + fi + fi done relink_command= @@ -4421,6 +4437,8 @@ outputname="$tmpdir/$file" # Replace the output file specification. relink_command=`$echo "X$relink_command" | $Xsed -e 's%@OUTPUT@%'"$outputname"'%g'` + # Make sure we look in the destination dir as well as the final dir + test -z "$DESTDIR" || relink_command=`$echo "X$relink_command" | $Xsed -e 's%-L'"$libdir"'%-L'"$libdir"' -L'"$DESTDIR/$libdir"'%g'` $show "$relink_command" if $run eval "$relink_command"; then : Index: kde-2.1/kdegames-2.1/kpat/card.cpp diff -u kde-2.1/kdegames-2.1/kpat/card.cpp:1.1.1.1 kde-2.1/kdegames-2.1/kpat/card.cpp:1.2 --- kde-2.1/kdegames-2.1/kpat/card.cpp:1.1.1.1 Tue Feb 27 10:54:43 2001 +++ kde-2.1/kdegames-2.1/kpat/card.cpp Fri Mar 2 12:58:33 2001 @@ -153,13 +153,13 @@ **********************************************************************/ static const double flipLift = 1.2; -int Card::hz = 0; +int Card::_hz = 0; void Card::setZ(int z) { QCanvasRectangle::setZ(z); - if (z > hz) - hz = z; + if (z > _hz) + _hz = z; } void Card::flipTo(int x2, int y2, int steps) @@ -177,7 +177,7 @@ destX = x2; destY = y2; destZ = int(z()); - setZ(hz++); + setZ(_hz++); animSteps = flipSteps; setVelocity(dx/animSteps, dy/animSteps-flipLift); setAnimated(TRUE); @@ -219,7 +219,7 @@ setZ(z2); return; } - setZ(hz++); + setZ(_hz++); if (steps) { // Ensure a good speed @@ -269,7 +269,7 @@ destZ = int(z()); destX = int(x()); destY = int(y()); - setZ(hz+1); + setZ(_hz+1); animSteps = steps; setVelocity(0, 0); setAnimated(TRUE); Index: kde-2.1/kdegames-2.1/kpat/card.h diff -u kde-2.1/kdegames-2.1/kpat/card.h:1.1.1.1 kde-2.1/kdegames-2.1/kpat/card.h:1.2 --- kde-2.1/kdegames-2.1/kpat/card.h:1.1.1.1 Tue Feb 27 10:54:44 2001 +++ kde-2.1/kdegames-2.1/kpat/card.h Fri Mar 2 12:58:33 2001 @@ -104,7 +104,7 @@ bool flipping; int savedX, savedY; double scaleX, scaleY; - static int hz; + static int _hz; bool tookDown; };