diff options
author | maho <maho@FreeBSD.org> | 2003-08-02 10:36:11 +0800 |
---|---|---|
committer | maho <maho@FreeBSD.org> | 2003-08-02 10:36:11 +0800 |
commit | 027492720c6be5f7f2cd0d2e07c709018568c36b (patch) | |
tree | d26a46cfd24b3032490bb08bae5b5331081e984e /science | |
parent | b43f1624c4d64abcbd89eff602694074576d22db (diff) | |
download | freebsd-ports-gnome-027492720c6be5f7f2cd0d2e07c709018568c36b.tar.gz freebsd-ports-gnome-027492720c6be5f7f2cd0d2e07c709018568c36b.tar.zst freebsd-ports-gnome-027492720c6be5f7f2cd0d2e07c709018568c36b.zip |
Fix build on gcc-3.3.x
Submitted by: Simon Barner <barner@in.tum.de>
Diffstat (limited to 'science')
-rw-r--r-- | science/euler/files/patch-source::metaps.c | 11 | ||||
-rw-r--r-- | science/gdis/files/patch-rdf.c | 13 |
2 files changed, 24 insertions, 0 deletions
diff --git a/science/euler/files/patch-source::metaps.c b/science/euler/files/patch-source::metaps.c new file mode 100644 index 000000000000..f6410214ba3f --- /dev/null +++ b/science/euler/files/patch-source::metaps.c @@ -0,0 +1,11 @@ +--- metaps.c.orig Sat Jul 19 02:38:38 2003 ++++ metaps.c Sat Jul 19 02:39:09 2003 +@@ -209,7 +209,7 @@ + // rectangle clipping + // x1 y1 x2 y2 setclip + static char setclipmacro[]= "/setclip {\n\ +-gsave ++gsave\ + /y2 exch def\n\ + /x2 exch def\n\ + /y1 exch def\n\ 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], |