[clblas] 05/06: d/p: add patch fixing missing inclusion of stdlib

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Tue Aug 18 19:09:19 UTC 2015


This is an automated email from the git hooks/post-receive script.

ghisvail-guest pushed a commit to branch debian/sid
in repository clblas.

commit 25f1b6df05d76b4417f08fe2cb4f7786f28fc877
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date:   Tue Aug 18 18:46:44 2015 +0100

    d/p: add patch fixing missing inclusion of stdlib
---
 debian/patches/fix-missing-stdlib.patch | 33 +++++++++++++++++++++++++++++++++
 debian/patches/series                   |  1 +
 2 files changed, 34 insertions(+)

diff --git a/debian/patches/fix-missing-stdlib.patch b/debian/patches/fix-missing-stdlib.patch
new file mode 100644
index 0000000..5578935
--- /dev/null
+++ b/debian/patches/fix-missing-stdlib.patch
@@ -0,0 +1,33 @@
+Description: fix missing inclusion of stdlib within the project
+Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
+Bug: https://github.com/clMathLibraries/clBLAS/pull/134
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/src/library/blas/functor/functor.cc
++++ b/src/library/blas/functor/functor.cc
+@@ -15,6 +15,7 @@
+  * ************************************************************************/
+ 
+ #include <stdio.h>
++#include <stdlib.h>
+ #include <fstream>
+ #include <iostream>
+ #include <ios>
+@@ -114,4 +115,4 @@
+ 
+     }
+   }
+-}
+\ No newline at end of file
++}
+--- a/src/library/blas/generic/binary_lookup.cc
++++ b/src/library/blas/generic/binary_lookup.cc
+@@ -28,7 +28,7 @@
+ #include <sys/stat.h>
+ 
+ #include <devinfo.h>
+-
++#include <stdlib.h>
+ 
+ 
+ 
diff --git a/debian/patches/series b/debian/patches/series
index ba7fdf4..a46210a 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -5,3 +5,4 @@ fix-docs-output.patch
 use-system-mathjax.patch
 reproducible-build.patch
 use-boost-dynamic-libs.patch
+fix-missing-stdlib.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/clblas.git



More information about the debian-science-commits mailing list