summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMamoru Komachi <usata@gentoo.org>2004-11-09 20:07:59 +0000
committerMamoru Komachi <usata@gentoo.org>2004-11-09 20:07:59 +0000
commit3820775bf65814eb9e679718418196efbf73e536 (patch)
tree04e274cbb466e0cdea69b9a4286c8ce92d90d173 /media-gfx
parentrequire mozilla-launcher-1.22 now that it's marked stable (diff)
downloadhistorical-3820775bf65814eb9e679718418196efbf73e536.tar.gz
historical-3820775bf65814eb9e679718418196efbf73e536.tar.bz2
historical-3820775bf65814eb9e679718418196efbf73e536.zip
Added to ~ppc-macos.
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/xloadimage/ChangeLog5
-rw-r--r--media-gfx/xloadimage/Manifest14
-rw-r--r--media-gfx/xloadimage/xloadimage-4.1-r1.ebuild24
3 files changed, 32 insertions, 11 deletions
diff --git a/media-gfx/xloadimage/ChangeLog b/media-gfx/xloadimage/ChangeLog
index 393725a97800..354cc846ffba 100644
--- a/media-gfx/xloadimage/ChangeLog
+++ b/media-gfx/xloadimage/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for media-gfx/xloadimage
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/xloadimage/ChangeLog,v 1.7 2004/09/30 23:53:12 geoman Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/xloadimage/ChangeLog,v 1.8 2004/11/09 20:07:59 usata Exp $
+
+ 10 Nov 2004; Mamoru KOMACHI <usata@gentoo.org> xloadimage-4.1-r1.ebuild:
+ Added to ~ppc-macos.
30 Sep 2004; Stephen P. Becker <geoman@gentoo.org> xloadimage-4.1-r1.ebuild:
stable on mips
diff --git a/media-gfx/xloadimage/Manifest b/media-gfx/xloadimage/Manifest
index abe9edf05d21..be616a30fbdb 100644
--- a/media-gfx/xloadimage/Manifest
+++ b/media-gfx/xloadimage/Manifest
@@ -1,5 +1,15 @@
-MD5 7281b06925b80ba9dfdbf34675f6cf5e ChangeLog 2966
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 821c624d6b1e5d5395598b4daa10a2bf ChangeLog 3064
MD5 cdb11033a3fa6525334cecf938961c07 metadata.xml 166
-MD5 f8bee7ca17445a0a997eed7cca81b172 xloadimage-4.1-r1.ebuild 1724
+MD5 974248ce50a39e64d685df4f7cf8ade7 xloadimage-4.1-r1.ebuild 1985
MD5 bad387ba03d0111a70dd7066ba97d5e5 files/digest-xloadimage-4.1-r1 140
MD5 c411c977cc7ae79dd96aad933980dbb2 files/xloadimage-4.1-include-errno_h.patch 303
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.2.4 (Darwin)
+
+iD8DBQFBkSOsVWNWqTUmv+0RAnpmAKCNXkVE7dOj7407V1fvWUy0QjWW2wCeKNu6
+9g8KKc0xSVT5ENQnQ7A6EMQ=
+=sy6w
+-----END PGP SIGNATURE-----
diff --git a/media-gfx/xloadimage/xloadimage-4.1-r1.ebuild b/media-gfx/xloadimage/xloadimage-4.1-r1.ebuild
index 28afd8b4f3fa..1a0022d6034f 100644
--- a/media-gfx/xloadimage/xloadimage-4.1-r1.ebuild
+++ b/media-gfx/xloadimage/xloadimage-4.1-r1.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/xloadimage/xloadimage-4.1-r1.ebuild,v 1.8 2004/10/24 05:31:14 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/xloadimage/xloadimage-4.1-r1.ebuild,v 1.9 2004/11/09 20:07:59 usata Exp $
-inherit alternatives eutils
+inherit alternatives eutils flag-o-matic
MY_P="${P/-/.}"
S=${WORKDIR}/${MY_P}
@@ -13,14 +13,15 @@ SRC_URI="ftp://ftp.x.org/R5contrib/${MY_P}.tar.gz
LICENSE="MIT"
SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 sparc x86"
+KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 sparc x86 ~ppc-macos"
IUSE="tiff jpeg png"
-DEPEND=">=sys-apps/sed-4.0.5
- virtual/x11
+RDEPEND="virtual/x11
tiff? ( media-libs/tiff )
png? ( media-libs/libpng )
jpeg? ( media-libs/jpeg )"
+DEPEND="${RDEPEND}
+ >=sys-apps/sed-4.0.5"
src_unpack() {
unpack ${A}
@@ -32,9 +33,16 @@ src_unpack() {
epatch ${FILESDIR}/${P}-include-errno_h.patch
sed -i "s:OPT_FLAGS=:OPT_FLAGS=$CFLAGS:" Make.conf
+ sed -i "s:^#include <varargs.h>:#include <stdarg.h>:" ${S}/rlelib.c
+
+ if use ppc-macos ; then
+ sed -i 's,<malloc.h>,<malloc/malloc.h>,' vicar.c
+ for f in $(grep zopen * | cut -d':' -f1 | uniq);do
+ sed -i "s:zopen:zloadimage_zopen:g" $f
+ done
+ fi
chmod +x ${S}/configure
- sed -i "s:^#include <varargs.h>:#include <stdarg.h>:" ${S}/rlelib.c
}
src_install() {
@@ -62,9 +70,9 @@ update_alternatives() {
}
pkg_postinst() {
- update_alternatives
+ use ppc-macos || update_alternatives
}
pkg_postrm() {
- update_alternatives
+ use ppc-macos || update_alternatives
}