From: Sebastian Harl Date: Sat, 24 Sep 2016 13:16:59 +0000 (+0200) Subject: rules: Do not cripple include files in collectd-dev when patching them. X-Git-Tag: collectd-5.6.0-1~3 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=d802d404b4ec6cecbd3b36f0d804979614d59b80;p=pkg-collectd.git rules: Do not cripple include files in collectd-dev when patching them. Thanks to Scott Talbert for reporting this. Closes: #827759 --- diff --git a/debian/changelog b/debian/changelog index 0e0ba15..71f8a66 100644 --- a/debian/changelog +++ b/debian/changelog @@ -18,6 +18,8 @@ collectd (5.6.0-1) UNRELEASED; urgency=medium - 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 078243f..e26fb54 100755 --- a/debian/rules +++ b/debian/rules @@ -230,7 +230,7 @@ install-indep: 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 )