The final whistle is blown.John Atkin, Arena Lviv: Mario Gomez's header is enough to see Germany past Portugal, who hit the woodwork twice before being denied late on by last-gasp blocks from Manuel Neuer and Holger Badstuber. Neither team was at their best, but Germany were deadlier when it counted. Gomez was frustrated for long periods but showed his quality when it mattered.

90+4

Bender (in) - T. Müller (out) (Germany)

87

Kroos (in) - Özil (out) (Germany)

80

Varela (in) - Raul Meireles (out) (Portugal)

80

Klose (in) - Gomez (out) (Germany)The goalscorer is replaced to a standing ovation from the German fans to be replaced by the birthday boy, who is 34 today.

72

Gomez (Germany) scores!Just as it seemed the forward would be replaced by Miroslav Klose, Gomez does brilliantly to rise above Pepe and meet Sami Khedira's cross from the right and head back across goal into the bottom right-hand corner. A great header.

The referee blows for half-time.John Atkin, Arena Lviv: The first half burst into life in the dying moments as Pepe's effort looked destined to put Portugal ahead, before rattling the crossbar. Germany have been the more threatening, though Rui Patrício has not been really tested yet, and both sides seem to be favouring a cautious approach at the moment.