Atari 2600 Joystick (and) Port Fix

The other day I found a ridiculously cheap Atari 2600 Junior on Vinted. It was listed as "untested", which typically means completely broken. ...