From: Perl 5 Porters Date: Tue, 19 Mar 1996 13:04:52 +0000 (+0000) Subject: Update SUBVERSION; add mechanism for listing local patches X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=7f0a50ff081ecfbc16c55ea8fa0e035a2603d17b;p=p5sagit%2Fp5-mst-13.2.git Update SUBVERSION; add mechanism for listing local patches --- diff --git a/patchlevel.h b/patchlevel.h index 4c941b4..a0f1c61 100644 --- a/patchlevel.h +++ b/patchlevel.h @@ -1,2 +1,45 @@ #define PATCHLEVEL 2 -#define SUBVERSION 0 +#define SUBVERSION 1 + +/* + local_patches -- list of locally applied less-than-subversion patches. + If you're distributing such a patch, please give it a name and a + one-line description, placed just before the last NULL in the array + below. If your patch fixes a bug in the perlbug database, please + mention the bugid. If your patch *IS* dependent on a prior patch, + please place your applied patch line after its dependencies. This + will help tracking of patch dependencies. + + Please edit the hunk of diff which adds your patch to this list, + to remove context lines which would give patch problems. For instance, + if the original context diff is + *** patchlevel.h.orig + --- patchlevel.h + *** 38,43 *** + --- 38,44 --- + ,"FOO1235 - some patch" + ,"BAR3141 - another patch" + ,"BAZ2718 - and another patch" + + ,"MINE001 - my new patch" + ,NULL + }; + + please change it to + *** patchlevel.h.orig + --- patchlevel.h + *** 41,43 *** + --- 41,44 --- + + ,"MINE001 - my new patch" + }; + + (Note changes to line numbers as well as removal of context lines.) + This will prevent patch from choking if someone has previously + applied different patches than you. + */ +static char *local_patches[] = { + NULL + ,NULL +}; + +#define LOCAL_PATCH_COUNT \ + (sizeof(local_patches)/sizeof(local_patches[0])-2)