Add patch for Freeciv bug #22479.