From patchwork Sun Jun 7 16:14:18 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bernd Kuhls X-Patchwork-Id: 481752 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id D985F140187 for ; Mon, 8 Jun 2015 02:14:35 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id B8D1433A1D; Sun, 7 Jun 2015 16:14:33 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kBVURssP9fEW; Sun, 7 Jun 2015 16:14:29 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id ACD333349E; Sun, 7 Jun 2015 16:14:29 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 6FE371C2328 for ; Sun, 7 Jun 2015 16:14:28 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 6C383A4271 for ; Sun, 7 Jun 2015 16:14:28 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id St5X8p2-mdOs for ; Sun, 7 Jun 2015 16:14:26 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mailout02.t-online.de (mailout02.t-online.de [194.25.134.17]) by fraxinus.osuosl.org (Postfix) with ESMTPS id BDA0FA4232 for ; Sun, 7 Jun 2015 16:14:26 +0000 (UTC) Received: from fwd13.aul.t-online.de (fwd13.aul.t-online.de [172.20.27.62]) by mailout02.t-online.de (Postfix) with SMTP id 04B804E6366 for ; Sun, 7 Jun 2015 18:14:24 +0200 (CEST) Received: from fli4l.lan.fli4l (rXa0pTZYgh9g7b2bUeapqFXk8f9g1Ja3tXNQ2TgfAgOGQc15RhBI-eBn8HJkINMgfA@[79.247.165.194]) by fwd13.t-online.de with (TLSv1:ECDHE-RSA-AES256-SHA encrypted) esmtp id 1Z1dDL-1kDqO80; Sun, 7 Jun 2015 18:14:23 +0200 Received: from fli4lbuild64.lan.fli4l ([192.168.1.51]:44074) by fli4l.lan.fli4l with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.85) (envelope-from ) id 1Z1dDM-0006Gi-5u; Sun, 07 Jun 2015 18:14:24 +0200 From: Bernd Kuhls To: buildroot@buildroot.org Date: Sun, 7 Jun 2015 18:14:18 +0200 Message-Id: <1433693658-20065-3-git-send-email-bernd.kuhls@t-online.de> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1433693658-20065-1-git-send-email-bernd.kuhls@t-online.de> References: <1433693658-20065-1-git-send-email-bernd.kuhls@t-online.de> X-ID: rXa0pTZYgh9g7b2bUeapqFXk8f9g1Ja3tXNQ2TgfAgOGQc15RhBI-eBn8HJkINMgfA X-TOI-MSGID: 194e11ae-03fe-44ac-85e4-153f46eef483 Cc: Bernd Kuhls Subject: [Buildroot] [PATCH 3/3] package/vlc: Improve libGL detection X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" mesa3d defaults to --enable-opengl due to its weird configure.ac: http://git.buildroot.net/buildroot/commit/package/mesa3d/mesa3d.mk?id=384d601d4ea2c41bb7928f756bfe88af4d38b38b This leads to include/GL/gl.h and lib/pkgconfig/gl.pc being installed to STAGING_DIR. These files are enough for vlc to think that libGL.so is present which it is not in the defconfig being fixed by this patch. Fixes http://autobuild.buildroot.net/results/e63/e639dabfb260006acb8a204851b96f9275ce53a7/ Signed-off-by: Bernd Kuhls --- package/vlc/0008-ac-check-lib-gl.patch | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 package/vlc/0008-ac-check-lib-gl.patch diff --git a/package/vlc/0008-ac-check-lib-gl.patch b/package/vlc/0008-ac-check-lib-gl.patch new file mode 100644 index 0000000..7fa46a3 --- /dev/null +++ b/package/vlc/0008-ac-check-lib-gl.patch @@ -0,0 +1,18 @@ +Improve libGL detection + +The presence of gl.pc does not mean that libGL.so was installed. + +Signed-off-by: Bernd Kuhls + +diff -uNr vlc-2.2.1.org/configure.ac vlc-2.2.1/configure.ac +--- vlc-2.2.1.org/configure.ac 2015-04-13 09:57:54.000000000 +0200 ++++ vlc-2.2.1/configure.ac 2015-06-07 17:35:22.014022842 +0200 +@@ -3054,7 +3054,7 @@ + + have_gl="no" + PKG_CHECK_MODULES([GL], [gl], [ +- have_gl="yes" ++ AC_CHECK_LIB([GL], [main],[ have_gl="yes"]) + ], [ + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ + #ifdef _WIN32