Source: freefoam
Version: 0.1.0+dfsg+1-3
Severity: normal
Tags: patch

Dear Maintainer,

The package is failing to build from source on ppc64el, among other archs.
The patch attached adds the architecture to FOAMDetermineArch.cmake so it
can be detected during build.
Similar solution can probably be applied to other archs that are failing to
build.

Thanks and regards.
Fernando
diff -Nru freefoam-0.1.0+dfsg+1/debian/changelog freefoam-0.1.0+dfsg+1/debian/changelog
--- freefoam-0.1.0+dfsg+1/debian/changelog	2014-09-27 16:59:15.000000000 -0400
+++ freefoam-0.1.0+dfsg+1/debian/changelog	2015-10-14 12:11:55.000000000 -0400
@@ -1,3 +1,11 @@
+freefoam (0.1.0+dfsg+1-3.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * debian/patch/ppc64le.patch: patch that adds ppc64el arch to
+    FOAMDetermineArch.cmake file.
+
+ -- Fernando Seiti Furusato <ferse...@br.ibm.com>  Wed, 14 Oct 2015 12:10:31 -0400
+
 freefoam (0.1.0+dfsg+1-3) unstable; urgency=medium
 
   * [cc007a9] Revert joining all BDs. Separate arch-indep again.
diff -Nru freefoam-0.1.0+dfsg+1/debian/patches/ppc64el.patch freefoam-0.1.0+dfsg+1/debian/patches/ppc64el.patch
--- freefoam-0.1.0+dfsg+1/debian/patches/ppc64el.patch	1969-12-31 19:00:00.000000000 -0500
+++ freefoam-0.1.0+dfsg+1/debian/patches/ppc64el.patch	2015-10-14 12:10:27.000000000 -0400
@@ -0,0 +1,11 @@
+--- a/CMake/FOAMDetermineArch.cmake
++++ b/CMake/FOAMDetermineArch.cmake
+@@ -86,7 +86,7 @@
+ if(FOAM_OSNAME STREQUAL Linux)
+   if(FOAM_CPUNAME STREQUAL i686)
+     set(FOAM_OS linux)
+-  elseif(FOAM_CPUNAME STREQUAL x86_64)
++  elseif(FOAM_CPUNAME STREQUAL x86_64 OR FOAM_CPUNAME STREQUAL ppc64le)
+     if(FOAM_64_BIT)
+       set(FOAM_OS linux64)
+     else()
diff -Nru freefoam-0.1.0+dfsg+1/debian/patches/series freefoam-0.1.0+dfsg+1/debian/patches/series
--- freefoam-0.1.0+dfsg+1/debian/patches/series	2014-09-19 15:30:37.000000000 -0400
+++ freefoam-0.1.0+dfsg+1/debian/patches/series	2015-10-14 12:10:00.000000000 -0400
@@ -12,3 +12,4 @@
 mips.diff
 fix_python_header.patch
 fix_cmake_failure.patch
+ppc64el.patch
-- 
debian-science-maintainers mailing list
debian-science-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers

Reply via email to