From patchwork Sun Jul 7 09:14:37 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 3187 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-ed1-f69.google.com (mail-ed1-f69.google.com [209.85.208.69]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 6EC433F102 for ; Sun, 7 Jul 2024 11:14:45 +0200 (CEST) Received: by mail-ed1-f69.google.com with SMTP id 4fb4d7f45d1cf-57a524f1f7esf1991789a12.2 for ; Sun, 07 Jul 2024 02:14:45 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1720343685; cv=pass; d=google.com; s=arc-20160816; b=IPpBoMwyw8ZGvkzu8IQUu7j1M3ZtJPDn04Tss/XEbTh0v6L9tk3VcIbjn+i1ab54Wt XZ+18SaD6hwnL14PuqqLRODgkvP0Lj9bKekFF7ZisRMGC83nQxPytKcBAkZByjDtU2F+ ITYNVpYbpGNOzQUpyHAt/vC737Qjk2o6ZI60hyrWtGATJdpcqvyWlThbDXl3DB5DpU8t 6lCBiKurd08x1otvQUwU0mGPhWNmBLCu55cPqz/9EMNyh8o9i7yaPNcP5J/WFRNTOdz4 ZqsIQUXHVbl5f0XhsSvsY3etKEsARa9OHYzin9bhHaMjT5ZE77cheJsmNK6NlKLDf5qE 2ZNQ== 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=TKpswmAMs6QLOXvZPajKV93Dvnivg7T035yqS/Fiskk=; fh=g8Hat0D5y2EaNTL2rBwcon9UELQ/uN6pqXzB0ltqi1U=; b=kSe3J+cHEpGhA4e+s2apnnAR5NN5/WdUif8blk63jT5WA+QmtBXDmlfG2CtGa2pcbt y9wtZ0sBogWcAdklYZDhbWoj2L/EgFFTMG6g/AWx2uFgFVYZmXAfW9TmcC02LtFlkYy8 d8I7z7hcWxmLR0CafkD3eRUaFsY578ux6HxE4z6luveFYESGq5EOiZO0cdMzlAApmpWN Gwj/NWxYdoy8HLklNbSNNxJHPEKCD0o/zKrdTzcBxG9GQgyHxCukfbbKtnFk6mEyeK2/ yi6tInWY3NTM+CJuoYwtx2IlCXUrEbeRVeejDE5kg3qrxhZ/0ljGhKMKVP0mypOYDoBk z1hg==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=cjtzKdhK; 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=1720343685; x=1720948485; 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=TKpswmAMs6QLOXvZPajKV93Dvnivg7T035yqS/Fiskk=; b=MALLAfUqQOAvkLjtTA1tMagEzZ3ILbsl3ssg0xZu+hN4Ee0bSOBVuDRakgiECc6o3r 4QUfoG6pQysAPnBcgVAHlOi0Yf1MFJ1Pp2ZcLQXGz0lwjv5RgtqCaN+OCEq0xTt7rXPD xmwFEOI+IMEHPRBVvDmIXyVLp6nvA25U6rd2M= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720343685; x=1720948485; 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=TKpswmAMs6QLOXvZPajKV93Dvnivg7T035yqS/Fiskk=; b=ugMICIG2cylDbkqJuC8Nr8YaM2q+DhGco09okxqhQt+AcUCNY5dPaf1/p6S4YaXzNZ wIBHTTiziD7ORwZhvDswb46WRelNF+9KdjcFTSlxf1pgFH+Ei3swDBocdhAPbpgONgyD 0L9H0cBv7xPRDo1jxGBTvN24cw1YvYNxlKlwYHA87E4/xq/yZBsLGxvMeQxcd0JmrUjI ZCINMaeog+4kejQZD6VIjrSwAlQBc4HC+C36YLCAvFX61SYzwVba/hLFt8Q7IRDYszLT tLJimeIvVAgscTvTZuW9+Hy2yhx8kmAwxD3rB1jNYeW2NTVL2+bpsN/vJmxkzTSQXF97 xMJw== X-Forwarded-Encrypted: i=2; AJvYcCXIPp7XrR4z+h0EtvEpeP6YFDah+10H+IMZlfBWy8HK2UVkM33EtYlLqf0fBiJLysdhG/mtYPqfruJPukPXaEHfEST3l3heIExubSX6NR1OK41cTpUm8VGCSKZjqA== X-Gm-Message-State: AOJu0YwNUvZkxvoYhRNNlD4HD7x/JU3Cr61W0KLp4SldsHX5KgAssn+4 FF/+Xd1T48oEARxs020UlhTwB46K2RzAB89dYtyjMhhj7MuGaR7JHDT/y8VeLtEsJw== X-Google-Smtp-Source: AGHT+IEMWRuXESjpSINuajHLscZbC2lgkuE+3VUBzAekfWT3dParDBAePZhYiUAJjH0fQCAgz5okhw== X-Received: by 2002:a05:6402:42c4:b0:58c:eee0:48ec with SMTP id 4fb4d7f45d1cf-58e5c72ffd7mr6333247a12.26.1720343684920; Sun, 07 Jul 2024 02:14:44 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6402:1c0b:b0:584:b54c:52ad with SMTP id 4fb4d7f45d1cf-58e246fa45fls1321464a12.1.-pod-prod-07-eu; Sun, 07 Jul 2024 02:14:43 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCWd3yEwglw8FHWr7B0MTTJodk0ZjabHAwZwelpRM4cpv+93h56r9T5vxTAgSwS9rJOykpLhiuesG8+i+PBvnA4nIocBXjIQmChhNLtujBMUe5Lx X-Received: by 2002:a17:906:80d0:b0:a77:cd4f:e4ee with SMTP id a640c23a62f3a-a77cd4fe8a1mr355422366b.69.1720343683292; Sun, 07 Jul 2024 02:14:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1720343683; cv=none; d=google.com; s=arc-20160816; b=RtPZKp08IXcGSXyUrHiGMbde/PF9xuAv/q++I8Y+/v6CfWrjujb8RuakWcUlRIijz2 MJ0mUR9OtVG1ImaRbUGvPryCk58t5vfaCYSju+JybOEKSaPqMnOHdmdMCd02OW4twxuH bYkdLouckQ7U/It8Tmw71fQQDpHBUkzCr/pCkpXyyEJ00sMVBnayF25w2NaUZlCIObCu q3FBuEAAaVwq6dH5DFveRtxh5RrLiV/YDDnUHY4wItRRrS98AoOBXgHi28+3/33RWz+T 2ONbNiqnyNKGvFhHowf6TlpgHjLb2SWtR55N2zPHhQMBQaQHHgO9Fkdyjcl/6jbKm8+N UzrQ== 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=wGO/LY+BUNgjE9UyciMiGayki7uqfYqFlnPy+kk4tlg=; fh=gs3Ji+hrPzlR6HwiSWJGqNkhli0LNOQNJKoIXjAtYJA=; b=fAfC4WE/4SXPJVS15kp0yXhM1H9u0ufMixC/ALMl/GL5hH44DX+eGh2Jsrwb9lY0fF MJWE2Lw4Gde+TkvHOYaIDVF5VxsaYAkzZmVRrw+/D0us/gibj6gmJuNUb6Km6tidx6Rk BsCN1eMn7Y0yx1NtXlMpwPSQxSFYlGn+pxZxb1d7w+Ku/tkTBkGbZiC/XC7Bz9l4DIm3 fh9oJbX70SHsATQSTOtkrI5rfbmkHZHJcRV4h61abeKWXg6Ekv5Wvf2ezid6zqsnGVZl BiqUPdRrVSa1D1kvAA6aqU7wzMD1ALFHvnJ3HnOrAgupreH2nB67l10BEDA1Ds/G90n5 qN0g==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=cjtzKdhK; 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 a640c23a62f3a-a77c7d4a21esor129288666b.9.2024.07.07.02.14.43 for (Google Transport Security); Sun, 07 Jul 2024 02:14:43 -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; AJvYcCWq1SqIPgccNMEB+0PylT0BIZNO137+Tap9mu/1uClK8AANzFgJY6oURql+hWSSwwLC1XZpifmm59oVeqkZ5YAjN6/bc94UHnLVIzjwlYMSLSKM X-Received: by 2002:a17:906:adc7:b0:a77:c7d7:5ece with SMTP id a640c23a62f3a-a77c7d76168mr373316466b.35.1720343682715; Sun, 07 Jul 2024 02:14:42 -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-a77e8d4aee5sm91456966b.221.2024.07.07.02.14.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 07 Jul 2024 02:14:42 -0700 (PDT) From: Dario Binacchi To: buildroot@buildroot.org Cc: Sergio Prado , linux-amarula@amarulasolutions.com, Dario Binacchi Subject: [PATCH 1/1] package/libgdiplus: update the patches to be applied with fuzz 0 Date: Sun, 7 Jul 2024 11:14:37 +0200 Message-ID: <20240707091437.3872260-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=cjtzKdhK; 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, libgdiplus fails to build with output: Applying 0001-Build-unit-tests-only-when-enable-unit-tests-is-pass.patch using patch: patching file Makefile.am patching file configure.ac Hunk #1 FAILED at 39. 1 out of 1 hunk FAILED -- saving rejects to file configure.ac.rej This commit refreshes the package patch on the current package version. Signed-off-by: Dario Binacchi --- ...ild-unit-tests-only-when-enable-unit-tests-is-pass.patch | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/package/libgdiplus/0001-Build-unit-tests-only-when-enable-unit-tests-is-pass.patch b/package/libgdiplus/0001-Build-unit-tests-only-when-enable-unit-tests-is-pass.patch index 33746872ac0d..0ac5ecaad03f 100644 --- a/package/libgdiplus/0001-Build-unit-tests-only-when-enable-unit-tests-is-pass.patch +++ b/package/libgdiplus/0001-Build-unit-tests-only-when-enable-unit-tests-is-pass.patch @@ -11,6 +11,8 @@ So let's disable the build of unit tests by default and introduce Signed-off-by: Sergio Prado Upstream: https://github.com/mono/libgdiplus/pull/701 +[Dario: make the patch to be applied with fuzz factor 0] +Signed-off-by: Dario Binacchi --- Makefile.am | 8 ++++++-- configure.ac | 4 ++++ @@ -38,8 +40,8 @@ diff --git a/configure.ac b/configure.ac index 098fd0a664bd..c126ff091e58 100644 --- a/configure.ac +++ b/configure.ac -@@ -39,6 +39,10 @@ if test $warnaserror = "yes"; then - GDIPLUS_CFLAGS="$GDIPLUS_CFLAGS -Werror -Wno-unknown-warning-option -Wno-clobbered -Wno-typedef-redefinition" +@@ -47,6 +47,10 @@ + GDIPLUS_CFLAGS="$GDIPLUS_CFLAGS -Werror -Wno-unknown-warning-option -Wno-clobbered" fi +AC_ARG_ENABLE(unittests, AS_HELP_STRING([--enable-unittests],[Enable building unit tests.]),[unittests=yes],[unittests=no])