This will usually mean that if you build a patch or other modification of the program and want to distribute it you must also publish the sources of that modification under a license explicitly mentioned in the program license text.
In some license types this includes both the other program and any program using that (including your program). In others (like LGPL) this will only be required only for modification made to that program, but not to your program if they are separated (LGPL is typically used for libraries and doesn't enforce publishing the library consumers).