Pakistan and Saudi Arabia signed a new strategic defence pact on Wednesday, with the two sides saying an attack on one country would be considered “an aggression against both”.