summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Stelling <blubb@gentoo.org>2005-06-05 20:37:12 +0000
committerSimon Stelling <blubb@gentoo.org>2005-06-05 20:37:12 +0000
commit84ccea22dae6285e62be576e13e3fab6bee1e69f (patch)
tree0ae28c7289f6ea1f816f02a05c1dc583a35f5f38 /app-arch/unshield
parentadd note (diff)
downloadhistorical-84ccea22dae6285e62be576e13e3fab6bee1e69f.tar.gz
historical-84ccea22dae6285e62be576e13e3fab6bee1e69f.tar.bz2
historical-84ccea22dae6285e62be576e13e3fab6bee1e69f.zip
added patch to make it compile with gcc-3.4 on amd64 and added ~amd64 keyword
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'app-arch/unshield')
-rw-r--r--app-arch/unshield/ChangeLog6
-rw-r--r--app-arch/unshield/Manifest5
-rw-r--r--app-arch/unshield/files/unshield-gcc-3.4.patch11
-rw-r--r--app-arch/unshield/unshield-0.4.ebuild12
4 files changed, 29 insertions, 5 deletions
diff --git a/app-arch/unshield/ChangeLog b/app-arch/unshield/ChangeLog
index 416a6e8218b3..3a84d991058f 100644
--- a/app-arch/unshield/ChangeLog
+++ b/app-arch/unshield/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-arch/unshield
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-arch/unshield/ChangeLog,v 1.7 2005/01/01 12:01:02 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-arch/unshield/ChangeLog,v 1.8 2005/06/05 20:37:12 blubb Exp $
+
+ 05 Jun 2005; Simon Stelling <blubb@gentoo.org>
+ +files/unshield-gcc-3.4.patch, unshield-0.4.ebuild:
+ added patch to make it compile with gcc-3.4 on amd64 and added ~amd64 keyword
18 Oct 2004; David Holm <dholm@gentoo.org> unshield-0.4.ebuild:
Added to ~ppc.
diff --git a/app-arch/unshield/Manifest b/app-arch/unshield/Manifest
index cfaf025b916e..6f65bb1bd714 100644
--- a/app-arch/unshield/Manifest
+++ b/app-arch/unshield/Manifest
@@ -1,6 +1,7 @@
-MD5 b5a58ccd104d9682068f6a9c8211ba31 ChangeLog 734
+MD5 88567158773e3a17584bedcb25e329fd ChangeLog 913
MD5 075fea99b82d61028585dc3e42f00466 metadata.xml 156
MD5 094a0dd8726803add089493c6ed49718 unshield-0.2.ebuild 579
-MD5 36a6bcda024566b7759e9ceca7882e25 unshield-0.4.ebuild 585
+MD5 d878dba42c467eb90857581d2737616c unshield-0.4.ebuild 686
MD5 2931b9ac6f33b6ea4501b2bbf73b6081 files/digest-unshield-0.2 64
MD5 691824e8b834caba40e95f0bb3d67ee4 files/digest-unshield-0.4 64
+MD5 f23f51fed12b1530b4a5c2a6be9324c8 files/unshield-gcc-3.4.patch 410
diff --git a/app-arch/unshield/files/unshield-gcc-3.4.patch b/app-arch/unshield/files/unshield-gcc-3.4.patch
new file mode 100644
index 000000000000..881fe10305d9
--- /dev/null
+++ b/app-arch/unshield/files/unshield-gcc-3.4.patch
@@ -0,0 +1,11 @@
+--- unshield-0.4/src/unshield.c.old 2005-06-05 22:30:04.000000000 +0200
++++ unshield-0.4/src/unshield.c 2005-06-05 22:29:04.000000000 +0200
+@@ -378,7 +378,7 @@
+ if (dirname[strlen(dirname)-1] != '/')
+ strcat(dirname, "/");
+
+- printf(" %8i %s%s\n",
++ printf(" %8li %s%s\n",
+ unshield_file_size(unshield, i),
+ dirname,
+ unshield_file_name(unshield, i));
diff --git a/app-arch/unshield/unshield-0.4.ebuild b/app-arch/unshield/unshield-0.4.ebuild
index fe4df5fec48c..d2939b0b0bc4 100644
--- a/app-arch/unshield/unshield-0.4.ebuild
+++ b/app-arch/unshield/unshield-0.4.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-arch/unshield/unshield-0.4.ebuild,v 1.3 2005/01/01 12:01:02 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-arch/unshield/unshield-0.4.ebuild,v 1.4 2005/06/05 20:37:12 blubb Exp $
+
+inherit eutils
DESCRIPTION="InstallShield CAB file extractor."
HOMEPAGE="http://sourceforge.net/projects/synce/"
@@ -8,11 +10,17 @@ SRC_URI="mirror://sourceforge/synce/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
-KEYWORDS="~x86 ~ppc"
+KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""
DEPEND=">=sys-libs/zlib-1.1.4"
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/unshield-gcc-3.4.patch
+}
+
src_compile() {
econf || die "econf failed"
emake || die