From patchwork Sat Nov 21 23:16:20 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?J=C3=B6rg_Krause?= X-Patchwork-Id: 547250 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 5940F1402B3 for ; Sun, 22 Nov 2015 10:16:54 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="key not found in DNS" (0-bit key; unprotected) header.d=embedded.rocks header.i=@embedded.rocks header.b=jXVVGDBS; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 636DA33ADE; Sat, 21 Nov 2015 23:16:53 +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 pT-NRjJgPXIw; Sat, 21 Nov 2015 23:16:51 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 5772033AC9; Sat, 21 Nov 2015 23:16:51 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 68ABB1C1040 for ; Sat, 21 Nov 2015 23:16:49 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 65DD98B36D for ; Sat, 21 Nov 2015 23:16:49 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UT4WmTEONBnk for ; Sat, 21 Nov 2015 23:16:46 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mout01.posteo.de (mout01.posteo.de [185.67.36.65]) by hemlock.osuosl.org (Postfix) with ESMTPS id 9652C934F9 for ; Sat, 21 Nov 2015 23:16:46 +0000 (UTC) Received: from dovecot03.posteo.de (dovecot03.posteo.de [172.16.0.13]) by mout01.posteo.de (Postfix) with ESMTPS id 7301020A30 for ; Sun, 22 Nov 2015 00:16:43 +0100 (CET) Received: from mail.posteo.de (localhost [127.0.0.1]) by dovecot03.posteo.de (Postfix) with ESMTPSA id 3p39cC1Tzsz5vLS for ; Sun, 22 Nov 2015 00:16:43 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mail.embedded.rocks (Postfix) with ESMTP id 9F087EE0C4E; Sun, 22 Nov 2015 00:16:42 +0100 (CET) Authentication-Results: mail.embedded.rocks (amavisd-new); dkim=pass reason="pass (just generated, assumed good)" header.d=embedded.rocks DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=embedded.rocks; h=content-transfer-encoding:content-type:content-type :mime-version:x-mailer:message-id:date:date:subject:subject:from :from:received:received; s=default; t=1448147789; x=1448752590; bh=L4yKraX6/A4s+aeOm4slktbzN12UAFkbOLvYWDevD6U=; b=jXVVGDBSMnIx bpK9W6IKZZyND+QbC2BqExuIFdNkIC89L5LUw+NijS2TD85zb6MbbSStga/pV12O kvjmPRbELQLRocq9nb6m2bEtezCwTpUYjHRcF/uVcA3ILf8LI3jXowCW3U55aTWb Owyif5I4WT1RcNGTdgiRLXEURpd4xkC05yXsOEXi20eBkiZ3CGISP75hzRLJFWYF S5SxiYRoxZigPjYZBAHJROCeyYiylzsKzBghB8Q9tpud3EBttPbGVUt15YkNogx1 wg0GBZJD7iEAsvmEkXEH5pIhBZqJgmtx6HHiSxWjO5wtaN1df2dz1F0p57/dQox4 t1Zz/ehVwg== X-Virus-Scanned: Debian amavisd-new at mail.embedded.rocks Received: from mail.embedded.rocks ([127.0.0.1]) by localhost (mail.embedded.rocks [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id EyS0Deqjrh5C; Sun, 22 Nov 2015 00:16:29 +0100 (CET) Received: from nzxt.fritz.box (x5f72ed02.dyn.telefonica.de [95.114.237.2]) (Authenticated sender: joerg.krause@embedded.rocks) by mail.embedded.rocks (Postfix) with ESMTPSA; Sun, 22 Nov 2015 00:16:29 +0100 (CET) From: =?UTF-8?q?J=C3=B6rg=20Krause?= To: buildroot@buildroot.org Date: Sun, 22 Nov 2015 00:16:20 +0100 Message-Id: <1448147781-18796-1-git-send-email-joerg.krause@embedded.rocks> X-Mailer: git-send-email 2.6.2 MIME-Version: 1.0 Subject: [Buildroot] [PATCH 1/1] package/mpd: fix static build issue with alsa 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: , Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" mpd forgets to link the archive libmixer_plugins.a against libasound leading to undefined references in a static context. Add a patch sent upstream to fix: http://autobuild.buildroot.net/results/f10/f10c6ea2d29bbcef8f33fc9ba1430e99edca895d/ http://autobuild.buildroot.net/results/312/31212c484f452fe4ea6ae084d3edefc4580830d8/ Signed-off-by: Jörg Krause --- package/mpd/0003-fix-static-build-with-alsa.patch | 32 +++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 package/mpd/0003-fix-static-build-with-alsa.patch diff --git a/package/mpd/0003-fix-static-build-with-alsa.patch b/package/mpd/0003-fix-static-build-with-alsa.patch new file mode 100644 index 0000000..4ba0449 --- /dev/null +++ b/package/mpd/0003-fix-static-build-with-alsa.patch @@ -0,0 +1,32 @@ +From bba7b8e5fed79a7fecacf5468ade35a3ae0a0f8e Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?J=C3=B6rg=20Krause?= +Date: Sat, 21 Nov 2015 23:51:43 +0100 +Subject: [PATCH 1/1] Makefile.am: fix static build with alsa +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Add ALSA_LIBS to MIXER_LIBS, otherwise building mpd in a static context fails +with lot of undefined references to alsa-lib (libasound) required by +src/mixer/plugins/AlsaMixerPlugin.cxx. + +Signed-off-by: Jörg Krause +--- + Makefile.am | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/Makefile.am b/Makefile.am +index 89819de..307fcba 100644 +--- a/Makefile.am ++++ b/Makefile.am +@@ -1219,6 +1219,7 @@ liboutput_plugins_a_SOURCES = \ + + MIXER_LIBS = \ + libmixer_plugins.a \ ++ $(ALSA_LIBS) \ + $(PULSE_LIBS) + + MIXER_API_SRC = \ +-- +2.6.2 +