Scrub at the crack with a wire brush to remove loose cement as well as all dirt, dust and other contaminants. Vacuum out the crack with a wet/dry vacuum to remove all loose debris. The crack must be completely clean before you can patch it.
Mix cement or concrete patching compound and water in a large bucket with a paddle mixer until the material takes on the consistency of thick pancake batter; you should be able to pour it out of the bucket, but it should retain its shape and not run or drip once it's on the surface.
Spread a thin layer of the patching compound over the crack with a mason's trowel. Use the flat edge of the trowel to force the compound deep into the crack. Fill in thin layers, ensuring that the crack is completely filled before applying another layer. Continue until the crack is completely covered.
Scrape the flat edge of the trowel over the surface of the patch to remove any excess patching compound, bringing the patch completely flush with the rest of the porch surface. Allow the patching compound to dry for at least 24 hours before exposing it to any moisture or stress.