[med-svn] [ray] 01/08: Fix build problem on mips architectures
Andreas Tille
tille at debian.org
Thu Sep 25 15:09:22 UTC 2014
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch master
in repository ray.
commit c3a06a2354bac50593d6d1cccfb02db72a649fe7
Author: Andreas Tille <tille at debian.org>
Date: Sun Feb 16 22:39:24 2014 +0100
Fix build problem on mips architectures
---
debian/changelog | 9 +++++++++
debian/control | 3 ++-
debian/patches/mips.patch | 18 ++++++++++++++++++
debian/patches/series | 1 +
4 files changed, 30 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index 9eb5502..616bcc3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+ray (2.3.0-2) unstable; urgency=medium
+
+ * Fix Build issue on mips, mipsel and s390x (thanks for the patch
+ to Aurelien Jarno <aurel32 at debian.org>)
+ Closes: #739184
+ * Added myself as Uploader
+
+ -- Andreas Tille <tille at debian.org> Sun, 16 Feb 2014 22:36:57 +0100
+
ray (2.3.0-1) unstable; urgency=low
[ Sébastien Boisvert ]
diff --git a/debian/control b/debian/control
index 83ed763..24f6d8e 100644
--- a/debian/control
+++ b/debian/control
@@ -1,6 +1,7 @@
Source: ray
Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
-Uploaders: Sébastien Boisvert <sebastien.boisvert.3 at ulaval.ca>
+Uploaders: Sébastien Boisvert <sebastien.boisvert.3 at ulaval.ca>,
+ Andreas Tille <tille at debian.org>
Section: science
Priority: optional
Build-Depends: debhelper (>= 9),
diff --git a/debian/patches/mips.patch b/debian/patches/mips.patch
new file mode 100644
index 0000000..b0c174a
--- /dev/null
+++ b/debian/patches/mips.patch
@@ -0,0 +1,18 @@
+Author: Aurelien Jarno <aurel32 at debian.org>
+Last-Update: Sun, 16 Feb 2014 16:48:47 +0100
+Bug-Debian: http://bugs.debian.org/739184
+Description: Build also on mips, mipsel and s390x
+ I still do not understand why it builds fine on other architectures,
+ but in C++, memcpy is declared in <cstring>. The following patch
+ therefore fixes the issue:
+
+--- a/RayPlatform/RayPlatform/actors/Actor.cpp
++++ b/RayPlatform/RayPlatform/actors/Actor.cpp
+@@ -29,6 +29,7 @@
+ #include <RayPlatform/cryptography/crypto.h>
+
+ #include <iostream>
++#include <cstring>
+ using namespace std;
+
+ Actor::Actor() {
diff --git a/debian/patches/series b/debian/patches/series
index 814900f..2984422 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
hardening.patch
+mips.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/ray.git
More information about the debian-med-commit
mailing list