Some patches for various software