Did Joseph Smith predict the Civil War?

A friend says D&C 87 came from the newspapers. Compare what was public in 1832, what Joseph repeated, and which predictions match the war.

Exchange 1 of 3

“How can we be sure the prophecy predates the Civil War?”