summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-chemistry/rasmol/rasmol-2.7.5.2.ebuild')
-rw-r--r--sci-chemistry/rasmol/rasmol-2.7.5.2.ebuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/sci-chemistry/rasmol/rasmol-2.7.5.2.ebuild b/sci-chemistry/rasmol/rasmol-2.7.5.2.ebuild
index 19dbf4750afa..97b1fd31068c 100644
--- a/sci-chemistry/rasmol/rasmol-2.7.5.2.ebuild
+++ b/sci-chemistry/rasmol/rasmol-2.7.5.2.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/rasmol/rasmol-2.7.5.2.ebuild,v 1.2 2011/12/15 08:33:05 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/rasmol/rasmol-2.7.5.2.ebuild,v 1.3 2012/04/25 15:52:59 jlec Exp $
EAPI=4
@@ -43,6 +43,8 @@ S="${WORKDIR}/RasMol-${PV}"
src_prepare() {
cd src
+ epatch "${FILESDIR}"/${P}-glib.h.patch
+
if use amd64 || use amd64-linux; then
mv rasmol.h rasmol_amd64_save.h && \
echo "#define _LONGLONG"|cat - rasmol_amd64_save.h > rasmol.h