From patchwork Fri Jul 5 19:52:31 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 3178 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-lj1-f198.google.com (mail-lj1-f198.google.com [209.85.208.198]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 1C57C3FA1A for ; Fri, 5 Jul 2024 21:52:42 +0200 (CEST) Received: by mail-lj1-f198.google.com with SMTP id 38308e7fff4ca-2ee90290a7asf27463351fa.3 for ; Fri, 05 Jul 2024 12:52:42 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1720209161; cv=pass; d=google.com; s=arc-20160816; b=GACRpZHElLWmxVm7wzNLuMAAZ+nOxV6FnCQEucSP3NA9ojyKlInMNeglZyfQdIhBbG CuT0DS/+x/MEcYoBWbXwzi6h8cJgWnXjQ0+u+P2P6j1+jPerafwsaWX+UDBVKS0fCvBx Jp/lf6CZbbTJuG4x971623es7vbKscUX5RrJazOi1DwYqqOrt0jljnSw1QxTtJtTcIf8 ou+sNEoQV6G0DTG4npSstepysp2DgACK3WXFgNLb4Qd8z4JjksNUGATfnPARdL/hwPX7 IQaqgBADRu8nFVIpcMZ6d1kfeTW9SFMUorv9Oy76VW87fhBS6PH5r0DYLiMW2h43RkBb q8Rw== 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:mime-version:message-id:date:subject:cc:to :from:dkim-signature; bh=1kQ1sMiqoByiaLIlnhysSmuuC+8hMMRsPigPgZ27qfE=; fh=/9dVr8/GXdTqx0BiHiXNph4EIvuxF+XfLveqUtHZHic=; b=GB8jxUScPg5wOIlsczk4aeSbihhkqMvLm9dfMoWI9df7OUvG7mYXsIkeLYCfegXKpi qlkRRgj1DNUyLaVkHHnW7fQOReiBLrgOgcztty/AZqd+y+Jczhkc7MxMcdUNJxPRMBfB 8pFlBd/yZmjw+Mb5a1btBSyOTnFZJWQEP27un4v7VhHTm3uCOq3lznriiGVkiFv6kEDW JfD+aArw8b8w+6p6xk7vpOmq1DIT+hc21PpEaKF7vPcTjB5saLrVDXZacxvE9xY8cCuC mYBmj2jBRZbYQq0K7O/QatKJfo81W65X8JoRNuMWij4ayTQ1e+PY9Z7QBc7Zw7kMN84j tNlg==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=lyoQvUkR; 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=1720209161; x=1720813961; 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:mime-version:message-id:date:subject:cc:to:from :from:to:cc:subject:date:message-id:reply-to; bh=1kQ1sMiqoByiaLIlnhysSmuuC+8hMMRsPigPgZ27qfE=; b=a3F7uQ5r0SKZdz4hMCj5xY3Thv0Qp8iwYHx93HEMRJs0QbNMQYe9ar0eRSC+XcmEEp LKSkGBTc5Ql7KnBwhZZqEJ9KFRFyDxZLb6nB1zYkWHsLrfIzpvg0YxhiCtxz9nWqheOZ E99MV9Qt8DJR0EVAM1r7lPaCBJ6j0N4iclHfM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720209161; x=1720813961; 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:mime-version :message-id:date:subject:cc:to:from:x-beenthere:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=1kQ1sMiqoByiaLIlnhysSmuuC+8hMMRsPigPgZ27qfE=; b=XLpZS7Qgnfm5zTbfoOa3dmKQvtYguGrRa46UipsJEiCv/RCVFjhlENW3hwptlbFIwK 5QPII2pvTxftEvpPek6Xf5Q0euu/GPk7EwJwnIwgJWAdQPRrpNQAQEzawdTBj7yarI/e t2ZJrndPFmXz1/kUH9ojIwOKswE4eG/kLVZR0CspIGPmjy701h2RfHfhYbuDfXXJNSaN ibNJxmIBOtwCK1tbrB9HIKL3ta9ZtGLKe2TOzVmXpCrS3xxtJHGV6fyDUDfg0J3KyaXm euM8Vu0NhpOz21F3+GLFijm+Wxmp1DpoP0P2+rRPHubGX5XtoAFuBfgpVOzQ5ZZ/DXIW hz1g== X-Forwarded-Encrypted: i=2; AJvYcCVAsN6LLA+ozosJC6Z+srHpty+sCGvteoWANPw1JfwwN35S/Tx271TqXt7w+d+Yx4cBaVPdVt7+N7RbEFLRgn31PWX6tXKoOiO43cGnqe2eQM9FZqStj4a+NRiS2A== X-Gm-Message-State: AOJu0Yyruc84QgWTgjxcqErynRxE6xDdQ5z6P4SrissQ+LdgCE7BeEev ie3HRUwa1mNvHBng0XI2WwRV+MhJ1SY5pyZLsGvAVXXrrdQZEwJ0RHfr+rQAO4l70A== X-Google-Smtp-Source: AGHT+IFsb68nmJoCo9e8YrPm4ijsDmiYNbqf6iwHyVFrBgf2IgstngogNo1pSWA94n5uoHmwTc5HvA== X-Received: by 2002:ac2:5639:0:b0:52c:e10b:cb33 with SMTP id 2adb3069b0e04-52ea06a6d0bmr4382755e87.50.1720209161114; Fri, 05 Jul 2024 12:52:41 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a19:4344:0:b0:52e:9d2f:232 with SMTP id 2adb3069b0e04-52e9f14c3d4ls1020025e87.0.-pod-prod-05-eu; Fri, 05 Jul 2024 12:52:39 -0700 (PDT) X-Received: by 2002:ac2:44d2:0:b0:52e:76f6:aa5b with SMTP id 2adb3069b0e04-52ea0621d0amr4812545e87.17.1720209159263; Fri, 05 Jul 2024 12:52:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1720209159; cv=none; d=google.com; s=arc-20160816; b=aQOSCcPERx5SB54bTxqk3pWJz4Y36iKWZ5arUSw157GiSY8uZOd0nAygcQm4yURnqZ riBY4uxH1evvu+DH5iPdthjQ3IEey7tleWh/pMJ5LzLfuPeEGCN+OwaHjOZS72F6AUAp Sz1uiS4t8Je2iOPRym8Pu8yscj/YPd/kTh2sVc5Nhs/Xsiz3NcR8+T9E9DGQFBjaiFzQ PoeepT0xBT/n6x8de/xRUmRpWCVjotGQcWGjLLtzz7R2ZBc81ewroFIgayaFZH+Tw/dN Bz8AHFK2h6UsDYRsSsMoajXmioyHhPnzZno79khPVUTqDjj7pLsmgpKm4/54GIo7ytLR PmeA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=ZTTCTK+5jiap6o8uvmoB3h/HfmM5pIhPOubfjmt0E+I=; fh=4aH47D1o6z03SLGX3S5iBqzHxVYI/WCfhxxmm+dgjk8=; b=p/yJDv6iX+9+uEFjTtrUaZsuQMlHDCybYdFLk7czxJKYdyYIbvqZAPiKPgXy9eJSye TTZeZUjptRX7PyFcqOvWBdplkkx+DL5Xg5uGTKN+amurrtBMfnC9ZYBseEbQnq1Z0N+3 rC8rLmZ60MHdCliC3OAiCSUcKj+zn13Vo7rTxo3ZtUAMCRi7UUg8mRh+ISu1uyk0EAJG TFAEdkMFObvV9ywldcWnV7+PE/CL1jZIRonlLVN6SHP80vHf9/nkddB8mJukHIOrLiJO pUbDkv3w/52WVAWo6R1eicP+rOXK5YTRXiNjluRCkeSX4La+V1L3YWNBHxHizQtX9yzA 6LlA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=lyoQvUkR; 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 2adb3069b0e04-52e934c76a6sor3996332e87.17.2024.07.05.12.52.39 for (Google Transport Security); Fri, 05 Jul 2024 12:52:39 -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-Received: by 2002:a05:6512:3256:b0:52e:73f5:b7c4 with SMTP id 2adb3069b0e04-52ea06325e9mr4706817e87.37.1720209158691; Fri, 05 Jul 2024 12:52:38 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-79-30-97-245.retail.telecomitalia.it. [79.30.97.245]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a72ab0b81b3sm709814966b.221.2024.07.05.12.52.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Jul 2024 12:52:38 -0700 (PDT) From: Dario Binacchi To: buildroot@buildroot.org Cc: linux-amarula@amarulasolutions.com, Dario Binacchi Subject: [PATCH 1/1] package/libsvgtiny: update the patches to be applied with fuzz 0 Date: Fri, 5 Jul 2024 21:52:31 +0200 Message-ID: <20240705195231.3430104-1-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 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=lyoQvUkR; 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 Content-Type: text/plain; charset="UTF-8" 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: , Commit 8f88a644ed7d6 ("support/scripts/apply-patches.sh: set the maximum fuzz factor to 0") reduced the fuzz factor. Due to this change, libsvgtiny fails to build with output: Applying 0004-Build-Include-gperf-generated-code-directly.patch using patch: patching file src/Makefile Hunk #1 FAILED at 1. 1 out of 1 hunk FAILED -- saving rejects to file src/Makefile.rej This commit refreshes the package patch on the current package version. Signed-off-by: Dario Binacchi --- ...0004-Build-Include-gperf-generated-code-directly.patch | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/package/libsvgtiny/0004-Build-Include-gperf-generated-code-directly.patch b/package/libsvgtiny/0004-Build-Include-gperf-generated-code-directly.patch index c17426ff051b..b5443e991217 100644 --- a/package/libsvgtiny/0004-Build-Include-gperf-generated-code-directly.patch +++ b/package/libsvgtiny/0004-Build-Include-gperf-generated-code-directly.patch @@ -11,6 +11,8 @@ svgtiny.c instead, which is the only place its used. [Retrieved from: https://source.netsurf-browser.org/libsvgtiny.git/commit/src?id=4390f1c84e8fee51fc22468821e6fc158e783053] Signed-off-by: Fabrice Fontaine +[Dario: make the patch to be applied with fuzz factor 0] +Signed-off-by: Dario Binacchi --- src/Makefile | 13 +++++++------ src/colors.gperf | 8 -------- @@ -44,7 +46,7 @@ index a979720..fb8a72f 100644 + +CLEAN_ITEMS := $(DIR)autogenerated_colors.c - include $(NSBUILD)/Makefile.subdir + include build/makefiles/Makefile.subdir diff --git a/src/colors.gperf b/src/colors.gperf index 96d5b9e..a836787 100644 --- a/src/colors.gperf @@ -68,7 +70,7 @@ diff --git a/src/svgtiny.c b/src/svgtiny.c index 4661a58..bbefb88 100644 --- a/src/svgtiny.c +++ b/src/svgtiny.c -@@ -20,6 +20,9 @@ +@@ -17,6 +17,9 @@ #include "svgtiny.h" #include "svgtiny_internal.h" @@ -82,7 +84,7 @@ diff --git a/src/svgtiny_internal.h b/src/svgtiny_internal.h index 158d230..6bf5d64 100644 --- a/src/svgtiny_internal.h +++ b/src/svgtiny_internal.h -@@ -102,9 +102,4 @@ void *svgtiny_list_get(struct svgtiny_list *list, +@@ -87,9 +87,4 @@ void *svgtiny_list_push(struct svgtiny_list *list); void svgtiny_list_free(struct svgtiny_list *list);