[libvirt] [PATCH] cfg.mak: ignore trailing whitespace in gnulib local patches

Daniel P. Berrangé berrange at redhat.com
Mon Mar 5 18:47:53 UTC 2018


The diff files in gnulib/local may well contain trailing whitespace.
They are simply diff's of gnulib code which should not be modified to
follow libvirt style rules.

Signed-off-by: Daniel P. Berrangé <berrange at redhat.com>
---

Pushed as a build fix

 cfg.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cfg.mk b/cfg.mk
index 22de11ce43..bc8088d7c0 100644
--- a/cfg.mk
+++ b/cfg.mk
@@ -1224,7 +1224,7 @@ exclude_file_name_regexp--sc_require_config_h_first = \
 	^(examples/|tools/virsh-edit\.c$$)
 
 exclude_file_name_regexp--sc_trailing_blank = \
-  /qemuhelpdata/|/sysinfodata/.*\.data|/virhostcpudata/.*\.cpuinfo$$
+  /qemuhelpdata/|/sysinfodata/.*\.data|/virhostcpudata/.*\.cpuinfo|^gnulib/local/.*/.*diff$$
 
 exclude_file_name_regexp--sc_unmarked_diagnostics = \
   ^(docs/apibuild.py|tests/virt-aa-helper-test|docs/js/.*\.js)$$
-- 
2.14.3




More information about the libvir-list mailing list