From 08c2e68ef976b1db3f55068612ecc024cf862122 Mon Sep 17 00:00:00 2001 From: Alexis Ballier Date: Fri, 31 Oct 2008 11:31:34 +0000 Subject: Use standard types instead of __ prefixed ones, fixes bug #235783, stop using bindnow-flags, bug #226983, and tc-export CC Package-Manager: portage-2.2_rc12/cvs/Linux 2.6.27.4 x86_64 --- media-video/dfbsee/ChangeLog | 9 ++++- media-video/dfbsee/Manifest | 15 +++++++- media-video/dfbsee/dfbsee-0.7.4-r1.ebuild | 17 +++------ .../dfbsee/files/dfbsee-0.7.4-standardtypes.patch | 43 ++++++++++++++++++++++ 4 files changed, 69 insertions(+), 15 deletions(-) create mode 100644 media-video/dfbsee/files/dfbsee-0.7.4-standardtypes.patch (limited to 'media-video') diff --git a/media-video/dfbsee/ChangeLog b/media-video/dfbsee/ChangeLog index 1132c73b1afb..e15857e9eb0f 100644 --- a/media-video/dfbsee/ChangeLog +++ b/media-video/dfbsee/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-video/dfbsee -# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/dfbsee/ChangeLog,v 1.10 2007/11/27 12:23:42 zzam Exp $ +# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/dfbsee/ChangeLog,v 1.11 2008/10/31 11:31:33 aballier Exp $ + + 31 Oct 2008; Alexis Ballier + +files/dfbsee-0.7.4-standardtypes.patch, dfbsee-0.7.4-r1.ebuild: + Use standard types instead of __ prefixed ones, fixes bug #235783, stop + using bindnow-flags, bug #226983, and tc-export CC 27 Nov 2007; Matthias Schwarzott dfbsee-0.7.4.ebuild, dfbsee-0.7.4-r1.ebuild: diff --git a/media-video/dfbsee/Manifest b/media-video/dfbsee/Manifest index 24122a525259..b3242b18df76 100644 --- a/media-video/dfbsee/Manifest +++ b/media-video/dfbsee/Manifest @@ -1,6 +1,17 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + AUX dfbsee-0.7.4-direcfb-0.9.24.patch 732 RMD160 5ebf590c3498879c161353873133ac84d27e710f SHA1 d623ca78238c6d2f68a65c654423536eca52a308 SHA256 5da4fd74482a7b4c11ac974a65f0a40997b3a0036709975a7ae77ba06242ef1a AUX dfbsee-0.7.4-gcc4.patch 1748 RMD160 77344a2dcd0133d77bba3231f31e5bcf0cab6bcd SHA1 c4595dec819ede66a2e17b20db0b2f84286e63e2 SHA256 5c352942af3a22a04a425828074b6ad0b9920da64d8338006eedc08cc61d98a8 +AUX dfbsee-0.7.4-standardtypes.patch 1155 RMD160 fbb8b0826a676fc72fe86294e9c479efde4b0559 SHA1 67ecd23e07857b4e42f72b1ae2c9359c7905a552 SHA256 00ad43374c1eb47833b35a601c6c01a21286a05debb3f09f1a09f47cd0fa320a DIST DFBSee-0.7.4.tar.gz 147346 RMD160 148ca388cc4966f301bcc2d124583bbfb85572cc SHA1 11db8261b1cbfe380e68636c5b6d7fc6e3118707 SHA256 778115b9fba23de3dabc9ac117b73e2762d795fc97c299075434d74ae2dd87e8 -EBUILD dfbsee-0.7.4-r1.ebuild 922 RMD160 ed6b8f6cf8e1e5234abddad72a5d1bfcf39ae8cf SHA1 b61f37acca25f709d3861756557b55f88a2801e1 SHA256 18234a9e12d33a4d55e13c1ce0ff6312d1263cd8a794c48be8847fc4002280aa -MISC ChangeLog 2561 RMD160 95f2f9a82a9ca94af714dfc0ae8956a36fd8dc8e SHA1 a2f3e52bc48c64bb3da2643b5985ab01590f8b96 SHA256 a195471d0986a370e278393ffc5d6987781959e3450a3fc6742bb09c9ef4fa48 +EBUILD dfbsee-0.7.4-r1.ebuild 903 RMD160 cd7b7e44d516cdc33fd89e418f123b96938eae52 SHA1 a60e34d00331cee5c20005c1eb4069d47e27c451 SHA256 052814cc1cd8e969ad6b1826878cb66b3930299c0c14c81a290289c0a197ab62 +MISC ChangeLog 2812 RMD160 c0454a9499bbaa79194b440077538229a7d0366a SHA1 28ba47a683c6dbea18d00a5c41c98ddcfa9e19c6 SHA256 41a20768901de621f5f3b28c2756d67e9792daf7a68a5838e38cf88a255a37d5 MISC metadata.xml 225 RMD160 6e3fccd1ae62f02a0cb28d319aa185af0020822d SHA1 1b8ccc849053361ac907dc9b652796defd1ce906 SHA256 1a7f3e805478b42bc379b2a36944579d34d7e66ba5bf418a651e1cd58ad0a7f5 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.9 (GNU/Linux) + +iEYEARECAAYFAkkK7JsACgkQvFcC4BYPU0pFnACcCgQwoeAyLLpoJ1KfP7PoRrsK +98oAoID5pqNxueLT6xh+qh11c9ES95f8 +=fqGY +-----END PGP SIGNATURE----- diff --git a/media-video/dfbsee/dfbsee-0.7.4-r1.ebuild b/media-video/dfbsee/dfbsee-0.7.4-r1.ebuild index 0c69bcda4d95..ba9ca1e142aa 100644 --- a/media-video/dfbsee/dfbsee-0.7.4-r1.ebuild +++ b/media-video/dfbsee/dfbsee-0.7.4-r1.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/dfbsee/dfbsee-0.7.4-r1.ebuild,v 1.3 2007/11/27 12:23:42 zzam Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/dfbsee/dfbsee-0.7.4-r1.ebuild,v 1.4 2008/10/31 11:31:33 aballier Exp $ -inherit flag-o-matic eutils +inherit eutils toolchain-funcs MY_PN="DFBSee" MY_P=${MY_PN}-${PV} @@ -29,16 +29,11 @@ src_unpack() { epatch "${FILESDIR}/${P}-direcfb-0.9.24.patch" epatch "${FILESDIR}/${P}-gcc4.patch" -} - -src_compile() { - append-ldflags $(bindnow-flags) - - econf - emake || die "make failed" + epatch "${FILESDIR}/${P}-standardtypes.patch" + tc-export CC } src_install () { - make DESTDIR="${D}" install || die + emake DESTDIR="${D}" install || die dodoc README AUTHORS } diff --git a/media-video/dfbsee/files/dfbsee-0.7.4-standardtypes.patch b/media-video/dfbsee/files/dfbsee-0.7.4-standardtypes.patch new file mode 100644 index 000000000000..c1a864965e87 --- /dev/null +++ b/media-video/dfbsee/files/dfbsee-0.7.4-standardtypes.patch @@ -0,0 +1,43 @@ +Index: DFBSee-0.7.4/src/rotate.c +=================================================================== +--- DFBSee-0.7.4.orig/src/rotate.c ++++ DFBSee-0.7.4/src/rotate.c +@@ -110,10 +110,10 @@ rotate (void *dest, + switch (bpp) + { + case 2: +- ROTATE_LEFT (__u16 *) ++ ROTATE_LEFT (uint16_t *) + break; + case 4: +- ROTATE_LEFT (__u32 *) ++ ROTATE_LEFT (uint32_t *) + break; + default: + break; +@@ -125,10 +125,10 @@ rotate (void *dest, + switch (bpp) + { + case 2: +- ROTATE_RIGHT (__u16 *) ++ ROTATE_RIGHT (uint16_t *) + break; + case 4: +- ROTATE_RIGHT (__u32 *) ++ ROTATE_RIGHT (uint32_t *) + break; + default: + break; +@@ -139,10 +139,10 @@ rotate (void *dest, + switch (bpp) + { + case 2: +- ROTATE_HALF (__u16 *) ++ ROTATE_HALF (uint16_t *) + break; + case 4: +- ROTATE_HALF (__u32 *) ++ ROTATE_HALF (uint32_t *) + break; + default: + break; -- cgit v1.2.3-65-gdbad