Package: libclc-dev
Version: 0.2.0+git20180518-1
Severity: minor
Tags: upstream

The file /usr/share/pkgconfig/libclc.pc is missing a final newline,
which the attached patch should fix.  Tried to send it upstream, but
they rejected my mail without explanation, and I am not really
interested in subscribing to their mailing list.  So please forward the
patch.

>From fbf6cafe778139f15e4752097b942e8428692234 Mon Sep 17 00:00:00 2001
From: Sven Joachim <[email protected]>
Date: Sat, 19 May 2018 08:51:45 +0200
Subject: [PATCH] configure.py: Add missing final newline to libclc.pc

Signed-off-by: Sven Joachim <[email protected]>
---
 configure.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.py b/configure.py
index 56723f7..d07644a 100755
--- a/configure.py
+++ b/configure.py
@@ -162,7 +162,7 @@ for src in ['subnormal_disable.ll', 'subnormal_use_default.ll']:
 
 # Create libclc.pc
 clc = open('libclc.pc', 'w')
-clc.write('includedir=%(inc)s\nlibexecdir=%(lib)s\n\nName: libclc\nDescription: Library requirements of the OpenCL C programming language\nVersion: %(maj)s.%(min)s.%(pat)s\nCflags: -I${includedir}\nLibs: -L${libexecdir}' %
+clc.write('includedir=%(inc)s\nlibexecdir=%(lib)s\n\nName: libclc\nDescription: Library requirements of the OpenCL C programming language\nVersion: %(maj)s.%(min)s.%(pat)s\nCflags: -I${includedir}\nLibs: -L${libexecdir}\n' %
 {'inc': includedir, 'lib': libexecdir, 'maj': version_major, 'min': version_minor, 'pat': version_patch})
 clc.close()
 
-- 
2.17.0

Reply via email to