Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Dec 2013 22:10:25 +0000 (UTC)
From:      Koop Mast <kwm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r335596 - head/science/gchemutils/files
Message-ID:  <201312032210.rB3MAPTS015054@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312032210.rB3MAPTS015054>