mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-19 19:59:43 +00:00
Add patch to unbreak with libc++ 10.0+.
_S_cur is a libstdc++ enum symbol. Much thanks to rdivacky@ for helping finding this.
This commit is contained in:
parent
5dbda1a7f4
commit
ae2f2f7817
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=335596
11
science/gchemutils/files/patch-libs_gcugtk_spectrumdoc.cc
Normal file
11
science/gchemutils/files/patch-libs_gcugtk_spectrumdoc.cc
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user