From nobody Sun Dec 18 17:43:56 2022 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NZqvd1y4jz1GmYL; Sun, 18 Dec 2022 17:43:57 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NZqvd0gYZz4Jc3; Sun, 18 Dec 2022 17:43:57 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1671385437; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ZtComlg6QUmeOBMQfyiBj7DHSd0RXYWjvaVB7NzhG7k=; b=FSsV5QBDzn2eb5RHAhiKsfL1YMamRA0m7A5Uk1SwvJunOiUz7XVpQwa2I1Ha+PlAPF9sBX cfqdfVX59iCd8wreOhbtQw77yBY4sGHRfQk+16lOknoBOPLYGDagyqyq4Jz5I7Hl2bzSa4 XnMDR1T7tmXxTYqjyHWbcnAmgfwREBfqUYjbWrBtCjP0UK009x4XjFT9xTShbJNY/iIqXZ o9xtcfyKwKUuP00Fo+vb3YJklA2S9r2EeWHz/pB2Jh9z6flblma0URaTmnzNykvnAoDcSK Phc0yyLwe42+2gX7+o6cZDIMhEAQ7dl9KZ396v1aaoXmD4/P4pmN6umvSbneNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1671385437; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ZtComlg6QUmeOBMQfyiBj7DHSd0RXYWjvaVB7NzhG7k=; b=NP2ZQAhVG9dnDmr85Ob5nBcVpvkS34l/SOIvkAterXQqAKYiRrUwINOgVIZwjg6fnW6n4O vpQZs91Lfr5yWJ0ZvTBZY2rcjN3smT7AmGuX4QizQ5DBp8jotB5zmUWUwhH6mU5WU1gGk2 tQm2nRpPt5/PoDGFlFLy+RMYCoI9RQ4ypRIf5DNuGOXRN/YK/QPYEF5fIfMNVyIEndopjD ylUZ8+Mj6a+bEDf+dH9f+TypjhB9wn0yJcooUO3NjIvXYk6n1MyEmDxWQOSC2coWYHRUKy CK3jaaM5I3JNSX+WK6F6zlxX3FSym7n5iMJifQGmT+oUJOC9KZQTAoj8pmgZVw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1671385437; a=rsa-sha256; cv=none; b=Z32VeXKPl43P8jL3aI/l98Z6/4H411qVURGIfEkGRuR6oM2cVbhsCASRFdD6wySxgw/A5o U1HaRveBBk8PbR5pQ+yoILdQVYnvmdAs1s3HGDrmLLduaLUnDrnLqHe6FDWFtox6/OgsyJ 7TT5uf5b8sib8lJV5tJaDED/v9N5ymRX0JdpxEBttPK7M/NwSLdQCzGZ1JBUjzZmVVb6cw ioEl/FfQyeaiz9cbVilhkarZhzxRM2PNAfdhMxnye7bfwHTB1Kchq9HtWn7XTI6dbjP+kH k1HIFwS0ob3JwyYh7LhM/JtrgvgO2PVzMO9Cvy0ajwlHL5sbIB5YNl2XT+LkiA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4NZqvc6jDmzPYY; Sun, 18 Dec 2022 17:43:56 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 2BIHhuaM006602; Sun, 18 Dec 2022 17:43:56 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2BIHhuhE006601; Sun, 18 Dec 2022 17:43:56 GMT (envelope-from git) Date: Sun, 18 Dec 2022 17:43:56 GMT Message-Id: <202212181743.2BIHhuhE006601@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dimitry Andric Subject: git: b1f9d0e1db39 - main - textproc/wv: fix build with clang 15 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dim X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: b1f9d0e1db39fd59537ff549ce1d3bc808122e6d Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by dim (src committer): URL: https://cgit.FreeBSD.org/ports/commit/?id=b1f9d0e1db39fd59537ff549ce1d3bc808122e6d commit b1f9d0e1db39fd59537ff549ce1d3bc808122e6d Author: Dimitry Andric AuthorDate: 2022-12-15 20:56:48 +0000 Commit: Dimitry Andric CommitDate: 2022-12-18 17:38:29 +0000 textproc/wv: fix build with clang 15 During an exp-run for llvm 15 (see bug 265425), it turned out that textproc/wv failed to build with clang 15: wvSummary.c:104:17: error: incompatible integer to pointer conversion initializing 'const GValue *' (aka 'const struct _GValue *') with an expression of type 'int' [-Wint-conversion] GValue const *val = gsf_doc_prop_get_val (prop); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wvSummary.c:146:21: error: incompatible integer to pointer conversion initializing 'GsfDocMetaData *' (aka 'struct _GsfDocMetaData *') with an expression of type 'int' [-Wint-conversion] GsfDocMetaData *meta_data = gsf_doc_meta_data_new (); ^ ~~~~~~~~~~~~~~~~~~~~~~~~ Those functions are declared in , but that header is not included in wvSummary.c. PR: 268399 Approved by: portmgr (tcberner) MFH: 2022Q4 --- textproc/wv/files/patch-wvSummary.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/textproc/wv/files/patch-wvSummary.c b/textproc/wv/files/patch-wvSummary.c new file mode 100644 index 000000000000..7a01012de0ee --- /dev/null +++ b/textproc/wv/files/patch-wvSummary.c @@ -0,0 +1,10 @@ +--- wvSummary.c.orig 2009-09-01 08:38:31 UTC ++++ wvSummary.c +@@ -33,6 +33,7 @@ + #include + #include + #include ++#include + + #include + #include