From patchwork Tue Jan 26 19:24:50 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bernd Kuhls X-Patchwork-Id: 573449 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 B4D3F140B97 for ; Wed, 27 Jan 2016 06:25:11 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id E922833310; Tue, 26 Jan 2016 19:25:10 +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 MCYzKoZblRrs; Tue, 26 Jan 2016 19:25:07 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 8FE2E32EBF; Tue, 26 Jan 2016 19:25:07 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id A97931C0F8A for ; Tue, 26 Jan 2016 19:25:05 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id A511733310 for ; Tue, 26 Jan 2016 19:25:05 +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 DD-7tA1j9jb0 for ; Tue, 26 Jan 2016 19:25:03 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mailout10.t-online.de (mailout10.t-online.de [194.25.134.21]) by silver.osuosl.org (Postfix) with ESMTPS id 875B4338D7 for ; Tue, 26 Jan 2016 19:25:02 +0000 (UTC) Received: from fwd24.aul.t-online.de (fwd24.aul.t-online.de [172.20.26.129]) by mailout10.t-online.de (Postfix) with SMTP id 7DE733AA4DF for ; Tue, 26 Jan 2016 20:24:59 +0100 (CET) Received: from fli4l.lan.fli4l (ExTfgmZlghbbjgNqojEctzaT1PlZPtV98L6wUXK-lGTld8Qp2IrW8Bf4LywvW+TQ6q@[84.178.247.57]) by fwd24.t-online.de with (TLSv1:ECDHE-RSA-AES256-SHA encrypted) esmtp id 1aO9ES-0c9wnY0; Tue, 26 Jan 2016 20:24:52 +0100 Received: from mahler.lan.fli4l ([192.168.1.1]:53046 helo=kuhls.lan.fli4l) by fli4l.lan.fli4l with esmtp (Exim 4.86) (envelope-from ) id 1aO9ER-0001Vp-Jn; Tue, 26 Jan 2016 20:24:51 +0100 From: Bernd Kuhls To: buildroot@buildroot.org Date: Tue, 26 Jan 2016 20:24:50 +0100 Message-Id: <1453836290-29654-1-git-send-email-bernd.kuhls@t-online.de> X-Mailer: git-send-email 2.7.0.rc3 X-ID: ExTfgmZlghbbjgNqojEctzaT1PlZPtV98L6wUXK-lGTld8Qp2IrW8Bf4LywvW+TQ6q X-TOI-MSGID: 03bcdc1f-48e9-420a-9678-21d72bfa5fa8 Cc: Bernd Kuhls Subject: [Buildroot] [PATCH v2] package/mjpg-streamer: Fix musl build 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" Fixes http://autobuild.buildroot.net/results/74c/74c6006c4d7a97fa69c6feee204631861daffea9/ Signed-off-by: Bernd Kuhls --- v2: use better patch suggested by Thomas package/mjpg-streamer/0001-musl-pthread.patch | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 package/mjpg-streamer/0001-musl-pthread.patch diff --git a/package/mjpg-streamer/0001-musl-pthread.patch b/package/mjpg-streamer/0001-musl-pthread.patch new file mode 100644 index 0000000..9e76e76 --- /dev/null +++ b/package/mjpg-streamer/0001-musl-pthread.patch @@ -0,0 +1,18 @@ +Fix musl build + +Patch written by Thomas Petazzoni: +http://patchwork.ozlabs.org/patch/572309/ + +Signed-off-by: Bernd Kuhls + +diff -uNr mjpg-streamer-bbf32fddfd02a9e072e89e83a5b33e6ca0a7bd4b.org/plugins/input.h mjpg-streamer-bbf32fddfd02a9e072e89e83a5b33e6ca0a7bd4b/plugins/input.h +--- mjpg-streamer-bbf32fddfd02a9e072e89e83a5b33e6ca0a7bd4b.org/plugins/input.h 2015-11-09 15:56:47.000000000 +0100 ++++ mjpg-streamer-bbf32fddfd02a9e072e89e83a5b33e6ca0a7bd4b/plugins/input.h 2016-01-26 20:19:05.884349502 +0100 +@@ -20,6 +20,7 @@ + # # + *******************************************************************************/ + ++#include + #include + #include "../mjpg_streamer.h" + #define INPUT_PLUGIN_PREFIX " i: "