affix a funnel somewhere so you can stand in the cockpit and pee into it while the hose directs the flow overboard.
Actually the last time I had trouble was from the other end. I had one pf those 5 gallon orange Home Depot buckets in the cockpit with my arms around it (like a drunk in the bathroom arms around the toilet). I held that damn bucket for most of the night crossing the gulfstream in some nasty & uncomfortable seas.
Again as usual the boat didn't care, it was me that was having problems. The boat kept plugging along crashing through confused seas although at the end of the crossing there was a new creak outside the forward head where the joinery separated from the sole. 'creak, creak, creak. Fixed it with screws and Gorilla Glue.