FIX : apply patch using the smallest common packages