diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2006-03-22 11:22:19 +0000 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2006-03-22 11:22:19 +0000 |
commit | 58d162f13c736e543c65fc0ea7f4a7e395f4373a (patch) | |
tree | a26cec8be0b1f9ef4c2aaa343ce65690b61da7f6 /sys-apps/fwcrv | |
parent | version bump, remove old, closes bug 127101 (diff) | |
download | historical-58d162f13c736e543c65fc0ea7f4a7e395f4373a.tar.gz historical-58d162f13c736e543c65fc0ea7f4a7e395f4373a.tar.bz2 historical-58d162f13c736e543c65fc0ea7f4a7e395f4373a.zip |
non x86 arch fixes
Package-Manager: portage-2.1_pre5-r4
Diffstat (limited to 'sys-apps/fwcrv')
-rw-r--r-- | sys-apps/fwcrv/ChangeLog | 8 | ||||
-rw-r--r-- | sys-apps/fwcrv/Manifest | 17 | ||||
-rw-r--r-- | sys-apps/fwcrv/files/fwcrv-0.1.0-endian.patch | 47 | ||||
-rw-r--r-- | sys-apps/fwcrv/fwcrv-0.1.0.ebuild | 12 |
4 files changed, 76 insertions, 8 deletions
diff --git a/sys-apps/fwcrv/ChangeLog b/sys-apps/fwcrv/ChangeLog index 4da887011638..17324853eb33 100644 --- a/sys-apps/fwcrv/ChangeLog +++ b/sys-apps/fwcrv/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-apps/fwcrv -# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/fwcrv/ChangeLog,v 1.3 2005/09/26 04:34:40 robbat2 Exp $ +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/fwcrv/ChangeLog,v 1.4 2006/03/22 11:22:19 lu_zero Exp $ + + 22 Mar 2006; Luca Barbato <lu_zero@gentoo.org> + +files/fwcrv-0.1.0-endian.patch, fwcrv-0.1.0.ebuild: + Fixed for big endian and char sign/unsign arches. 26 Sep 2005; Robin H. Johnson <robbat2@gentoo.org> fwcrv-0.1.0.ebuild: Stable on x86, 260 days in ~x86. diff --git a/sys-apps/fwcrv/Manifest b/sys-apps/fwcrv/Manifest index bfd084a99a34..90efa9e72abf 100644 --- a/sys-apps/fwcrv/Manifest +++ b/sys-apps/fwcrv/Manifest @@ -1,4 +1,15 @@ -MD5 9958cd3d1bb9fde154ee6544263439e5 ChangeLog 622 -MD5 21cd68602737d7c996bceabf6e62c468 metadata.xml 223 -MD5 5967f726caf1bd157ed2e3f7026b492e fwcrv-0.1.0.ebuild 631 +MD5 3cdf8b8c5f9b9882a022ace3069f6993 ChangeLog 779 +RMD160 e90b0ead66bf34cbaebe9e5db5dbc09c5910c38e ChangeLog 779 +SHA256 7da10f9adb7ab0282bb6249a7b3b9dc76cac819ae47c8ea70179552f3b28f5d0 ChangeLog 779 MD5 f28ed20204b04f6721bee52f769da6f9 files/digest-fwcrv-0.1.0 62 +RMD160 e609dffdaac58e2732e3dd0eff3ee7fd7d397358 files/digest-fwcrv-0.1.0 62 +SHA256 981276fad2450ac4a2e4a365987a11a319e1603af8fad64f7b031e3fa0f942a0 files/digest-fwcrv-0.1.0 62 +MD5 689bfcf42bd345e475f9271d97bb21c9 files/fwcrv-0.1.0-endian.patch 1732 +RMD160 729500c59ed3f6aa416b797631aafdcb71f4155b files/fwcrv-0.1.0-endian.patch 1732 +SHA256 43e33968ce17a60781d6f7e0dfc568f21024d82ce8d35fd0efcb4f66ca7348c2 files/fwcrv-0.1.0-endian.patch 1732 +MD5 edaaaea47e645ad06ca474e55510dffc fwcrv-0.1.0.ebuild 714 +RMD160 8285deac39c0948cf264f301332fdeebf7b6076c fwcrv-0.1.0.ebuild 714 +SHA256 eee10d632ebb51930234b1bcb34cd851a2e0ce3eb3e30c84be930355f4fbcd5e fwcrv-0.1.0.ebuild 714 +MD5 21cd68602737d7c996bceabf6e62c468 metadata.xml 223 +RMD160 ffa99612cf27469c417944deed0e0c9155e64331 metadata.xml 223 +SHA256 d6bb9ba68629616062b4433ab3b8fb01dfcafae5bb47804d9e06cdd6c66daa44 metadata.xml 223 diff --git a/sys-apps/fwcrv/files/fwcrv-0.1.0-endian.patch b/sys-apps/fwcrv/files/fwcrv-0.1.0-endian.patch new file mode 100644 index 000000000000..565a15736d9b --- /dev/null +++ b/sys-apps/fwcrv/files/fwcrv-0.1.0-endian.patch @@ -0,0 +1,47 @@ +diff -ruN src/functions.c /tmp/src/functions.c +--- src/functions.c 2002-11-14 23:46:11.000000000 +0100 ++++ src.new/functions.c 2006-03-22 11:51:03.000000000 +0100 +@@ -59,7 +59,7 @@ + byte ParseCommandLineOptions( int ArgCount, char *ArgValue[], byte *Mode, byte *ReadLength )
+ {
+ int i;
+- char *ArgString;
++ unsigned char *ArgString; + byte Node_ID;
+
+ Node_ID = 0; // Default Node_ID used is 0
+diff -ruN src/functions.h /tmp/src/functions.h +--- src/functions.h 2001-06-21 01:11:43.000000000 +0200 ++++ src.new/functions.h 2006-03-22 11:47:48.000000000 +0100 +@@ -16,18 +16,29 @@ + * byte2 = bits 08-15 (on ix86, bits 16-23)
+ * byte3 = bits 00-07 (on ix86, bits 24-31)
+ * *****************************************************************************************************/
++ ++#if __BYTE_ORDER == __BIG_ENDIAN ++ ++#define QBYTE3( q ) ( (byte) ( q >> 24 ) ) ++#define QBYTE2( q ) ( (byte) ( q >> 16 ) ) ++#define QBYTE1( q ) ( (byte) ( q >> 8 ) ) ++#define QBYTE0( q ) ( (byte) q ) ++ ++#else ++ + #define QBYTE0( q ) ( (byte) ( q >> 24 ) )
+ #define QBYTE1( q ) ( (byte) ( q >> 16 ) )
+ #define QBYTE2( q ) ( (byte) ( q >> 8 ) )
+ #define QBYTE3( q ) ( (byte) q )
+
++#endif
++
+ /* Macro pour inverser les octets a l'interieur d'un quadlet */
+ #define QSWAP( q ) ( ( q << 24 ) & 0xFF000000 ) + \
+ ( ( q << 8 ) & 0x00FF0000 ) + \
+ ( ( q >> 8 ) & 0x0000FF00 ) + \
+ ( ( q >> 24 ) & 0x000000FF )
+
+-
+ /* ******************************************************************************************************
+ * ParseCommandLineOptions
+ * Initialisation of the different options passed as arguments on the command line
+ diff --git a/sys-apps/fwcrv/fwcrv-0.1.0.ebuild b/sys-apps/fwcrv/fwcrv-0.1.0.ebuild index 19fad1b2cdea..12e7e7f47529 100644 --- a/sys-apps/fwcrv/fwcrv-0.1.0.ebuild +++ b/sys-apps/fwcrv/fwcrv-0.1.0.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2005 Gentoo Foundation +# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/fwcrv/fwcrv-0.1.0.ebuild,v 1.2 2005/09/26 04:34:40 robbat2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/fwcrv/fwcrv-0.1.0.ebuild,v 1.3 2006/03/22 11:22:19 lu_zero Exp $ inherit eutils @@ -9,10 +9,16 @@ HOMEPAGE="http://www.hugovil.com/en/fwcrv/" SRC_URI="http://www.hugovil.com/repository/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="x86" +KEYWORDS="x86 ~ppc" IUSE="" DEPEND="sys-libs/libraw1394" +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/${P}-endian.patch +} + src_compile() { econf || die "econf failed" emake || die "emake failed" |