Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | From b517c5e15d0871e36d0f1187661fe1dd28ddf820 Mon Sep 17 00:00:00 2001 |
| 2 | From: Niko Tyni <ntyni@debian.org> |
| 3 | Date: Sun, 15 May 2011 19:35:58 +0300 |
| 4 | Subject: List packaged patches in patchlevel.h |
| 5 | |
| 6 | Origin: vendor |
| 7 | Bug-Debian: http://bugs.debian.org/567489 |
| 8 | |
| 9 | The list of packaged patches is in patchlevel-debian.h, which is generated |
| 10 | from the debian/patches/ directory when building the package. |
| 11 | |
| 12 | Patch-Name: debian/patchlevel.diff |
| 13 | --- |
| 14 | patchlevel.h | 3 +++ |
| 15 | 1 file changed, 3 insertions(+) |
| 16 | |
| 17 | diff --git a/patchlevel.h b/patchlevel.h |
| 18 | index a0ad78b..01367b7 100644 |
| 19 | --- a/patchlevel.h |
| 20 | +++ b/patchlevel.h |
| 21 | @@ -137,6 +137,9 @@ static const char * const local_patches[] = { |
| 22 | ,"uncommitted-changes" |
| 23 | #endif |
| 24 | PERL_GIT_UNPUSHED_COMMITS /* do not remove this line */ |
| 25 | +#ifdef DEBIAN |
| 26 | +#include "patchlevel-debian.h" |
| 27 | +#endif |
| 28 | ,NULL |
| 29 | }; |
| 30 | |