From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 11F5513829B for ; Sun, 29 May 2016 17:58:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 312071435B; Sun, 29 May 2016 17:58:43 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A798A1435B for ; Sun, 29 May 2016 17:58:42 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1835C340A99 for ; Sun, 29 May 2016 17:58:41 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 795E2180 for ; Sun, 29 May 2016 17:58:38 +0000 (UTC) From: "Chí-Thanh Christopher Nguyễn" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Chí-Thanh Christopher Nguyễn" Message-ID: <1464544710.1469ff24575a246ca2ec87157358a2544205a46d.chithanh@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-drivers/xf86-video-omapfb/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-drivers/xf86-video-omapfb/files/0007-always_include_xorg_server.h.patch X-VCS-Directories: x11-drivers/xf86-video-omapfb/files/ X-VCS-Committer: chithanh X-VCS-Committer-Name: Chí-Thanh Christopher Nguyễn X-VCS-Revision: 1469ff24575a246ca2ec87157358a2544205a46d X-VCS-Branch: master Date: Sun, 29 May 2016 17:58:38 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 463c2b59-4730-4462-89eb-1966463eac19 X-Archives-Hash: 9b1d53e2b58ced0d2468da34e870499f commit: 1469ff24575a246ca2ec87157358a2544205a46d Author: Chí-Thanh Christopher Nguyễn gentoo org> AuthorDate: Sun May 29 17:58:30 2016 +0000 Commit: Chí-Thanh Christopher Nguyễn gentoo org> CommitDate: Sun May 29 17:58:30 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1469ff24 x11-drivers/xf86-video-omapfb: fix building against glibc-2.20 Bug: https://bugs.gentoo.org/show_bug.cgi?id=549264 Package-Manager: portage-2.2.28 .../files/0007-always_include_xorg_server.h.patch | 48 ++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/x11-drivers/xf86-video-omapfb/files/0007-always_include_xorg_server.h.patch b/x11-drivers/xf86-video-omapfb/files/0007-always_include_xorg_server.h.patch new file mode 100644 index 0000000..dc0b9b3 --- /dev/null +++ b/x11-drivers/xf86-video-omapfb/files/0007-always_include_xorg_server.h.patch @@ -0,0 +1,48 @@ +Fix errors with glibc 2.20 + +In file included from /home/ubuntu/work/upstream/openembedded-core/build/tmp-glibc/sysroots/qemux86/usr/include/string.h:634:0, + from /home/ubuntu/work/upstream/openembedded-core/build/tmp-glibc/sysroots/qemux86/usr/include/xorg/os.h:53, + from /home/ubuntu/work/upstream/openembedded-core/build/tmp-glibc/sysroots/qemux86/usr/include/xorg/misc.h:115, + from /home/ubuntu/work/upstream/openembedded-core/build/tmp-glibc/sysroots/qemux86/usr/include/xorg/xf86str.h:37, + from /home/ubuntu/work/upstream/openembedded-core/build/tmp-glibc/sysroots/qemux86/usr/include/xorg/xf86.h:44, + from /home/ubuntu/work/upstream/openembedded-core/build/tmp-glibc/work/i586-oe-linux/xf86-video-omapfb/2_0.1.1+gitrAUTOINC+28c006c94e-r21.7/git/src/omapfb-xv-blizzard.c:33: +/home/ubuntu/work/upstream/openembedded-core/build/tmp-glibc/sysroots/qemux86/usr/include/xorg/os.h:579:1: error: expected identifier or '(' before '__extension__' + strndup(const char *str, size_t n); + ^ +In file included from /home/ubuntu/work/upstream/openembedded-core/build/tmp-glibc/sysroots/qemux86/usr/include/string.h:634:0, + from /home/ubuntu/work/upstream/openembedded-core/build/tmp-glibc/sysroots/qemux86/usr/include/xorg/os.h:53, + from /home/ubuntu/work/upstream/openembedded-core/build/tmp-glibc/sysroots/qemux86/usr/include/xorg/misc.h:115, + from /home/ubuntu/work/upstream/openembedded-core/build/tmp-glibc/sysroots/qemux86/usr/include/xorg/xf86str.h:37, + from /home/ubuntu/work/upstream/openembedded-core/build/tmp-glibc/sysroots/qemux86/usr/include/xorg/xf86.h:44, + from /home/ubuntu/work/upstream/openembedded-core/build/tmp-glibc/work/i586-oe-linux/xf86-video-omapfb/2_0.1.1+gitrAUTOINC+28c006c94e-r21.7/git/src/omapfb-xv-generic.c:28: +/home/ubuntu/work/upstream/openembedded-core/build/tmp-glibc/sysroots/qemux86/usr/include/xorg/os.h:579:1: error: expected identifier or '(' before '__extension__' + strndup(const char *str, size_t n); + ^ + +Singed-off-by: Khem Raj + +Upstream-Status: Pending +Index: git/src/omapfb-xv-blizzard.c +=================================================================== +--- git.orig/src/omapfb-xv-blizzard.c 2014-08-28 05:16:25.684070587 -0700 ++++ git/src/omapfb-xv-blizzard.c 2014-08-28 19:05:39.440070587 -0700 +@@ -30,6 +30,7 @@ + * - + */ + ++#include + #include "xf86.h" + #include "xf86_OSlib.h" + #include "xf86xv.h" +Index: git/src/omapfb-xv-generic.c +=================================================================== +--- git.orig/src/omapfb-xv-generic.c 2014-08-28 05:16:25.684070587 -0700 ++++ git/src/omapfb-xv-generic.c 2014-08-28 19:05:51.780070587 -0700 +@@ -25,6 +25,7 @@ + * Generic functions for the XV driver + */ + ++#include + #include "xf86.h" + #include "xf86_OSlib.h" + #include "xf86xv.h"