Your patch fails to apply: silver:/usr/src/mplayer/drivers$ patch --dry-run < /var/tmp/mplayer_mga.patch patching file mga_vid.c Hunk #2 FAILED at 1474. Hunk #3 FAILED at 1514. 2 out of 3 hunks FAILED -- saving rejects to file mga_vid.c.rej