| 1 | #ifndef __PATCHLEVEL_H_INCLUDED__ |
| 2 | |
| 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 7 /* epoch */ |
| 8 | #define PERL_SUBVERSION 2 /* generation */ |
| 9 | |
| 10 | /* The following numbers describe the earliest compatible version of |
| 11 | Perl ("compatibility" here being defined as sufficient binary/API |
| 12 | compatibility to run XS code built with the older version). |
| 13 | Normally this should not change across maintenance releases. |
| 14 | |
| 15 | Note that this only refers to an out-of-the-box build. Many non-default |
| 16 | options such as usemultiplicity tend to break binary compatibility |
| 17 | more often. |
| 18 | |
| 19 | This is used by Configure et al to figure out |
| 20 | PERL_INC_VERSION_LIST, which lists version libraries |
| 21 | to include in @INC. See INSTALL for how this works. |
| 22 | */ |
| 23 | #define PERL_API_REVISION 5 /* Adjust manually as needed. */ |
| 24 | #define PERL_API_VERSION 5 /* Adjust manually as needed. */ |
| 25 | #define PERL_API_SUBVERSION 0 /* Adjust manually as needed. */ |
| 26 | /* |
| 27 | XXX Note: The selection of non-default Configure options, such |
| 28 | as -Duselonglong may invalidate these settings. Currently, Configure |
| 29 | does not adequately test for this. A.D. Jan 13, 2000 |
| 30 | */ |
| 31 | |
| 32 | #define __PATCHLEVEL_H_INCLUDED__ |
| 33 | #endif |
| 34 | |
| 35 | /* |
| 36 | local_patches -- list of locally applied less-than-subversion patches. |
| 37 | If you're distributing such a patch, please give it a name and a |
| 38 | one-line description, placed just before the last NULL in the array |
| 39 | below. If your patch fixes a bug in the perlbug database, please |
| 40 | mention the bugid. If your patch *IS* dependent on a prior patch, |
| 41 | please place your applied patch line after its dependencies. This |
| 42 | will help tracking of patch dependencies. |
| 43 | |
| 44 | Please edit the hunk of diff which adds your patch to this list, |
| 45 | to remove context lines which would give patch problems. For instance, |
| 46 | if the original context diff is |
| 47 | *** patchlevel.h.orig <date here> |
| 48 | --- patchlevel.h <date here> |
| 49 | *** 38,43 *** |
| 50 | --- 38,44 --- |
| 51 | ,"FOO1235 - some patch" |
| 52 | ,"BAR3141 - another patch" |
| 53 | ,"BAZ2718 - and another patch" |
| 54 | + ,"MINE001 - my new patch" |
| 55 | ,NULL |
| 56 | }; |
| 57 | |
| 58 | please change it to |
| 59 | *** patchlevel.h.orig <date here> |
| 60 | --- patchlevel.h <date here> |
| 61 | *** 41,43 *** |
| 62 | --- 41,44 --- |
| 63 | + ,"MINE001 - my new patch" |
| 64 | }; |
| 65 | |
| 66 | (Note changes to line numbers as well as removal of context lines.) |
| 67 | This will prevent patch from choking if someone has previously |
| 68 | applied different patches than you. |
| 69 | */ |
| 70 | #if !defined(PERL_PATCHLEVEL_H_IMPLICIT) && !defined(LOCAL_PATCH_COUNT) |
| 71 | static char *local_patches[] = { |
| 72 | NULL |
| 73 | ,"DEVEL14388" |
| 74 | ,NULL |
| 75 | }; |
| 76 | |
| 77 | /* Initial space prevents this variable from being inserted in config.sh */ |
| 78 | # define LOCAL_PATCH_COUNT \ |
| 79 | (sizeof(local_patches)/sizeof(local_patches[0])-2) |
| 80 | |
| 81 | /* the old terms of reference, add them only when explicitly included */ |
| 82 | #define PATCHLEVEL PERL_VERSION |
| 83 | #undef SUBVERSION /* OS/390 has a SUBVERSION in a system header */ |
| 84 | #define SUBVERSION PERL_SUBVERSION |
| 85 | #endif |