aboutsummaryrefslogtreecommitdiffstats
path: root/science
diff options
context:
space:
mode:
authorosa <osa@FreeBSD.org>2003-07-20 20:33:00 +0800
committerosa <osa@FreeBSD.org>2003-07-20 20:33:00 +0800
commit2e9b5a7a7a2411f556aa58f7148d2ba69c7b5c26 (patch)
tree0c5d79e421273638b39d37584ee6dd11bffe1d9e /science
parent69dd69477423053f6bae43f23c42fc2b1b6c4389 (diff)
downloadfreebsd-ports-gnome-2e9b5a7a7a2411f556aa58f7148d2ba69c7b5c26.tar.gz
freebsd-ports-gnome-2e9b5a7a7a2411f556aa58f7148d2ba69c7b5c26.tar.zst
freebsd-ports-gnome-2e9b5a7a7a2411f556aa58f7148d2ba69c7b5c26.zip
Fix build on -CURRENT (gcc-3.3)
Submitted by: Simon Barner <barner@in.tum.de>
Diffstat (limited to 'science')
-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],