add relative links to patches