There are a few ways to charge something with a broken port. One way is to use an adapter that plugs into the broken port and has a USB or other type of jack on the other end that you can plug into a power outlet or computer. Another way is to use a cable that has a USB connector on one end and a Lightning connector or another type of connector on the other end. You can also buy an external battery pack that has a USB or other type of jack on one end and plugs into the wall, and then you can plug your device's charging cable into the battery pack.