Hiranyakashipu performs long austerities to win power over the gods.
Brahma appears and refuses to grant immortality.
The asura asks instead not to die indoors or outdoors, by day or by night, on the ground or in the sky, by any weapon, or by any creature Brahma has made.
Brahma grants it.
Vishnu later takes the man-lion form, which is no creature of Brahma's, and kills him at twilight on a threshold, across his lap, with claws.
After a penance so severe that the gods complain, Hiranyakashipu is visited by Brahma, who will give him anything but deathlessness. The asura drafts his own safety: no death inside a dwelling or outside one, in daylight or at night, on the earth or in the air, from any weapon, or from any being that Brahma has created. The creator agrees. Every clause is later turned against him when Vishnu comes as Narasimha, neither man nor beast, at dusk, in a doorway, lifts him onto his knees and opens him with his nails.
The Shiva Purana keeps the boon but changes the list: the asura asks to be safe from weapons, thunderbolts, mountains, trees, missiles, water, fire and every living creature. The escape clauses of the Bhagavata are replaced by a catalogue of things that cannot harm him.
What is different here:
A different list of exclusions; the same structure of a boon undone by what it left out.