diff options
author | joerg <joerg@pkgsrc.org> | 2013-05-09 13:45:44 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2013-05-09 13:45:44 +0000 |
commit | cd2035bed5cb296d4486d77c65ab5a36ba123b40 (patch) | |
tree | e9d74145fc7dbcca95924292b91e526d92d92ed6 /biology | |
parent | e9cfa095ed89005098d7862deebd2f5c6c6d2208 (diff) | |
download | pkgsrc-cd2035bed5cb296d4486d77c65ab5a36ba123b40.tar.gz |
Fix missing include. Don't use libstdc++ implementation detail.
Free correct variable. Bump revision.
Diffstat (limited to 'biology')
5 files changed, 44 insertions, 3 deletions
diff --git a/biology/gnome-chemistry-utils/Makefile b/biology/gnome-chemistry-utils/Makefile index 15997d38537..c036df9ecf0 100644 --- a/biology/gnome-chemistry-utils/Makefile +++ b/biology/gnome-chemistry-utils/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.18 2013/02/16 11:20:26 wiz Exp $ +# $NetBSD: Makefile,v 1.19 2013/05/09 13:45:44 joerg Exp $ # DISTNAME= gnome-chemistry-utils-0.12.13 -PKGREVISION= 7 +PKGREVISION= 8 CATEGORIES= biology MASTER_SITES= http://download-mirror.savannah.gnu.org/releases/gchemutils/0.12/ EXTRACT_SUFX= .tar.bz2 diff --git a/biology/gnome-chemistry-utils/distinfo b/biology/gnome-chemistry-utils/distinfo index 436eed2162c..6f380a1c819 100644 --- a/biology/gnome-chemistry-utils/distinfo +++ b/biology/gnome-chemistry-utils/distinfo @@ -1,5 +1,8 @@ -$NetBSD: distinfo,v 1.4 2012/08/16 19:10:15 ryoon Exp $ +$NetBSD: distinfo,v 1.5 2013/05/09 13:45:44 joerg Exp $ SHA1 (gnome-chemistry-utils-0.12.13.tar.bz2) = a3d83f281ccd7fdbc98e14e295093287d8648a69 RMD160 (gnome-chemistry-utils-0.12.13.tar.bz2) = 259509c4e9086fc40e91d1f2f93ad5bad9317b8c Size (gnome-chemistry-utils-0.12.13.tar.bz2) = 5399998 bytes +SHA1 (patch-libs_gcu_loader-error.h) = 8e223394ac6fb6a17cc23439fc2e3bb2e3bc5440 +SHA1 (patch-libs_gcu_spectrumdoc.cc) = 6d4d87c128096006fd384fc058c7942b49df8646 +SHA1 (patch-programs_crystal_document.cc) = 192b376922d39796780863720459ee3ef025bfed diff --git a/biology/gnome-chemistry-utils/patches/patch-libs_gcu_loader-error.h b/biology/gnome-chemistry-utils/patches/patch-libs_gcu_loader-error.h new file mode 100644 index 00000000000..f83c7866ec3 --- /dev/null +++ b/biology/gnome-chemistry-utils/patches/patch-libs_gcu_loader-error.h @@ -0,0 +1,12 @@ +$NetBSD: patch-libs_gcu_loader-error.h,v 1.1 2013/05/09 13:45:45 joerg Exp $ + +--- libs/gcu/loader-error.h.orig 2013-05-07 20:05:57.000000000 +0000 ++++ libs/gcu/loader-error.h +@@ -28,6 +28,7 @@ + /*!\file*/ + + #include <stdexcept> ++#include <string> + + namespace gcu { + diff --git a/biology/gnome-chemistry-utils/patches/patch-libs_gcu_spectrumdoc.cc b/biology/gnome-chemistry-utils/patches/patch-libs_gcu_spectrumdoc.cc new file mode 100644 index 00000000000..8a9e6c45247 --- /dev/null +++ b/biology/gnome-chemistry-utils/patches/patch-libs_gcu_spectrumdoc.cc @@ -0,0 +1,13 @@ +$NetBSD: patch-libs_gcu_spectrumdoc.cc,v 1.1 2013/05/09 13:45:45 joerg Exp $ + +--- libs/gcu/spectrumdoc.cc.orig 2013-05-07 20:06:58.000000000 +0000 ++++ libs/gcu/spectrumdoc.cc +@@ -1618,7 +1618,7 @@ void SpectrumDocument::ReadDataTable (is + 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, ios::cur); + if (read > npoints) { + g_warning (_("Found too many data!")); + // FIXME: throw an exception diff --git a/biology/gnome-chemistry-utils/patches/patch-programs_crystal_document.cc b/biology/gnome-chemistry-utils/patches/patch-programs_crystal_document.cc new file mode 100644 index 00000000000..c5e51080898 --- /dev/null +++ b/biology/gnome-chemistry-utils/patches/patch-programs_crystal_document.cc @@ -0,0 +1,13 @@ +$NetBSD: patch-programs_crystal_document.cc,v 1.1 2013/05/09 13:45:45 joerg Exp $ + +--- programs/crystal/document.cc.orig 2013-05-07 20:13:58.000000000 +0000 ++++ programs/crystal/document.cc +@@ -607,7 +607,7 @@ void gcDocument::OnExportVRML (const str + if (error) { + cerr << "gio error: " << error->message << endl; + g_error_free (error); +- g_object_unref (file); ++ g_object_unref (stream); + throw (int) 1; + } + std::map<std::string, sAtom>AtomsMap; |