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
commita2857735b2470ae60a6f1e6d40ab163f7bb16e8d (patch)
tree1d7071b867ddb12ccb8381031c52f2c9fd30bf6d /media-gfx
parentVersion bump. (diff)
downloadhistorical-a2857735b2470ae60a6f1e6d40ab163f7bb16e8d.tar.gz
historical-a2857735b2470ae60a6f1e6d40ab163f7bb16e8d.tar.bz2
historical-a2857735b2470ae60a6f1e6d40ab163f7bb16e8d.zip
Adding a small patch to allow compilation on OSX. Marked ~ppc-macos (bug #110946)
Package-Manager: portage-2.0.51.22-r3
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/duhdraw/ChangeLog7
-rw-r--r--media-gfx/duhdraw/Manifest5
-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, 29 insertions, 6 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..7022395704bf 100644
--- a/media-gfx/duhdraw/Manifest
+++ b/media-gfx/duhdraw/Manifest
@@ -1,3 +1,4 @@
-MD5 1612b1aa50795f202449e68a6c904264 duhdraw-2.8.12.ebuild 624
-MD5 e14ff7519258b601bccace6abf9a7417 ChangeLog 803
+MD5 5702c3b2740e60c1c92047c8f1f42cb4 duhdraw-2.8.12.ebuild 715
+MD5 1a41ca3bb299a7dae1f7ecac9c3daa74 ChangeLog 1003
+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>