summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2011-01-19 10:32:49 +0000
committerJustin Lecher <jlec@gentoo.org>2011-01-19 10:32:49 +0000
commita26eaa71e1cfdd04721359d64d41adcc38bdc7e7 (patch)
tree8cf5ac09c18318523313850f916a14a797cee2ff /sci-chemistry/mosflm/files
parentVersion bump for beta channel release. (diff)
downloadhistorical-a26eaa71e1cfdd04721359d64d41adcc38bdc7e7.tar.gz
historical-a26eaa71e1cfdd04721359d64d41adcc38bdc7e7.tar.bz2
historical-a26eaa71e1cfdd04721359d64d41adcc38bdc7e7.zip
Fix for implicit declarations
Package-Manager: portage-2.2.0_alpha17/cvs/Linux x86_64
Diffstat (limited to 'sci-chemistry/mosflm/files')
-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