summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-chemistry/mosflm/files/7.0.6-impl-dec.patch')
-rw-r--r--sci-chemistry/mosflm/files/7.0.6-impl-dec.patch36
1 files changed, 36 insertions, 0 deletions
diff --git a/sci-chemistry/mosflm/files/7.0.6-impl-dec.patch b/sci-chemistry/mosflm/files/7.0.6-impl-dec.patch
new file mode 100644
index 000000000000..da393eb93fe6
--- /dev/null
+++ b/sci-chemistry/mosflm/files/7.0.6-impl-dec.patch
@@ -0,0 +1,36 @@
+diff --git a/mosflm/bravais_fortran.c b/mosflm/bravais_fortran.c
+index 3d68cad..800bd0e 100644
+--- a/mosflm/bravais_fortran.c
++++ b/mosflm/bravais_fortran.c
+@@ -2,6 +2,7 @@
+ #include <stdlib.h>
+ #include <math.h>
+ #include "../util/util.h"
++#include "../util/bravais.h"
+
+ /* bravais_fortran_(): This routine converts array from FORTRAN program
+ to structure for call to bravais
+diff --git a/mosflm/chelp.c b/mosflm/chelp.c
+index b2aaefc..fa44ab0 100644
+--- a/mosflm/chelp.c
++++ b/mosflm/chelp.c
+@@ -5,6 +5,7 @@
+ /* modified for Linux by Joachim Meyer jmeyer@embl-heidelberg.de 1998.05.19 */
+
+ #include "chelp.h"
++#include <stdio.h>
+
+ #if CALL_LIKE_HPUX
+ void chelp ()
+diff --git a/mosflm/pck.c b/mosflm/pck.c
+index ec094fc..288671d 100644
+--- a/mosflm/pck.c
++++ b/mosflm/pck.c
+@@ -17,6 +17,7 @@
+ #include <math.h>
+ #include <ctype.h>
+ #include <string.h>
++#include <unistd.h>
+
+ #define BYTE char
+ #define WORD short int