Update 2020 Edition: Use something like Airsonic instead. Subsonic's code is closed source at this point, and thus this patch is useless, unless you are using a 9 year old verison of Subsonic for some reason.
A patch to disable the licensing functionality in Subsonic, a GPL-licensed media streaming server/web interface. Use of the mobile apps requires you to get a license after 30 days of trial. You obtain a license via donation.
Except that's not a donation. So, here's a patch to fix that. Support the Subsonic project with a donation that's actually a donation. The program is developed and maintained very well.
svn co https://subsonic.svn.sourceforge.net/svnroot/subsonic/trunk subsonic
Check out a different branch if you want a specific version.
From the branch root:
patch -p0 < nolicense.patch
mvn install
cd subsonic-booter/
mvn install
Replace the downloaded subsonic.war and subsonic-booter-with-dependencies.jar with the newly compiled ones. Compilation of subsonic-booter is probably optional. It's just a precaution in case the branch you are compiling is newer than whatever version you downloaded.
http://www.markusbe.com/2009/11/how-to-apply-a-patch-and-solve-hunk-failed-cant-find-file-to-patch-and-others/#hunk-failed
The file has probably changed since this patch was created. I don't remember the specific commit I checked out. But really all you need to do is set licenseValidated to true, and return true from isLicenseValid.