[arrayfire] 08/12: Add patch fixing build of examples.

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Sun Nov 22 23:46:03 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 arrayfire.

commit 3ff6278e58adc7f1343f64a2a5a37c5c42c5a063
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date:   Sun Nov 22 15:23:58 2015 +0000

    Add patch fixing build of examples.
---
 debian/patches/Fix-missing-cstdio-include.patch | 20 ++++++++++++++++++++
 debian/patches/series                           |  1 +
 2 files changed, 21 insertions(+)

diff --git a/debian/patches/Fix-missing-cstdio-include.patch b/debian/patches/Fix-missing-cstdio-include.patch
new file mode 100644
index 0000000..82a7b79
--- /dev/null
+++ b/debian/patches/Fix-missing-cstdio-include.patch
@@ -0,0 +1,20 @@
+From: Ghislain Antony Vaillant <ghisvail at gmail.com>
+Date: Sun, 22 Nov 2015 15:23:29 +0000
+Subject: Fix missing cstdio include.
+
+---
+ examples/unified/basic.cpp | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/examples/unified/basic.cpp b/examples/unified/basic.cpp
+index 31d1eac..72521a6 100644
+--- a/examples/unified/basic.cpp
++++ b/examples/unified/basic.cpp
+@@ -10,6 +10,7 @@
+ #include <arrayfire.h>
+ #include <vector>
+ #include <algorithm>
++#include <cstdio>
+ 
+ using namespace af;
+ 
diff --git a/debian/patches/series b/debian/patches/series
index 889a442..b0d60fa 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -3,3 +3,4 @@ Disable-privacy-breaching-settings.patch
 Fix-CBLAS-detection.patch
 Use-system-gtest.patch
 Use-custom-cflags-in-examples.patch
+Fix-missing-cstdio-include.patch

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



More information about the debian-science-commits mailing list