summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2005-10-31 18:42:32 +0000
committerFabian Groffen <grobian@gentoo.org>2005-10-31 18:42:32 +0000
commit7a621a43edd64d9de21075543d05fffa753c83d8 (patch)
treeed433a3cb5b8869e8df05ddbfbe001f84309d394 /media-gfx
parentVersion bump. (diff)
downloadgentoo-2-7a621a43edd64d9de21075543d05fffa753c83d8.tar.gz
gentoo-2-7a621a43edd64d9de21075543d05fffa753c83d8.tar.bz2
gentoo-2-7a621a43edd64d9de21075543d05fffa753c83d8.zip
Adding a small patch to allow compilation on OSX. Marked ~ppc-macos (bug #110946)
(Portage version: 2.0.51.22-r3)
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/duhdraw/ChangeLog7
-rw-r--r--media-gfx/duhdraw/Manifest3
-rw-r--r--media-gfx/duhdraw/duhdraw-2.8.12.ebuild11
-rw-r--r--media-gfx/duhdraw/files/duhdraw-2.8.12-macos.patch12
4 files changed, 28 insertions, 5 deletions
diff --git a/media-gfx/duhdraw/ChangeLog b/media-gfx/duhdraw/ChangeLog
index fc0e374cfdab..2613ff0d719e 100644
--- a/media-gfx/duhdraw/ChangeLog
+++ b/media-gfx/duhdraw/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-gfx/duhdraw
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/duhdraw/ChangeLog,v 1.7 2005/06/05 12:06:14 hansmi Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/duhdraw/ChangeLog,v 1.8 2005/10/31 18:42:32 grobian Exp $
+
+ 31 Oct 2005; Fabian Groffen <grobian@gentoo.org>
+ +files/duhdraw-2.8.12-macos.patch, duhdraw-2.8.12.ebuild:
+ Adding a small patch to allow compilation on OSX. Marked ~ppc-macos (bug
+ #110946)
05 Jun 2005; Michael Hanselmann <hansmi@gentoo.org> duhdraw-2.8.12.ebuild:
Stable on ppc.
diff --git a/media-gfx/duhdraw/Manifest b/media-gfx/duhdraw/Manifest
index 770ae1a01da7..5932e56f38cc 100644
--- a/media-gfx/duhdraw/Manifest
+++ b/media-gfx/duhdraw/Manifest
@@ -1,3 +1,4 @@
-MD5 1612b1aa50795f202449e68a6c904264 duhdraw-2.8.12.ebuild 624
+MD5 eae074757464555f907a43df08806b5a duhdraw-2.8.12.ebuild 714
MD5 e14ff7519258b601bccace6abf9a7417 ChangeLog 803
+MD5 60e17777f9055fb9661ea67f3844b90a files/duhdraw-2.8.12-macos.patch 325
MD5 f5c613c6ba0e95bfbc2e828b96191f50 files/digest-duhdraw-2.8.12 65
diff --git a/media-gfx/duhdraw/duhdraw-2.8.12.ebuild b/media-gfx/duhdraw/duhdraw-2.8.12.ebuild
index b3787a8fbd6e..2d307b5f50ad 100644
--- a/media-gfx/duhdraw/duhdraw-2.8.12.ebuild
+++ b/media-gfx/duhdraw/duhdraw-2.8.12.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/duhdraw/duhdraw-2.8.12.ebuild,v 1.8 2005/06/05 12:06:14 hansmi Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/duhdraw/duhdraw-2.8.12.ebuild,v 1.9 2005/10/31 18:42:32 grobian Exp $
-inherit toolchain-funcs
+inherit toolchain-funcs eutils
DESCRIPTION="ASCII art editor"
HOMEPAGE="http://www.cs.helsinki.fi/u/penberg/duhdraw"
@@ -10,11 +10,16 @@ SRC_URI="http://www.wwco.com/~wls/opensource/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="ppc x86"
+KEYWORDS="ppc ~ppc-macos x86"
IUSE=""
DEPEND="sys-libs/ncurses"
+src_unpack() {
+ unpack "${A}"
+ epatch "${FILESDIR}/${P}"-macos.patch
+}
+
src_compile() {
emake CC="$(tc-getCC) -s ${CFLAGS}" || die
}
diff --git a/media-gfx/duhdraw/files/duhdraw-2.8.12-macos.patch b/media-gfx/duhdraw/files/duhdraw-2.8.12-macos.patch
new file mode 100644
index 000000000000..89f9ff9008cb
--- /dev/null
+++ b/media-gfx/duhdraw/files/duhdraw-2.8.12-macos.patch
@@ -0,0 +1,12 @@
+--- duhdraw-2.8.12/duhdraw.c.orig 2005-10-31 19:34:57.000000000 +0100
++++ duhdraw-2.8.12/duhdraw.c 2005-10-31 19:35:58.000000000 +0100
+@@ -12,7 +12,9 @@
+ #include <stdio.h>
+ #include <dirent.h>
+ #include <sys/stat.h>
++#ifndef __APPLE__
+ #include <malloc.h>
++#endif
+ #include <time.h>
+ #include <curses.h>
+ #include <ctype.h>