I've patched a hole near the valve just to get home but the patch never holds for long. Usually comes from a burred edge around the hole in the rim. Check it and deburr the edges. Sometimes just burnishing it with a rounded steel tip will do the trick, but I'll touch it up with a file or moto tool bit.