summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 50d2ed6)
raw | patch | inline | side by side (parent: 50d2ed6)
author | Sebastian Harl <sh@tokkee.org> | |
Sat, 24 Sep 2016 13:16:59 +0000 (15:16 +0200) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Sat, 24 Sep 2016 13:16:59 +0000 (15:16 +0200) |
Thanks to Scott Talbert for reporting this.
Closes: #827759
Closes: #827759
debian/changelog | patch | blob | history | |
debian/rules | patch | blob | history |
diff --git a/debian/changelog b/debian/changelog
index 0e0ba1507ee5491e3ff637c81accfe240c779849..71f8a66e22bda0b62ab0d51d3f231bed1c3677de 100644 (file)
--- a/debian/changelog
+++ b/debian/changelog
- Disable cpusleep plugin on non-Linux.
- Disable xencpu plugin except on amd64, arm64, armhf, and i386.
- Disable the zone plugin.
+ - Do not cripple include files in collectd-dev when patching them; thanks
+ to Scott Talbert for reporting this (Closes: #827759).
* debian/control:
- Build-depend on libgps-dev: Needed by the new gps plugin.
- Build-depend on liblua5.3-dev: Needed by the new lua plugin.
diff --git a/debian/rules b/debian/rules
index 078243f2ad1bc7abfd5cae5e381859310a3a1f4b..e26fb5465d616911dd21f9d6cf0f4946a27b2d97 100755 (executable)
--- a/debian/rules
+++ b/debian/rules
libname=$$(basename $$lib); \
fullpath=$$(echo $$lib | sed -r -e 's,^\./,collectd/,'); \
for dir in $$(find . -mindepth 1 -type d); do \
- sed -r -i -e "s,(include\s+)\".*$$libname\",\1\"$$fullpath\"," $$dir/*.h; \
+ sed -r -i -e "s,(include\s+)\".*\<$$libname\",\1\"$$fullpath\"," $$dir/*.h; \
done; \
done )