Who is the idiot in charge of polling place locations that would ever create that situation?
Just move the polling place.
That would be the ideal solution. Makes sense.
If you allow churches to set dietary and dress codes for precinct workers or voters, then you have to allow Mosques the same priviledge.
The solution is to have the secretary of state determine what restrictions are going to be placed in polling facilities and if the churches and mosques and synagogues can't live with it, then they should not volunteer their facilities.
If the secretary of state rules that Coffee and Cokes will not be permitted in any polling facility, then that would be acceptable. However, if it is determined that the secretary of state is only doing this for religious reasons, then I suspect it might run afoul of the Constitution.