diff options
author | Markos Chandras <hwoarang@gentoo.org> | 2012-07-02 18:48:57 +0000 |
---|---|---|
committer | Markos Chandras <hwoarang@gentoo.org> | 2012-07-02 18:48:57 +0000 |
commit | 88383fb3efa61aac4daf45805dbb261096923166 (patch) | |
tree | 29332b88e0d60b973476c4dc33de9ee16c268ff5 | |
parent | Fix build failure with gcc-4.7 due to missing include (bug #424317, thanks to... (diff) | |
download | gentoo-2-88383fb3efa61aac4daf45805dbb261096923166.tar.gz gentoo-2-88383fb3efa61aac4daf45805dbb261096923166.tar.bz2 gentoo-2-88383fb3efa61aac4daf45805dbb261096923166.zip |
Update linguas. Fix compilation with gcc-4.7. Bug #422977
(Portage version: 2.1.11.3/cvs/Linux x86_64)
-rw-r--r-- | media-video/minitube/ChangeLog | 6 | ||||
-rw-r--r-- | media-video/minitube/files/minitube-1.8-gcc4.7.patch | 26 | ||||
-rw-r--r-- | media-video/minitube/minitube-1.8.ebuild | 7 |
3 files changed, 35 insertions, 4 deletions
diff --git a/media-video/minitube/ChangeLog b/media-video/minitube/ChangeLog index d355dc7abab8..e9b05529a955 100644 --- a/media-video/minitube/ChangeLog +++ b/media-video/minitube/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-video/minitube # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/minitube/ChangeLog,v 1.68 2012/07/02 18:24:03 hwoarang Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/minitube/ChangeLog,v 1.69 2012/07/02 18:48:57 hwoarang Exp $ + + 02 Jul 2012; Markos Chandras <hwoarang@gentoo.org> + +files/minitube-1.8-gcc4.7.patch, minitube-1.8.ebuild: + Update linguas. Fix compilation with gcc-4.7. Bug #422977 *minitube-1.8 (02 Jul 2012) diff --git a/media-video/minitube/files/minitube-1.8-gcc4.7.patch b/media-video/minitube/files/minitube-1.8-gcc4.7.patch new file mode 100644 index 000000000000..1d2c05364229 --- /dev/null +++ b/media-video/minitube/files/minitube-1.8-gcc4.7.patch @@ -0,0 +1,26 @@ +https://bugs.gentoo.org/show_bug.cgi?id=422977 + +From fa12613b0e2771fc634f6de64f234f731f40ae76 Mon Sep 17 00:00:00 2001 +From: Markos Chandras <hwoarang@gentoo.org> +Date: Mon, 2 Jul 2012 19:43:44 +0100 +Subject: [PATCH] Fix compilation with gcc-4.7 + +--- + src/qtsingleapplication/qtlocalpeer.cpp | 1 + + 1 files changed, 1 insertions(+), 0 deletions(-) + +diff --git a/src/qtsingleapplication/qtlocalpeer.cpp b/src/qtsingleapplication/qtlocalpeer.cpp +index 4c4382d..d8bf17d 100644 +--- a/src/qtsingleapplication/qtlocalpeer.cpp ++++ b/src/qtsingleapplication/qtlocalpeer.cpp +@@ -58,6 +58,7 @@ static PProcessIdToSessionId pProcessIdToSessionId = 0; + #endif + #if defined(Q_OS_UNIX) + #include <time.h> ++#include <unistd.h> + #endif + + namespace QtLP_Private { +-- +1.7.8.6 + diff --git a/media-video/minitube/minitube-1.8.ebuild b/media-video/minitube/minitube-1.8.ebuild index dca74cd3d950..ba91ba0ebbaf 100644 --- a/media-video/minitube/minitube-1.8.ebuild +++ b/media-video/minitube/minitube-1.8.ebuild @@ -1,10 +1,9 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/minitube/minitube-1.8.ebuild,v 1.1 2012/07/02 18:24:03 hwoarang Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/minitube/minitube-1.8.ebuild,v 1.2 2012/07/02 18:48:57 hwoarang Exp $ EAPI=4 -LANGS="ca da el en_US es es_AR es_ES fr gl hr hu ia id it nb nl pl pt pt_BR - ro ru sl sq sr sv_SE te tr zh_CN" +LANGS="ar ca da el en es es_AR es_ES fi fr gl hr hu ia id it nb nl nn pl pt pt_BR ro ru sk sl sq sr sv_SE te tr zh_CN" LANGSLONG="ca_ES de_DE fi_FI he_IL id_ID ka_GE pl_PL uk_UA" inherit qt4-r2 @@ -49,6 +48,8 @@ src_prepare() { if [[ -n ${trans} ]]; then sed -i -e "/^TRANSLATIONS/s/+=.*/+=${trans}/" locale/locale.pri || die fi + # gcc-4.7. Bug #422977 + epatch "${FILESDIR}"/${P}-gcc4.7.patch } src_install() { |