summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrandy Westcott <brandy@gentoo.org>2003-11-18 04:53:12 +0000
committerBrandy Westcott <brandy@gentoo.org>2003-11-18 04:53:12 +0000
commitb5f408be764d67c9aae0ca372cdece12b13f1a7e (patch)
tree4bb15df0e8a8b780599a64e70837f3d79ddac30e /media-gfx/giram/giram-0.3.4.ebuild
parentVersion bump. (diff)
downloadgentoo-2-b5f408be764d67c9aae0ca372cdece12b13f1a7e.tar.gz
gentoo-2-b5f408be764d67c9aae0ca372cdece12b13f1a7e.tar.bz2
gentoo-2-b5f408be764d67c9aae0ca372cdece12b13f1a7e.zip
Fixed povfront segfaulting if no config file existed.
Diffstat (limited to 'media-gfx/giram/giram-0.3.4.ebuild')
-rw-r--r--media-gfx/giram/giram-0.3.4.ebuild10
1 files changed, 9 insertions, 1 deletions
diff --git a/media-gfx/giram/giram-0.3.4.ebuild b/media-gfx/giram/giram-0.3.4.ebuild
index 160e2b26c215..e14a456a2053 100644
--- a/media-gfx/giram/giram-0.3.4.ebuild
+++ b/media-gfx/giram/giram-0.3.4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/giram/giram-0.3.4.ebuild,v 1.3 2003/09/06 23:56:38 msterret Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/giram/giram-0.3.4.ebuild,v 1.4 2003/11/18 04:53:03 brandy Exp $
DESCRIPTION="Giram (Giram is really a modeller). A 3d modeller for POV-ray"
HOMEPAGE="http://www.giram.org"
@@ -20,6 +20,14 @@ DEPEND="${RDEPEND}
S=${WORKDIR}/${P}
+src_unpack() {
+
+ unpack ${A}
+ cd ${S}/povfront
+ sed -i -e "s:strlen (g_config_file_to_parse) == 0:g_config_file_to_parse == NULL:" povfront.c
+
+}
+
src_compile() {
./configure \
--host=${CHOST} \