MKPATCHES(1) NetBSD General Commands Manual MKPATCHES(1) NNAAMMEE mmkkppaattcchheess -- create patch files appropriate for pkgsrc SSYYNNOOPPSSIISS mmkkppaattcchheess [--cc | --rr] [--hhvv] DDEESSCCRRIIPPTTIIOONN mmkkppaattcchheess is a perl script that simplifies creating patches from a changed work tree if for each changed file the original was kept with an added extension ``.orig''. mmkkppaattcchheess must be called from the package's main directory, that is _$_{_P_K_G_S_R_C_}_/_c_a_t_e_g_o_r_y_/_p_r_o_g_r_a_m. It then proceeds to find all files that match the pattern ``*.orig''. Each of these is then compared to the changed file of the same name (with no ``.orig'' extension) using pkgdiff(1). The resulting patches are saved in the package's patches directory (usu- ally _p_a_t_c_h_e_s_/) and can be easily compared to the currently existing set using patchdiff(1) or ccvvss ddiiffff. Supported options are: --cc Clean up backup patches of previous runs. Use this after you're finished working on the patch set and committed it. --hh Show a short usage. --rr Revert the changes. Removes the new patches and puts the original patches back. --vv More verbose output. SSEEEE AALLSSOO cvs(1), patchdiff(1), pkgdiff(1) NetBSD 5.0 January 31, 2011 NetBSD 5.0