Easy, just give me the hubs,
Seriously, there'll be no problem there. My gsport ratchet hub has very different flange diameters but laced up fine with the same length spokes either side.
If you're really worried, get the measuring apparatus out and use the DT Swiss spoke length calculator (google it) and round up the answers to the nearest mm or two.