From nobody Fri Jul 12 16:17:16 2024 X-Original-To: dev-commits-ports-main@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 4WLGvc6VVBz5QkkL; Fri, 12 Jul 2024 16:17:16 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WLGvc5wP5z4RCh; Fri, 12 Jul 2024 16:17:16 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1720801036; 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=JidJlw78k9N3i14hQyAmTkHZ6Xv+Zrg988dxDUFVn/U=; b=tL6KpJTG0BCwhPfad/+2VjOru2k9E2WZzyiB/LBl02CpAWKUYBkAwpIUbKz4nmiDwkwQ3r FDvTh2739IQnnjkQoiXCZDilAgx0sQvnBmWOzGja5mTtvLtlhtudWiMNcB8p0dCDwwujq7 Dc/nv9wGS+w7JngAZcjs7XbbtcZ93ayN/DWvzzgH6oaXM8lfWy+UMHB6X+M9wxOVXttonJ BxnkG47yZhVKpdQ6cMEQli3dW0yj0uNmCPncNH5EalV3j7enA986JCO/dakkSk6ccGmSe+ Wb2IibNw1AMme1lJuGGFLdxzCqhRE4NDpwZD94WcMRN9tYKInZ3TT/fC6rtvGA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1720801036; a=rsa-sha256; cv=none; b=GQr99R0kniIiZbCZa6Q7OEjHm8+vof0I5GklMjzHtadpJF/t+6JNQHGXQ+w7zXHkhJ+EIP Z3/1XhRG9/N00FNbrHBlgYVlmCw1doXfmc0wm704MSV1yoJe+YUFukVczh1ZZrxIe8iXnx RlBeVuR08hUD1tZxVFCnYk/YS9whEEIpb1NkPng5kPqbzFZCx2/Vsf7Al7/kdXwXDfiwu3 F24AxpLK5AYuUorc12BFYvr8F9A2qSOuxBJXSx8JhHGP9kOdHnZ2Ty/wcn5SIylYtvnC5o 2PksSq4qwPdRSHAJ7hvb8ZYVlO9xgjLutgzc23zmw9uhILBDqSbsPw/Xi80Cug== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1720801036; 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=JidJlw78k9N3i14hQyAmTkHZ6Xv+Zrg988dxDUFVn/U=; b=BQ/2Q/6wa6ZldTtZqACc4XfrLt8IpgGLKbCP9iKBsdXgRGRFDgjbpSuO7/MhuE7xWmtf5O 4isz77v8DDEUjqzicU/Zx7xi8TDBuvjJzm2VZSWuLahDIc1DEaw/i9byLW2vPpLJh8OmFX RawJWD+EiDbcm5DKwayg3KP8jWcznZndxoRU5yYUhwgpe00otRIlwkVrqJwYWECvU74s7i Xmk/xXileUwFGmeCHPkftHcv9wNweN6CaJXGPAcCj3GqrV6QQS+N6Zm8SYMUoaPDlDQqEr r+xlvuWLXenTKpWifm9K6Mku211plmKmkIOjpwKZyc0TEZuXJtjRxQLJihraVw== 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 4WLGvc5NjjzqRw; Fri, 12 Jul 2024 16:17:16 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 46CGHGsW087247; Fri, 12 Jul 2024 16:17:16 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 46CGHGni087244; Fri, 12 Jul 2024 16:17:16 GMT (envelope-from git) Date: Fri, 12 Jul 2024 16:17:16 GMT Message-Id: <202407121617.46CGHGni087244@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Roman Bogorodskiy Subject: git: 2b8253d764cc - main - sysutils/osinfo-db: fix build with newer libxml2 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: novel X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 2b8253d764cc16cf584d86b4c27966717b212a9f Auto-Submitted: auto-generated The branch main has been updated by novel: URL: https://cgit.FreeBSD.org/ports/commit/?id=2b8253d764cc16cf584d86b4c27966717b212a9f commit 2b8253d764cc16cf584d86b4c27966717b212a9f Author: Roman Bogorodskiy AuthorDate: 2024-06-29 18:04:23 +0000 Commit: Roman Bogorodskiy CommitDate: 2024-07-12 16:12:12 +0000 sysutils/osinfo-db: fix build with newer libxml2 PR: 279957 Reported by: diizzy --- .../files/patch-tools_osinfo-db-validate.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/sysutils/osinfo-db-tools/files/patch-tools_osinfo-db-validate.c b/sysutils/osinfo-db-tools/files/patch-tools_osinfo-db-validate.c new file mode 100644 index 000000000000..ef943afbfb6a --- /dev/null +++ b/sysutils/osinfo-db-tools/files/patch-tools_osinfo-db-validate.c @@ -0,0 +1,15 @@ +--- tools/osinfo-db-validate.c.orig 2023-10-27 14:08:20 UTC ++++ tools/osinfo-db-validate.c +@@ -35,7 +35,12 @@ static void validate_structured_error_nop(void *userDa + } + + static void validate_structured_error_nop(void *userData G_GNUC_UNUSED, ++#if LIBXML_VERSION >= 21200 ++ const xmlError *error G_GNUC_UNUSED) ++#else + xmlErrorPtr error G_GNUC_UNUSED) ++#endif ++ + { + if (error->file) + g_printerr("%s:%d %s", error->file, error->line, error->message);