[med-svn] [pymia] 01/03: replace c++11 with c++0x for default compiler g++-4.6 on powerpc

Gert Wollny gert-guest at moszumanska.debian.org
Thu Dec 5 14:38:38 UTC 2013


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

gert-guest pushed a commit to branch master
in repository pymia.

commit 84c577c52eec280530f2108b51eeca69a3f46877
Author: Gert Wollny <gw.fossdev at gmail.com>
Date:   Thu Dec 5 15:34:22 2013 +0100

    replace c++11 with c++0x for default compiler g++-4.6 on powerpc
---
 debian/patches/01_use_oldstyle_c++11_flag.patch | 25 +++++++++++++++++++++++++
 debian/patches/series                           |  1 +
 2 files changed, 26 insertions(+)

diff --git a/debian/patches/01_use_oldstyle_c++11_flag.patch b/debian/patches/01_use_oldstyle_c++11_flag.patch
new file mode 100644
index 0000000..610e30a
--- /dev/null
+++ b/debian/patches/01_use_oldstyle_c++11_flag.patch
@@ -0,0 +1,25 @@
+Description: Replace the c++11 flag by c++0x
+ On powerpc the default compiler is still g++-4.6 that doesn't support the 
+ c++11 flag. 
+ .
+ pymia (0.1.4-1) unstable; urgency=low
+ .
+   * Initial release (Closes: #694439)
+Author: Gert Wollny <gw.fossdev at gmail.com>
+
+---
+Origin: upstream
+Forwarded: not-needed
+Last-Update: <2013-12-05>
+
+--- pymia-0.1.4.orig/setup.py
++++ pymia-0.1.4/setup.py
+@@ -54,7 +54,7 @@ depvars['include_dirs'].append(numpy.get
+ 
+ extension = Extension('mia', 
+                       ['src/mia_python.cc'], 
+-                      extra_compile_args = ['-std=c++11'], 
++                      extra_compile_args = ['-std=c++0x'], 
+                       depends = ["numpy"], 
+                       **depvars)
+ 
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..ac2682f
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+01_use_oldstyle_c++11_flag.patch

-- 
Alioth's /git/debian-med/git-commit-notice on /srv/git.debian.org/git/debian-med/pymia.git



More information about the debian-med-commit mailing list