The government has agreed to allocate RM6 billion to build six second generation patrol vessels for the Royal Malaysian Navy, Defence Minister Ahmad Zahid Hamidi said today.