[med-svn] [pymia] 04/06: re-add patches

Gert Wollny gert-guest at moszumanska.debian.org
Thu Dec 5 15:13:26 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 608de7cebe446f717256e68734e592fb80736bed
Author: Gert Wollny <gw.fossdev at gmail.com>
Date:   Thu Dec 5 16:08:56 2013 +0100

    re-add patches
---
 debian/changelog                                |  2 +-
 debian/patches/01_use_oldstyle_c++11_flag.patch | 25 +++++++++++++++++++++++++
 debian/patches/series                           |  1 +
 3 files changed, 27 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index f779e5a..489f88f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-pymia (0.1.5-1) unstable; urgency=low
+pymia (0.1.4-1) unstable; urgency=low
 
   * Initial release (Closes: #694439)
 
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