From Larousse we have:
Nationalisme. Mouvement politique d'individus qui prennent
conscience de former une communauté nationale en raison des liens (langue,
culture) qui les unissent et qui peuvent vouloir se doter d'un État souverain.
Patriotisme. Attachement sentimental à sa patrie se
manifestant par la volonté de la défendre, de la promouvoir.
Synonymes : chauvinism, civisme, nationalisme
For those of you not speaking French, the last one states that nationalism and patriotism are synonyms. Thus I was a bit confused when the French President stated that they were unequal, especially when the French control their language so closely.
I leave this debate to those who may know a bit more. But I think words count.