summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Wever <weeve@gentoo.org>2004-03-29 02:07:42 +0000
committerJason Wever <weeve@gentoo.org>2004-03-29 02:07:42 +0000
commit62ded079b8691e0c8d9ab6c9f3c1723da026b89e (patch)
tree69f9c7b780771ed5f161400b4ecaf5e0b5497e1e /net-misc/d4x
parentversion bump (#44589) (diff)
downloadhistorical-62ded079b8691e0c8d9ab6c9f3c1723da026b89e.tar.gz
historical-62ded079b8691e0c8d9ab6c9f3c1723da026b89e.tar.bz2
historical-62ded079b8691e0c8d9ab6c9f3c1723da026b89e.zip
Added big endian patch and ~sparc keyword to 2.4.1-r1.
Diffstat (limited to 'net-misc/d4x')
-rw-r--r--net-misc/d4x/ChangeLog6
-rw-r--r--net-misc/d4x/Manifest5
-rw-r--r--net-misc/d4x/d4x-2.4.1-r1.ebuild8
-rw-r--r--net-misc/d4x/files/d4x-sndserv-bigendian.patch20
4 files changed, 34 insertions, 5 deletions
diff --git a/net-misc/d4x/ChangeLog b/net-misc/d4x/ChangeLog
index 12f0763a6d09..582fbce08a5a 100644
--- a/net-misc/d4x/ChangeLog
+++ b/net-misc/d4x/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-misc/d4x
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/d4x/ChangeLog,v 1.13 2004/02/04 20:50:08 liquidx Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/d4x/ChangeLog,v 1.14 2004/03/29 02:07:36 weeve Exp $
+
+ 28 Mar 2004; Jason Wever <weeve@gentoo.org> d4x-2.4.1-r1.ebuild,
+ files/d4x-sndserv-bigendian.patch:
+ Added big endian patch and ~sparc keyword to 2.4.1-r1.
04 Feb 2004; Alastair Tse <liquidx@gentoo.org> d4x-2.4.1-r1.ebuild:
workaround deprecated gtk_ calls in 2.4.1 (#32202)
diff --git a/net-misc/d4x/Manifest b/net-misc/d4x/Manifest
index 43b34dd92eb7..962fddd9ac84 100644
--- a/net-misc/d4x/Manifest
+++ b/net-misc/d4x/Manifest
@@ -1,9 +1,10 @@
-MD5 2daa09c0202b9dcbe8ef4fae1bc9b083 ChangeLog 3052
+MD5 bb37a56be9da12df19ecc7b5436dc79f ChangeLog 3212
MD5 8740947a3c0f83fced85e71bbeeb2c6f d4x-2.03.ebuild 1546
-MD5 4ceabd0323f5674c2ff7e6e05d4cc622 d4x-2.4.1-r1.ebuild 1819
+MD5 81e567dcd5584e54e6aab3364148d909 d4x-2.4.1-r1.ebuild 1996
MD5 3eb91190f89f156c189df23f1f0de2b0 d4x-2.5.0_rc2.ebuild 1941
MD5 5d41ee33c5ff557bad7627cbc67c3b6f metadata.xml 224
MD5 07dde74dfe302bab95327f285a5a16ba files/d4x-2.4.1-fix-statusbar-crash.patch 772
MD5 724445bfed12d4bafd7bb97eef1d669c files/digest-d4x-2.03 61
MD5 3e8783cc051415a9ee4f756fcc45c925 files/digest-d4x-2.4.1-r1 62
MD5 fc389107a8b5d040a989fe1d220beb3e files/digest-d4x-2.5.0_rc2 65
+MD5 a9d346bf4f3d64d906935b663747e434 files/d4x-sndserv-bigendian.patch 502
diff --git a/net-misc/d4x/d4x-2.4.1-r1.ebuild b/net-misc/d4x/d4x-2.4.1-r1.ebuild
index ea0ca2569688..496394da24da 100644
--- a/net-misc/d4x/d4x-2.4.1-r1.ebuild
+++ b/net-misc/d4x/d4x-2.4.1-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/d4x/d4x-2.4.1-r1.ebuild,v 1.4 2004/02/04 20:50:08 liquidx Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/d4x/d4x-2.4.1-r1.ebuild,v 1.5 2004/03/29 02:07:38 weeve Exp $
IUSE="nls esd gnome oss kde"
@@ -11,7 +11,7 @@ DESCRIPTION="GTK based download manager for X."
SRC_URI="http://www.krasu.ru/soft/chuchelo/files/${P/_}.tar.gz"
HOMEPAGE="http://www.krasu.ru/soft/chuchelo/"
-KEYWORDS="x86"
+KEYWORDS="x86 ~sparc"
SLOT="0"
LICENSE="Artistic"
@@ -33,6 +33,10 @@ src_unpack() {
# Fix a miscompile with gcc-3.2.2 and CFLAGS="-O2"
# <azarah@gentoo.org> (30 Mar 2003)
epatch ${FILESDIR}/${P}-fix-statusbar-crash.patch
+
+ # Fix bad #elif directives in sndserv.cc for big endian machines
+ # <weeve@gentoo.org> (28 Mar 2004)
+ [ `use sparc` ] && epatch ${FILESDIR}/${PN}-sndserv-bigendian.patch
}
src_compile() {
diff --git a/net-misc/d4x/files/d4x-sndserv-bigendian.patch b/net-misc/d4x/files/d4x-sndserv-bigendian.patch
new file mode 100644
index 000000000000..b0c870ee5b1d
--- /dev/null
+++ b/net-misc/d4x/files/d4x-sndserv-bigendian.patch
@@ -0,0 +1,20 @@
+--- main/sndserv.cc.orig 2004-03-28 18:33:57.116628000 -0700
++++ main/sndserv.cc 2004-03-28 18:34:41.396628000 -0700
+@@ -153,7 +153,7 @@
+
+ #if G_BYTE_ORDER == G_LITTLE_ENDIAN
+ *len =(buf[3] << 24) | (buf[2] << 16) | (buf[1] << 8) | buf[0];
+-#elif
++#else
+ *len =(buf[0] << 24) | (buf[1] << 16) | (buf[2] << 8) | buf[3];
+ #endif
+
+@@ -166,7 +166,7 @@
+ return 0;
+ #if G_BYTE_ORDER == G_LITTLE_ENDIAN
+ *val = (buf[1] << 8) | buf[0];
+-#elif
++#else
+ *val = (buf[0] << 8) | buf[1];
+ #endif
+ return 1;