[oclgrind] 01/04: Fixed C++11 warning about string literal suffix in PCH location patch.
James Price
jprice-guest at moszumanska.debian.org
Thu Oct 22 10:18:52 UTC 2015
This is an automated email from the git hooks/post-receive script.
jprice-guest pushed a commit to branch master
in repository oclgrind.
commit c076a62adfef57cade437ae287c92992be676cd5
Author: James Price <j.price at bristol.ac.uk>
Date: Mon Sep 14 13:07:00 2015 +0100
Fixed C++11 warning about string literal suffix in PCH location patch.
---
debian/patches/pch-location.patch | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/debian/patches/pch-location.patch b/debian/patches/pch-location.patch
index bd590af..b7d5f7f 100644
--- a/debian/patches/pch-location.patch
+++ b/debian/patches/pch-location.patch
@@ -30,7 +30,7 @@ Last-Update: 2015-08-07
#endif
{
- const char *includes_relative = "/../include/oclgrind/";
-+ const char *pch_relative = "/oclgrind/"PACKAGE_VERSION"/";
++ const char *pch_relative = "/oclgrind/" PACKAGE_VERSION "/";
size_t length = dirend - libpath;
- pchdir = new char[length + strlen(includes_relative) + 1];
+ pchdir = new char[length + strlen(pch_relative) + 1];
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-opencl/oclgrind.git
More information about the Pkg-opencl-commits
mailing list