You need an adhesive thats unaffected by hydrocarbons. Most if not all products that are not affected will use the term intermittent for liability issues. If the part youre trying to fix is plastic, you can try to plastic weld it, if metal, you can weld it.
Or you could measure it and order a...