svn commit: r335596 - head/science/gchemutils/files

Koop Mast kwm at FreeBSD.org
Tue Dec 3 22:10:25 UTC 2013


Author: kwm
Date: Tue Dec  3 22:10:25 2013
New Revision: 335596
URL: http://svnweb.freebsd.org/changeset/ports/335596

Log:
  Add patch to unbreak with libc++ 10.0+.
  
  _S_cur is a libstdc++ enum symbol.
  
  Much thanks to rdivacky@ for helping finding this.

Added:
  head/science/gchemutils/files/patch-libs_gcugtk_spectrumdoc.cc   (contents, props changed)

Added: head/science/gchemutils/files/patch-libs_gcugtk_spectrumdoc.cc
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/science/gchemutils/files/patch-libs_gcugtk_spectrumdoc.cc	Tue Dec  3 22:10:25 2013	(r335596)
@@ -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


More information about the svn-ports-head mailing list