diff options
author | Koop Mast <kwm@FreeBSD.org> | 2013-12-03 22:10:25 +0000 |
---|---|---|
committer | Koop Mast <kwm@FreeBSD.org> | 2013-12-03 22:10:25 +0000 |
commit | ae2f2f78172c1a4b370c45a020682a8effbce031 (patch) | |
tree | c933326c37bf14610c1b0d8fd916204e6fe8b4e7 /science/gchemutils | |
parent | 5dbda1a7f42673d8910bc41ba945a668cdafa512 (diff) | |
download | ports-ae2f2f78172c1a4b370c45a020682a8effbce031.tar.gz ports-ae2f2f78172c1a4b370c45a020682a8effbce031.zip |
Notes
Diffstat (limited to 'science/gchemutils')
-rw-r--r-- | science/gchemutils/files/patch-libs_gcugtk_spectrumdoc.cc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/science/gchemutils/files/patch-libs_gcugtk_spectrumdoc.cc b/science/gchemutils/files/patch-libs_gcugtk_spectrumdoc.cc new file mode 100644 index 000000000000..4ecd95070095 --- /dev/null +++ b/science/gchemutils/files/patch-libs_gcugtk_spectrumdoc.cc @@ -0,0 +1,11 @@ +--- libs/gcugtk/spectrumdoc.cc.orig 2013-12-03 20:54:28.000000000 +0100 ++++ libs/gcugtk/spectrumdoc.cc 2013-12-03 20:55:55.000000000 +0100 +@@ -1478,7 +1478,7 @@ + break; // this should not occur, but a corrupted or bad file is always possible + s.getline (line, 300); + if (strstr (line, "##")) { +- s.seekg (-strlen (line) -1, _S_cur); ++ s.seekg (-strlen (line) -1, s.cur); + if (read > npoints) { + g_warning (_("Found too many data!")); + // FIXME: throw an exception |