summaryrefslogtreecommitdiff
path: root/patchlevel.h
diff options
context:
space:
mode:
authorPerl 5 Porters <perl5-porters@africa.nicoh.com>1996-03-19 13:04:52 +0000
committerCharles Bailey <bailey@genetics.upenn.edu>1996-03-19 13:04:52 +0000
commit7f0a50ff081ecfbc16c55ea8fa0e035a2603d17b (patch)
treeef675b288146f73dc5bbc5d5e6ffee53c4824d6c /patchlevel.h
parent365eb7b5cc874d31d9a97b588bd3a6f94da0b073 (diff)
downloadperl-7f0a50ff081ecfbc16c55ea8fa0e035a2603d17b.tar.gz
Update SUBVERSION; add mechanism for listing local patches
Diffstat (limited to 'patchlevel.h')
-rw-r--r--patchlevel.h45
1 files changed, 44 insertions, 1 deletions
diff --git a/patchlevel.h b/patchlevel.h
index 4c941b4ca8..a0f1c61ea0 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 <date here>
+ --- patchlevel.h <date here>
+ *** 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 <date here>
+ --- patchlevel.h <date here>
+ *** 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)