To jimmy or rig something up so it works-ish. Not a real fix.
From the series, which follows the story of MacGyver, a laid-back, extremely resourceful secret agent , played by Richard Dean Anderson, who prefers non-violent conflict resolution wherever possible & refuses to carry or use a gun, but usually just uses his Swiss Army knife. He is a problem solver for the fictional Phoenix Foundation in LA.
Like hitting the TV (CRT) when it goes flicky. It works for awhile but not too long.
You: Oh man you got your crappy old TV working again! The picture was so crappy last time!
Me: Yeah I Macgyver'd it with a piece of wood and a good whack.