This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
applied non-conflicting parts of suggested patch
[perl5.git] / patchlevel.h
CommitLineData
f7d144c8 1#ifndef __PATCHLEVEL_H_INCLUDED__
4d8076ea 2
a9fb271f
GS
3/* do not adjust the whitespace! Configure expects the numbers to be
4 * exactly on the third column */
5
6#define PERL_REVISION 5 /* age */
7#define PERL_VERSION 5 /* epoch */
642c2561 8#define PERL_SUBVERSION 56 /* generation */
4d8076ea 9
7f0a50ff 10/*
11 local_patches -- list of locally applied less-than-subversion patches.
12 If you're distributing such a patch, please give it a name and a
13 one-line description, placed just before the last NULL in the array
14 below. If your patch fixes a bug in the perlbug database, please
15 mention the bugid. If your patch *IS* dependent on a prior patch,
16 please place your applied patch line after its dependencies. This
17 will help tracking of patch dependencies.
18
19 Please edit the hunk of diff which adds your patch to this list,
20 to remove context lines which would give patch problems. For instance,
21 if the original context diff is
22 *** patchlevel.h.orig <date here>
23 --- patchlevel.h <date here>
24 *** 38,43 ***
25 --- 38,44 ---
26 ,"FOO1235 - some patch"
27 ,"BAR3141 - another patch"
28 ,"BAZ2718 - and another patch"
29 + ,"MINE001 - my new patch"
30 ,NULL
31 };
32
33 please change it to
34 *** patchlevel.h.orig <date here>
35 --- patchlevel.h <date here>
36 *** 41,43 ***
37 --- 41,44 ---
38 + ,"MINE001 - my new patch"
39 };
40
41 (Note changes to line numbers as well as removal of context lines.)
42 This will prevent patch from choking if someone has previously
43 applied different patches than you.
44 */
45static char *local_patches[] = {
46 NULL
47 ,NULL
48};
49
b33f1439 50/* Initial space prevents this variable from being inserted in config.sh */
51# define LOCAL_PATCH_COUNT \
7f0a50ff 52 (sizeof(local_patches)/sizeof(local_patches[0])-2)
f7d144c8 53
e5c9fcd0 54# define __PATCHLEVEL_H_INCLUDED__
f7d144c8 55#endif
cceca5ed
GS
56
57/* the old terms of reference, add them only when explicitly included */
58#if !defined(PERL_PATCHLEVEL_H_IMPLICIT) && !defined(PATCHLEVEL)
59#define PATCHLEVEL PERL_VERSION
60#undef SUBVERSION /* OS/390 has a SUBVERSION in a system header */
61#define SUBVERSION PERL_SUBVERSION
62#endif
63