Bug#925628 remove auto patching function in config.sh