summaryrefslogtreecommitdiff
path: root/debian/patches/debian/patchlevel.diff
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/debian/patchlevel.diff')
-rw-r--r--debian/patches/debian/patchlevel.diff27
1 files changed, 27 insertions, 0 deletions
diff --git a/debian/patches/debian/patchlevel.diff b/debian/patches/debian/patchlevel.diff
new file mode 100644
index 0000000..2b9cb3d
--- /dev/null
+++ b/debian/patches/debian/patchlevel.diff
@@ -0,0 +1,27 @@
+From: Niko Tyni <ntyni@debian.org>
+Date: Sun, 15 May 2011 19:35:58 +0300
+Subject: List packaged patches in patchlevel.h
+
+Origin: vendor
+Bug-Debian: http://bugs.debian.org/567489
+
+The list of packaged patches is in patchlevel-debian.h, which is generated
+from the debian/patches/ directory when building the package.
+---
+ patchlevel.h | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/patchlevel.h b/patchlevel.h
+index acafc2b..814b30d 100644
+--- a/patchlevel.h
++++ b/patchlevel.h
+@@ -137,6 +137,9 @@ static const char * const local_patches[] = {
+ ,"uncommitted-changes"
+ #endif
+ PERL_GIT_UNPUSHED_COMMITS /* do not remove this line */
++#ifdef DEBIAN
++#include "patchlevel-debian.h"
++#endif
+ ,NULL
+ };
+