From a43f002873d8f10f2a64b1c0466e2c3e3704a71a Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 20 Mar 2007 04:14:34 +0000 Subject: [PATCH] Disable CFLAG hardcodes in package. Package-Manager: portage-2.1.2.2 --- dev-libs/DirectFB-extra/ChangeLog | 6 +++- .../DirectFB-extra-0.9.25.ebuild | 9 ++--- dev-libs/DirectFB-extra/Manifest | 26 ++++++++------- .../files/DirectFB-extra-0.9.25-CFLAGS.patch | 33 +++++++++++++++++++ 4 files changed, 58 insertions(+), 16 deletions(-) create mode 100644 dev-libs/DirectFB-extra/files/DirectFB-extra-0.9.25-CFLAGS.patch diff --git a/dev-libs/DirectFB-extra/ChangeLog b/dev-libs/DirectFB-extra/ChangeLog index 512372901007..c4f02a426e09 100644 --- a/dev-libs/DirectFB-extra/ChangeLog +++ b/dev-libs/DirectFB-extra/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-libs/DirectFB-extra # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/DirectFB-extra/ChangeLog,v 1.17 2007/02/22 00:27:42 peper Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/DirectFB-extra/ChangeLog,v 1.18 2007/03/20 04:14:34 vapier Exp $ + + 20 Mar 2007; Mike Frysinger + +files/DirectFB-extra-0.9.25-CFLAGS.patch, DirectFB-extra-0.9.25.ebuild: + Disable CFLAG hardcodes in package. 22 Feb 2007; Piotr Jaroszyński ChangeLog: Transition to Manifest2. diff --git a/dev-libs/DirectFB-extra/DirectFB-extra-0.9.25.ebuild b/dev-libs/DirectFB-extra/DirectFB-extra-0.9.25.ebuild index 8002dfef32ef..52947f2a037f 100644 --- a/dev-libs/DirectFB-extra/DirectFB-extra-0.9.25.ebuild +++ b/dev-libs/DirectFB-extra/DirectFB-extra-0.9.25.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/DirectFB-extra/DirectFB-extra-0.9.25.ebuild,v 1.4 2006/10/30 23:33:53 mabi Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/DirectFB-extra/DirectFB-extra-0.9.25.ebuild,v 1.5 2007/03/20 04:14:34 vapier Exp $ inherit eutils @@ -26,13 +26,14 @@ DEPEND="${RDEPEND} src_unpack() { unpack ${A} cd "${S}" + epatch "${FILESDIR}"/${P}-CFLAGS.patch sed -i \ -e 's:libmpeg3\.h:libmpeg3/libmpeg3.h:g' \ configure interfaces/IDirectFBVideoProvider/idirectfbvideoprovider_libmpeg3.c } src_compile() { -# $(use_enable avi avifile) \ + # $(use_enable avi avifile) econf \ $(use_enable mmx) \ $(use_enable imlib imlib2) \ @@ -46,6 +47,6 @@ src_compile() { } src_install() { - make DESTDIR="${D}" install || die "make install failed" + emake DESTDIR="${D}" install || die "make install failed" dodoc AUTHORS ChangeLog NEWS README } diff --git a/dev-libs/DirectFB-extra/Manifest b/dev-libs/DirectFB-extra/Manifest index 5e33bf839e78..31c4e1e976f5 100644 --- a/dev-libs/DirectFB-extra/Manifest +++ b/dev-libs/DirectFB-extra/Manifest @@ -1,15 +1,19 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 +AUX DirectFB-extra-0.9.25-CFLAGS.patch 771 RMD160 8e3a59e5bae6c650169a1db113c7d21c69b9db68 SHA1 5f95cc45e35e77ef873d05f5d83f5c5ca30ad2fd SHA256 7945b37e23b1757e2fb09586c10948127ff5d42f7fe5b0403d47f1b51eaff853 +MD5 3444132fb7e31fa78045e40d434b09b4 files/DirectFB-extra-0.9.25-CFLAGS.patch 771 +RMD160 8e3a59e5bae6c650169a1db113c7d21c69b9db68 files/DirectFB-extra-0.9.25-CFLAGS.patch 771 +SHA256 7945b37e23b1757e2fb09586c10948127ff5d42f7fe5b0403d47f1b51eaff853 files/DirectFB-extra-0.9.25-CFLAGS.patch 771 DIST DirectFB-extra-0.9.25.tar.gz 465686 RMD160 e473036a57164da136cf7cbc7a27bd28d1a47c83 SHA1 691d1d60f246980176b52e5eafd9a121d5046b35 SHA256 1d70c2e08c0b3ba5364d53f2e03ce92b15440b01b2be2484d338e45584f9fcc8 -EBUILD DirectFB-extra-0.9.25.ebuild 1380 RMD160 56dfebff0bdae3b46e5a9ef19303700379f8e43f SHA1 2f3a086890de3b709ea6a621f3664f057147e472 SHA256 f1d2828b7c768e7d8c1b9377d5ad4c5f4b4b0a37f8f1411e8f5a9be80d8e65b4 -MD5 9f382340393abdc45b84614582340d62 DirectFB-extra-0.9.25.ebuild 1380 -RMD160 56dfebff0bdae3b46e5a9ef19303700379f8e43f DirectFB-extra-0.9.25.ebuild 1380 -SHA256 f1d2828b7c768e7d8c1b9377d5ad4c5f4b4b0a37f8f1411e8f5a9be80d8e65b4 DirectFB-extra-0.9.25.ebuild 1380 -MISC ChangeLog 2523 RMD160 2ee9568be4c8afbe91e3add02bb1ef25eb9e4098 SHA1 683ada2a82dea37601d7ac7a2eb7a62e45ecaaa4 SHA256 bec8aab5a7cb96a34aac9333b8791d16f71703d0bf251918cda2b50a00d5f66a -MD5 01e8073b27ceb7e64c20b19d0dd599db ChangeLog 2523 -RMD160 2ee9568be4c8afbe91e3add02bb1ef25eb9e4098 ChangeLog 2523 -SHA256 bec8aab5a7cb96a34aac9333b8791d16f71703d0bf251918cda2b50a00d5f66a ChangeLog 2523 +EBUILD DirectFB-extra-0.9.25.ebuild 1422 RMD160 1f1473e4579d45a7dac6d9b3a10dcc951f12eb61 SHA1 91a9dc2cfdafc2ba8e6341131318048bb4684715 SHA256 f9b58dbf35938a2a51b5ea86bd850d66a5be4b5c74c75f1390ef97390a62c8d6 +MD5 33760482e2eabc80be1200e3353e6177 DirectFB-extra-0.9.25.ebuild 1422 +RMD160 1f1473e4579d45a7dac6d9b3a10dcc951f12eb61 DirectFB-extra-0.9.25.ebuild 1422 +SHA256 f9b58dbf35938a2a51b5ea86bd850d66a5be4b5c74c75f1390ef97390a62c8d6 DirectFB-extra-0.9.25.ebuild 1422 +MISC ChangeLog 2688 RMD160 fbd83e3d7bbedddb22e401e768b25a1bb3333068 SHA1 ad93232ebf6e8325c994a5fff7a60ea6307cd0d6 SHA256 e69dd1bc7ced9ee4427695ea99d7d376c4031c5bbfd280a1eb2b530df3637348 +MD5 b654fb6d90e610650bebefbc19ae554a ChangeLog 2688 +RMD160 fbd83e3d7bbedddb22e401e768b25a1bb3333068 ChangeLog 2688 +SHA256 e69dd1bc7ced9ee4427695ea99d7d376c4031c5bbfd280a1eb2b530df3637348 ChangeLog 2688 MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea metadata.xml 158 @@ -20,7 +24,7 @@ SHA256 2b48c4242adb6c65de93e2d13af92ff2da06501aaff60b9b7b61c971b72fe88c files/di -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.3 (GNU/Linux) -iD8DBQFF/1WK8bi6rjpTunYRArqBAKCIoVzCexlBmMGKLZVAOUCAp09yTACgrTu1 -9cJxoK9baHNfc0+vemVIK5Y= -=m16H +iD8DBQFF/1+38bi6rjpTunYRAjEGAJ9tiC1ZMeFFtf1nx1aUw7gBJJSv6QCdGBIJ +9GMydx2GzReGjDaNqEDGVjU= +=ltYU -----END PGP SIGNATURE----- diff --git a/dev-libs/DirectFB-extra/files/DirectFB-extra-0.9.25-CFLAGS.patch b/dev-libs/DirectFB-extra/files/DirectFB-extra-0.9.25-CFLAGS.patch new file mode 100644 index 000000000000..75a241563b89 --- /dev/null +++ b/dev-libs/DirectFB-extra/files/DirectFB-extra-0.9.25-CFLAGS.patch @@ -0,0 +1,33 @@ +--- interfaces/IDirectFBVideoProvider/video_out_dfb/Makefile.in ++++ interfaces/IDirectFBVideoProvider/video_out_dfb/Makefile.in +@@ -201,7 +201,6 @@ + + @ENABLE_DEBUG_TRUE@AM_CPPFLAGS = -DLOG=1 -DLOG_VERBOSE=1 + +-AM_CFLAGS = -fomit-frame-pointer + + video_out_dfb_LTLIBRARIES = xineplug_vo_out_dfb.la + +--- configure ++++ configure +@@ -19853,7 +19853,7 @@ + DFB_CFLAGS="$DFB_CFLAGS $DFB_INTERNAL_CFLAGS -DREENTRANT" + + if test "x$GCC" = xyes; then +- DFB_CFLAGS="$DFB_CFLAGS -O3 -fexpensive-optimizations -ffast-math -Wall" ++ DFB_CFLAGS="$DFB_CFLAGS -ffast-math -Wall" + fi + + # +@@ -19910,9 +19910,9 @@ + #define DFB_DEBUG 1 + _ACEOF + +- DFB_CFLAGS="$DFB_CFLAGS -g3" ++ DFB_CFLAGS="$DFB_CFLAGS" + else +- DFB_CFLAGS="$DFB_CFLAGS -g0" ++ DFB_CFLAGS="$DFB_CFLAGS" + fi + + -- 2.26.2