Repair anvils with iron ingots or damage them with obsidian, via crafting or by shift + right-clicking them.
631b895