FR 7958 then VY 1182 at Barcelona
Cork → Barcelona → Porto
Timetable, Barcelona time
22:55FR 7958 from Cork at the gate
20:25VY 1182 to Porto leaves the gate
21 h 30 apart on the timetable, overnight
VY 1182 leaves 21 h 30 after FR 7958 arrives on the timetable: more than half a day, so not a connection we count.