Multi-choice problem: does word "block" have the same meaning in the following two sentences?

Block a garment.

I blocked the mittens by wetting them and pinning them to a shaped piece of cardboard.

Possible answers: -- different meanings -- the same meaning
the same meaning