The Giants are acquiring veteran starter Jake Peavy in a deal with the Red Sox, league sources say.

Boston is said to be receiving minor-league pitchers in the deal.

Peavy has been pitching better lately after a rough start in Boston this year, and part of the thinking may be that a switch to the National League will help.

The Red Sox's loss to the Rays Friday now drops them on the cusp of alling out of the race, but Boston is strong in starting pitching, so the move doesn't necessarily signal a white flag for Boston.