From patchwork Wed May 22 07:02:23 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 3113 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-ed1-f72.google.com (mail-ed1-f72.google.com [209.85.208.72]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id AF92840F8A for ; Wed, 22 May 2024 09:02:52 +0200 (CEST) Received: by mail-ed1-f72.google.com with SMTP id 4fb4d7f45d1cf-578282c81bcsf433744a12.2 for ; Wed, 22 May 2024 00:02:52 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716361372; cv=pass; d=google.com; s=arc-20160816; b=KCQXoNyuK6/1VFdaFG2QKQotGfO9/rS+ijDt4P8NaP4hp7NqLS/h/CBytFUZolnGVF upeg2nPg700cyVGgNryHVw6K8VE3+gEfmtj1d6FF4k8vkEHj0s42bfRrLWx4Q89lVoJD BAzvAzmh/Mdguks+F+gnSNq4e8zk9l6eZzf/wyY1sAWA8YW3uyF0sJSKu0BoshO2RBlO MclzbxEx8/Xs48CeSSk5/lI1g6PUfCoFXBhaTsDYckts27mOCkxo6hYVwNwqiS2taNg/ Mt4iwpk8Fcwmxq6smoUy+TixJqMppPZGSvIwsxGyLh7rZPqFMzPGhijoCqq5xhkAEhXn Rapg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=6rTuVsXbnes5nrMJ/EgQzIvxDar6pR0JiFZLYfVhgbA=; fh=J/q+kazcs7yPGDGErDbYNKv2d7mm57yEQ/U8RJ1abDg=; b=Q2gPHO2pPhz9UEisha9cp93a3HppTfQSBnD93HaqpbDO8AOW3XJT+emDMIO6Oo2OtS kbnXxEKJWLGUCMhY0cFbbcsZhSXHURNpeiF7eDWph3vvutFL9ShqxX203+c7lrNPo37a qBFfFeoi/G2taR9COzV+wQYn5WeyhyRA7l9PTkMZsPiUnOUSPBg/CubLrgIvcHENazgW NjopCYKBO7Yo24uGJHIYQTmqnr/7IMzEFdgAGLLE90Fb6eQ76zbUZyHrPCKr5ENRJJzJ eVx+WharXpHgaAFLWcxUGK6fRgIfDJRlVOGXakqET4qOgsF94sew9o2v/ePbcF7nlzae Wruw==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=iR+By9Gj; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1716361372; x=1716966172; darn=patchwork.amarulasolutions.com; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender:content-transfer-encoding:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=6rTuVsXbnes5nrMJ/EgQzIvxDar6pR0JiFZLYfVhgbA=; b=QJ61d3jn/vdEtvzY1yYE0Bwnl8n1XJRFRb8ZY7mZh9YcIB5z9tdNiI1qxdytJskS0H KsAa0gtpD9frmiuNwkmYDPo2E+mug6g+Ja7wPqBXz61WUx5SohCJ9OFGwbMgYojvL0e9 eKOOfbCx6FEa8hjkSFcsEgVImC7cPt9WZ/ROU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716361372; x=1716966172; h=list-unsubscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-beenthere:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=6rTuVsXbnes5nrMJ/EgQzIvxDar6pR0JiFZLYfVhgbA=; b=GqCT/5jXVNqc+xD10XwgNg5JhmvijVXne7+Rcdz4OmD8VmP+G7+ivE+GYn8WYQnFuH h2wmwaXPUWXBPH3WCEtUbRW6yGg0Ad4zE0KX6Pna9EFGfsn11zrHW4ITlx5+Rc56Pu6X wkHwONfbejr80pFZts2mAjb8GewJAVtd+5cv3EUDSeu88si0+P9ePp9nsY0mXE4EWQZa D3dx/8zuhcCuCIvBNXQnJ51zIXY0Jdt4hgUgCgHaGTydKBjQIywEvJyhRfOhGQ4FtRVB PKR+rgbnutJOuLBYsXtfbfKxwHydolyn0j5hUnqgeC4zglH2uHwlikFiOMqnBYw/y3ha EZ3g== X-Forwarded-Encrypted: i=2; AJvYcCW5XB3XmCEZGIE3YXI+izusb9Wh5rc9IO0A+/41z+p0H6aT/Qov4lvmqVWLOJbjUjfEfiZJTmNwBCFhnSa0Z8iZZdJvqeAIumzd1TQrAJhcjm8PAsh3W8lTf72bng== X-Gm-Message-State: AOJu0Ywy6oDRFxE5WdHdPkwM6orP1DYJh/gy6HnFNZqcIDMJDZrejV0e 7hdmluq0AGHpSbm/AN7F8xtqJVoSrd7Jr3c/azB329sq/lkWmO5iG09UMbnKF1LQyg== X-Google-Smtp-Source: AGHT+IGitbqxpMV2cnIXvU5wF0BW7ES46RGfZXOIS0/ySt8D5Ct9Eg/TaO2vC444p1U9Wv5iAxYdAA== X-Received: by 2002:a50:8717:0:b0:574:f27a:b3ec with SMTP id 4fb4d7f45d1cf-578329fe18cmr1067706a12.16.1716361372466; Wed, 22 May 2024 00:02:52 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6402:e9d:b0:578:25bd:e528 with SMTP id 4fb4d7f45d1cf-57825bde7b9ls329139a12.1.-pod-prod-08-eu; Wed, 22 May 2024 00:02:51 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCWPtmRRqjf4Cu8KacA7bEyNnGhZp2UJTDQ4TBTGO7gnMogg8oOeM/3KF7WQQ5wRRVTM0ZJ47+JsP4mCwS6hAglhKxXAZK1oHVv/MUFU6W52Vlvx X-Received: by 2002:a50:9e25:0:b0:572:a731:dd1d with SMTP id 4fb4d7f45d1cf-57832a3e7f0mr1000712a12.25.1716361370961; Wed, 22 May 2024 00:02:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1716361370; cv=none; d=google.com; s=arc-20160816; b=T265KMb9guZHw/HaLvs+Oz7GNvpZpKB7FhgUFBAamblVPKNFGal1Np9xBaXBAwRBmw SbiaMur87xdZChrrPY3RUmdzUJlDjpYO22Mk+hbrc83iMGDbiZcG68Ha1W/4n9eUaJsM SJ0OmRHUR1frZTxJCnWH+pkYZUjrW8k8hBPIOd4TClGgc8630fsTni8PwMZxoDVCe9Yf E3X7ndMiWNFHhnPe51cDOw2RC97bbFPYFekbUxKjlbddIauoXU13EqAN9tielLHRGAzv M6KObPu8dS8wSC/ICs/B3oDnQpIB0W/ftmnI4/f6S4qIkdguOZ0TgtGWiFJdsTasTPD5 od8A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=ZC+7BN3SYtiVf8WzgBwWyUmb3uS6MMYR6Bt9YkUNYHI=; fh=w1yE32sWJVesLB8opEIOohK+ws7EGDk8MpwGVRjhabw=; b=Q0BtkQOGmJhHW65vMx3KepTVE046mXT7Ckwt65OgeXr/7Uahe7wnk6LxaJfERgHXow MdzneQz59AuewY01d37xzN3GS9FryUVS3RkUgW7TNYHoYD6ANkKrDcovBgprtrZvSt1E 3up01KujQVb1xqaaKwr61yaIz4YMAKyzUkLnMIWiTKBDFzq/cpCqmuvR57NbZy9Xsje4 /p3bP2ywkz1r9o/QaZHPBYQLVLKhLqagXKJ2DZg9WZ/9PDDp3ghZKfOCrOHNno+HLbs0 cFITI/RzJwCOGIppJRC9bV1peMppJMz2+5ZTBwI2bKcT8qDm8Gra7kK9BPdUIprdrJsZ vRDw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=iR+By9Gj; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id 4fb4d7f45d1cf-5733c238177sor7172474a12.9.2024.05.22.00.02.50 for (Google Transport Security); Wed, 22 May 2024 00:02:50 -0700 (PDT) Received-SPF: pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Forwarded-Encrypted: i=1; AJvYcCV6XUAkzpwwikDVo/pUgi0ZWFe6QGXC23RFkOx2yQvTMCmPh1KQMJGB1c6TzZs+ghXuMVVajSC9SqRgIiqz2aT0w6jksIDa8JT3BFL+FX9q0Qgb X-Received: by 2002:a05:6402:11c6:b0:578:34f8:cc04 with SMTP id 4fb4d7f45d1cf-57834f8cc0amr949552a12.4.1716361370231; Wed, 22 May 2024 00:02:50 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.amarulasolutions.com ([2.196.40.196]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-574d738c80csm12028365a12.81.2024.05.22.00.02.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 May 2024 00:02:49 -0700 (PDT) From: Dario Binacchi To: buildroot@buildroot.org Cc: "Yann E . MORIN" , Jagan Teki , Romain Naour , Fabrice Fontaine , Mahyar Koshkouei , Giulio Benetti , Michael Nosthoff , Alex Suykov , =?utf-8?b?TWljaGHFgiDFgXlzemN6?= =?utf-8?q?ek?= , Bernd Kuhls , Peter Korsgaard , Julien Corjon , Sergey Matyukevich , linux-amarula@amarulasolutions.com, michael@amarulasolutions.com, Dario Binacchi Subject: [PATCH v2 04/18] package/alsa-lib: update the patch to be applied with fuzz 0 Date: Wed, 22 May 2024 09:02:23 +0200 Message-ID: <20240522070238.3282121-5-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240522070238.3282121-1-dario.binacchi@amarulasolutions.com> References: <20240522070238.3282121-1-dario.binacchi@amarulasolutions.com> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Original-Sender: dario.binacchi@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=iR+By9Gj; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , This commit allows the package patch to be applied with fuzz factor 0. The fuzz factor specifies how many lines of the patch can be inexactly matched, so the value 0 requires all lines to be exactly matched. Signed-off-by: Dario Binacchi --- ...01-Don-t-use-fork-on-noMMU-platforms.patch | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/package/alsa-lib/0001-Don-t-use-fork-on-noMMU-platforms.patch b/package/alsa-lib/0001-Don-t-use-fork-on-noMMU-platforms.patch index 0d2b479534a0..87add9ff5666 100644 --- a/package/alsa-lib/0001-Don-t-use-fork-on-noMMU-platforms.patch +++ b/package/alsa-lib/0001-Don-t-use-fork-on-noMMU-platforms.patch @@ -1,4 +1,4 @@ -From 41c029755502acf01ed634db437ac06d09be6c41 Mon Sep 17 00:00:00 2001 +From ffc567b790005850c561f9f6590b069b61f5ba20 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Fri, 13 Apr 2018 09:02:37 +0200 Subject: [PATCH] Don't use fork() on noMMU platforms @@ -12,18 +12,21 @@ Signed-off-by: Jörg Krause Upstream: http://mailman.alsa-project.org/pipermail/alsa-devel/2018-November/141376.html [Bernd: update patch for 1.2.4 & 1.2.7] Signed-off-by: Bernd Kuhls +[Dario: make the patch to be applied with fuzz factor 0] +Signed-off-by: Dario Binacchi + --- configure.ac | 2 ++ src/pcm/pcm_direct.c | 10 +++++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac -index cce195ae..0c852434 100644 +index 7a152a4abd20..3cf88c37db56 100644 --- a/configure.ac +++ b/configure.ac -@@ -52,6 +52,8 @@ dnl Checks for library functions. - AC_CHECK_FUNCS([uselocale]) - AC_CHECK_FUNCS([eaccess]) +@@ -56,6 +56,8 @@ AC_CHECK_FUNCS([eaccess]) + dnl Enable largefile support + AC_SYS_LARGEFILE +AC_CHECK_FUNC([fork]) + @@ -31,10 +34,10 @@ index cce195ae..0c852434 100644 AC_SUBST(LIBTOOL_VERSION_INFO) diff --git a/src/pcm/pcm_direct.c b/src/pcm/pcm_direct.c -index 2b07eff9..4dc3ea26 100644 +index e53e59238119..cf94c7c1dbf0 100644 --- a/src/pcm/pcm_direct.c +++ b/src/pcm/pcm_direct.c -@@ -437,13 +437,21 @@ int snd_pcm_direct_server_create(snd_pcm_direct_t *dmix) +@@ -442,13 +442,21 @@ int snd_pcm_direct_server_create(snd_pcm_direct_t *dmix) close(dmix->server_fd); return ret; } @@ -58,5 +61,5 @@ index 2b07eff9..4dc3ea26 100644 server_job(dmix); _exit(EXIT_SUCCESS); -- -2.14.3 +2.43.0