[arrayfire] 06/12: Add patch enabling usage of custom compile flags in 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 43ba61a3a09236f5d38acc1632dc05ae8d9d1910
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date: Sat Nov 21 16:00:06 2015 +0000
Add patch enabling usage of custom compile flags in examples.
---
debian/patches/Use-custom-cflags-in-examples.patch | 23 ++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 24 insertions(+)
diff --git a/debian/patches/Use-custom-cflags-in-examples.patch b/debian/patches/Use-custom-cflags-in-examples.patch
new file mode 100644
index 0000000..1cb9034
--- /dev/null
+++ b/debian/patches/Use-custom-cflags-in-examples.patch
@@ -0,0 +1,23 @@
+From: Ghislain Antony Vaillant <ghisvail at gmail.com>
+Date: Sat, 21 Nov 2015 15:57:18 +0000
+Subject: Use custom cflags in examples.
+
+---
+ examples/CMakeLists.txt | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt
+index a795916..8b2a7b3 100644
+--- a/examples/CMakeLists.txt
++++ b/examples/CMakeLists.txt
+@@ -34,8 +34,8 @@ IF(WIN32)
+ SET(CMAKE_CXX_FLAGS "/we4996")
+ SET(CMAKE_C_FLAGS "/we4996")
+ ELSE(WIN32)
+- SET(CMAKE_CXX_FLAGS "-Werror=deprecated-declarations")
+- SET(CMAKE_C_FLAGS "-Werror=deprecated-declarations")
++ SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror=deprecated-declarations")
++ SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Werror=deprecated-declarations")
+ ENDIF(WIN32)
+
+ # A macro to build an ArrayFire example
diff --git a/debian/patches/series b/debian/patches/series
index 06570a0..889a442 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@ Use-system-mathjax.patch
Disable-privacy-breaching-settings.patch
Fix-CBLAS-detection.patch
Use-system-gtest.patch
+Use-custom-cflags-in-examples.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