summaryrefslogtreecommitdiff
path: root/science/gdis
diff options
context:
space:
mode:
authorMaho Nakata <maho@FreeBSD.org>2003-08-02 02:36:11 +0000
committerMaho Nakata <maho@FreeBSD.org>2003-08-02 02:36:11 +0000
commitc2d82a9ad673ccef3c783db5a09b71a1f88036e0 (patch)
tree81e11a9f97e19fded46d8a8934c871e69bec40af /science/gdis
parentUpdate to 2.0.36. (diff)
Fix build on gcc-3.3.x
Submitted by: Simon Barner <barner@in.tum.de>
Notes
Notes: svn path=/head/; revision=86172
Diffstat (limited to 'science/gdis')
-rw-r--r--science/gdis/files/patch-rdf.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/science/gdis/files/patch-rdf.c b/science/gdis/files/patch-rdf.c
new file mode 100644
index 000000000000..5bcd87798b57
--- /dev/null
+++ b/science/gdis/files/patch-rdf.c
@@ -0,0 +1,13 @@
+--- rdf.c.orig Sat Jul 19 05:08:36 2003
++++ rdf.c Sat Jul 19 05:09:00 2003
+@@ -445,8 +445,8 @@
+ printf("calculate_rdf(): a = %f b = %f c = %f alpha = %f beta = %f gamma = %f\n",
+ model->pbc[0], model->pbc[1], model->pbc[2],
+ model->pbc[3], model->pbc[4], model->pbc[5]);
+- printf("calculate_rdf(): latmat[0] = %f latmat[1] = %f latmat[2] = %f
+- \ncalculate_rdf(): latmat[3] = %f latmat[4] = %f latmat[5] = %f
++ printf("calculate_rdf(): latmat[0] = %f latmat[1] = %f latmat[2] = %f\
++ \ncalculate_rdf(): latmat[3] = %f latmat[4] = %f latmat[5] = %f\
+ \ncalculate_rdf(): latmat[6] = %f latmat[7] = %f latmat[8] = %f\n",
+ model->latmat[0], model->latmat[1], model->latmat[2],
+ model->latmat[3], model->latmat[4], model->latmat[5],