--- /dev/null
+# ChangeLog for sci-chemistry/bist
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+ 30 Sep 2008; Giuseppe Marco Randazzo <gmrandazzo@gmail.com>
+ +files/wrap_bracket_dialog-amd64.patch, +bist-0.4.7.ebuild, +metadata.xml:
+ New Ebuild sci-chemistry/bist for bug 239172 thanks to Giuseppe Marco
+ Randazzo aka zeld
+
--- /dev/null
+AUX wrap_bracket_dialog-amd64.patch 379 RMD160 4d9d835a8c189862ec53f069862069a005b4c4ff SHA1 7c6ec5afb2bf2f1d6bc4ed931c5dbf03fe2abb98 SHA256 3fd94f204a237d3b00c2fd86b45259f65ac31606ebfe7ab076c3e24f8f855671
+DIST bist-0.4.7.tar.bz2 687273 RMD160 5907ae5e8c2f9605c3e63bca3a4d81d1893d4105 SHA1 51bdaa8aac322171072d00421e6923d4081cf2fd SHA256 100075c2fa11e2b1138da700d13aea3c3699782124230be14c897950f1aaea67
+EBUILD bist-0.4.7.ebuild 916 RMD160 5cd08ad1b2a9b9e201f4787e26ab8435be621c90 SHA1 a01a8a5d4a6c125d91997afb6fa9dd50475738de SHA256 34f448ca3d6cfac4fd3b20501de9b79f8eae8b8c28f2da6e17b086a2254d2fab
+MISC ChangeLog 351 RMD160 761b4aab37bee2173f9ffc9a33db0c1f248960ab SHA1 6393013fa4518ddc064de3d48db19b1230d67e66 SHA256 d0a5acf32762ac6285f7c17e2016eb51ac887290efb984f30f607f890ca8a8af
+MISC metadata.xml 1166 RMD160 76b030166aeba9413714da9cca53f83600e9a5b0 SHA1 45918e9272f8db5a4e81ecbed7ae8279539e934b SHA256 6cbbb060eb3c2f018811815dd82e0f6bd2e57f0cf152b8ce66aaaf70e744dcc4
--- /dev/null
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit eutils
+
+DESCRIPTION="Bist, the chemical drawing tool"
+HOMEPAGE="http://www.autistici.org/interzona/index.php?mod=03_Bist"
+SRC_URI="http://www.autistici.org/interzona/ftrack.php?url=sections/06_Download/${P}.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="net-misc/curl
+ dev-libs/expat
+ x11-libs/fltk
+ >=sys-devel/gcc-4.2
+ sci-libs/gsl
+ >=sci-chemistry/openbabel-2.2.0
+ >=media-libs/plotutils-2.5"
+
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ use amd64 && epatch "${FILESDIR}/wrap_bracket_dialog-amd64.patch"
+}
+
+
+src_install() {
+ dobin bist || die "bist install failed"
+ #istall bist plugin
+ insinto /usr/lib/bist/plugin
+ doins plugin/*.so || die "make plugin failed"
+ dodoc AUTHORS TODO || die
+ cd doc
+ doman man/bist.1 || die
+ dohtml *.html *.png *jpg || die
+}
--- /dev/null
+--- pluginclude/wrap_bracket_dialog.hpp.orig 2008-09-30 10:45:56.000000000 +0200
++++ pluginclude/wrap_bracket_dialog.hpp 2008-09-30 10:46:07.000000000 +0200
+@@ -10,7 +10,7 @@
+ #if SIZEOF_INT_P == 8
+ #define WRAP_BRACKET_SIZE_USER_DATA_MENU long int
+ #else
+-#define WRAP_BRACKET_SIZE_USER_DATA_MENU unsigned int
++#define WRAP_BRACKET_SIZE_USER_DATA_MENU unsigned long
+ #endif
+
+
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>maintainer-wanted</herd>
+<longdescription>
+Bist stands for bidimensional structures (in italian it sounds like "beast" in english ) and is a chemical drawing tool. It is focused on organic chemistry but it may be useful also for chemists or teacher as well.
+Bist support many of the formalism used to describe molecoles structures like single bond, double bond, stereospecific bond, charges, resonance arrows, lone pairs etc...
+It can export both postscript and png formats.
+This version is now integrated with openbabel API so virtually all the formats this library can accept should be a valid input for bist too.
+Currently portability is not my goal so only GNU/Linux platform is supported. However any effort in this direction is appreciated so feel free to ask me about any porting question. Please remember that bist is actually in a beta stage of development so i strongly suggest you to not using it except for testing or hacking purpose. Bist is free software released under GNU GPL version 3
+</longdescription>
+</pkgmetadata>