~ubuntu-branches/ubuntu/trusty/scotch/trusty-proposed

« back to all changes in this revision

Viewing changes to debian/patches/scotch-include-mpi.patch

  • Committer: Bazaar Package Importer
  • Author(s): Adam C. Powell, IV
  • Date: 2010-03-15 16:25:41 UTC
  • Revision ID: james.westby@ubuntu.com-20100315162541-8xyt96m0c37vhblf
Tags: 5.1.7.dfsg-3
Uses chrpath to remove rpath from ptscotch and libptscotch5.1 binaries.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
library.h (and scotch.h generated from it) uses MPI types, so include mpi.h.
 
2
 
 
3
Index: scotch-5.1.7.dfsg/src/libscotch/library.h
 
4
===================================================================
 
5
--- scotch-5.1.7.dfsg.orig/src/libscotch/library.h      2010-03-15 15:06:36.000000000 -0400
 
6
+++ scotch-5.1.7.dfsg/src/libscotch/library.h   2010-03-15 15:07:06.000000000 -0400
 
7
@@ -70,6 +70,8 @@
 
8
 
 
9
 #define SCOTCH_NUMMAX               DUMMYMAXINT
 
10
 
 
11
+#include <mpi/mpi.h>
 
12
+
 
13
 /*+ Opaque objects. The dummy sizes of these objects,
 
14
 computed at compile-time by program "dummysizes",
 
15
 are given as double values for proper padding +*/