summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-04-18 14:42:28 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-04-18 14:42:28 +0000
commit539c74caa81e51b3fdde7a43916c6a50193be406 (patch)
tree880fcba79226d4885779f37bbbc96c1fb250ea6e /media-libs/gle
parent- added back 2.0.54-r1 but moved the patches into a tarball (diff)
downloadgentoo-2-539c74caa81e51b3fdde7a43916c6a50193be406.tar.gz
gentoo-2-539c74caa81e51b3fdde7a43916c6a50193be406.tar.bz2
gentoo-2-539c74caa81e51b3fdde7a43916c6a50193be406.zip
Replace malloc.h inclusions with stdlib.h inclusions to build on FreeBSD and OSX. Bug #130340.
(Portage version: 2.1_pre7-r5)
Diffstat (limited to 'media-libs/gle')
-rw-r--r--media-libs/gle/ChangeLog8
-rw-r--r--media-libs/gle/gle-3.0.1-r2.ebuild13
2 files changed, 17 insertions, 4 deletions
diff --git a/media-libs/gle/ChangeLog b/media-libs/gle/ChangeLog
index 19417fb1a757..dda6940aeeb4 100644
--- a/media-libs/gle/ChangeLog
+++ b/media-libs/gle/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-libs/gle
-# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/gle/ChangeLog,v 1.16 2005/07/02 01:09:07 hardave Exp $
+# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/gle/ChangeLog,v 1.17 2006/04/18 14:42:28 flameeyes Exp $
+
+ 18 Apr 2006; Diego Pettenò <flameeyes@gentoo.org> gle-3.0.1-r2.ebuild:
+ Replace malloc.h inclusions with stdlib.h inclusions to build on FreeBSD and
+ OSX. Bug #130340.
02 Jul 2005; Hardave Riar <hardave@gentoo.org> gle-3.0.1-r2.ebuild:
Stable on mips
diff --git a/media-libs/gle/gle-3.0.1-r2.ebuild b/media-libs/gle/gle-3.0.1-r2.ebuild
index 62cc6cc15acc..ad19caaafb97 100644
--- a/media-libs/gle/gle-3.0.1-r2.ebuild
+++ b/media-libs/gle/gle-3.0.1-r2.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/gle/gle-3.0.1-r2.ebuild,v 1.28 2005/07/02 01:09:07 hardave Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/gle/gle-3.0.1-r2.ebuild,v 1.29 2006/04/18 14:42:28 flameeyes Exp $
DESCRIPTION="GL extrusion library"
HOMEPAGE="http://www.linas.org/gle"
@@ -15,6 +15,15 @@ DEPEND="virtual/opengl
virtual/glu
virtual/glut"
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ # Replace inclusion of malloc.h with stdlib.h as needed by Mac OS X and
+ # FreeBSD.
+ sed -i -e 's:malloc.h:stdlib.h:g' ${S}/src/*
+}
+
src_compile() {
econf --with-x || die
emake || die