From nobody Fri Apr 07 20:47:24 2023 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 4PtVmY05k3z448wN; Fri, 7 Apr 2023 20:47:25 +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 4PtVmX6XqXz4JRQ; Fri, 7 Apr 2023 20:47:24 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1680900444; 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=zFO1ViJWlTPqSxS0oOynS5KGcf7747h9sxEc31YLmok=; b=B0FOt4f3lhib71RcnVnZHEmjNEq+koqwPjy8nabirzawtZnCcsQ0gLiyr9OZZtZ48Eu9yp quENPx8HUoLv+UsLpGSaOlx6xVEm4PfGjZb/np4u0DgjXf09OJ75sI0Y8IqWc8sOpgkgmo GsTiQfvNJ67iSRJuvaducAqqFgISQXWLycQk2tZeRc5TEhhmUuDkix59AjkADhXIcJmCsB UJ4F96br0TgtzlABOGOI8IqY1zDn1omMuqS7sbcxPLgONSgXm8Y3dYHTle8/0mLjuQjSkV ErUxAPNF0e3UY32z+3VtAGX2gv4d6MaD089857RgikEC9CJMxHewDb5r+80UIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1680900444; 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=zFO1ViJWlTPqSxS0oOynS5KGcf7747h9sxEc31YLmok=; b=PvJa84GNKVsPiElP+q2DHVqttGNwZkDxD9N0imhx18z2eZS/l9oQJphD+x39EC4Kr+ALso G4kW/t7jrd7025fwQ9X0uyBMi0i84QR0IEnKJEiCLhS+kkMP1URHfb2y01JEiDcRvLJJms ZomvPkqilhY51YgajGdgHoHIabYtRshhNJDcyzGGw2U1kzLa5r1EToQr34F4BeZ5vXFS3j 72twsmCXNC43haCZa90MPzdEg2d8YK5IxPbC+TU66U+PVwJjLMpxElRpUecJE3tcTO1c/N do5C2XymgQ+aJ6hhIe/c86yCt1Visi4kawyE6QThUUSlQQl2+Z7mGT8crXRSPQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1680900444; a=rsa-sha256; cv=none; b=f34t8GAOMJKfyUR3hlK5YrLuGx9XOd3y+0JhPpQMMGX+NVQCpy05qf/72sowAJUX3AO1Ut 9H5l0HSnlho3kESbs70vV38KjA5FnB8tL/ukMxe0lUm1ZyHmrN2PIQ8EXkHch34hwl5mSB F6sUc3wCvsjRI4XvVXAvHvPQltHB2Ys4e+23nr8IwNsjf14gkohYWo3LilH9n8eeEJidrh RabMg0XwFo0VxV1gndiuuKCEaofSo1NWE8Of8cKx87HdqQXRXnfWJXu9HfPnkIr2xG7FSY sBoUykwpnvJdtLP0EyDeC5FxbcgHbnoxnih7BOcdj9IOau6FUWHlpMeumh+edQ== 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 4PtVmX5NXZz10Wc; Fri, 7 Apr 2023 20:47:24 +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 337KlOhi046665; Fri, 7 Apr 2023 20:47:24 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 337KlO0u046664; Fri, 7 Apr 2023 20:47:24 GMT (envelope-from git) Date: Fri, 7 Apr 2023 20:47:24 GMT Message-Id: <202304072047.337KlO0u046664@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: =?utf-8?Q?Stefan=20E=C3=9Fer?= Subject: git: fcebb835c84b - main - graphics/piglit: fix build 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: se X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: fcebb835c84b0308e80c6590f834fa1af3b2d656 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by se: URL: https://cgit.FreeBSD.org/ports/commit/?id=fcebb835c84b0308e80c6590f834fa1af3b2d656 commit fcebb835c84b0308e80c6590f834fa1af3b2d656 Author: Stefan Eßer AuthorDate: 2023-04-07 20:40:07 +0000 Commit: Stefan Eßer CommitDate: 2023-04-07 20:40:07 +0000 graphics/piglit: fix build Include libgen.h for the prototype of basename() and correct the type of a return value (0 instead of (void*)0, which probably has been accepted with a warning by a previous compiler version, but is considered an error by clang-15 in -CURRENT). Reported by: pkg-fallout --- ...l__chromium__sync__control_egl__chromium__sync__control.c | 12 ++++++++++++ .../files/patch-tests_spec_ext__external__objects_vk.c | 11 +++++++++++ graphics/piglit/files/patch-tests_util_piglit-framework-gl.c | 12 ++++++++++++ 3 files changed, 35 insertions(+) diff --git a/graphics/piglit/files/patch-tests_egl_spec_egl__chromium__sync__control_egl__chromium__sync__control.c b/graphics/piglit/files/patch-tests_egl_spec_egl__chromium__sync__control_egl__chromium__sync__control.c new file mode 100644 index 000000000000..7a0654be066d --- /dev/null +++ b/graphics/piglit/files/patch-tests_egl_spec_egl__chromium__sync__control_egl__chromium__sync__control.c @@ -0,0 +1,12 @@ +--- tests/egl/spec/egl_chromium_sync_control/egl_chromium_sync_control.c.orig 2020-09-09 08:57:32 UTC ++++ tests/egl/spec/egl_chromium_sync_control/egl_chromium_sync_control.c +@@ -35,6 +35,9 @@ + #include + #include + #include ++#ifdef __FreeBSD__ ++#include /* For basename(3) */ ++#endif + + #include "piglit-util-egl.h" + #include "piglit-util-gl.h" diff --git a/graphics/piglit/files/patch-tests_spec_ext__external__objects_vk.c b/graphics/piglit/files/patch-tests_spec_ext__external__objects_vk.c new file mode 100644 index 000000000000..66ba84af02b2 --- /dev/null +++ b/graphics/piglit/files/patch-tests_spec_ext__external__objects_vk.c @@ -0,0 +1,11 @@ +--- tests/spec/ext_external_objects/vk.c.orig 2020-09-09 08:57:32 UTC ++++ tests/spec/ext_external_objects/vk.c +@@ -336,7 +336,7 @@ get_aspect_from_depth_format(VkFormat depth_format) + default: + break; + } +- return VK_NULL_HANDLE; ++ return VK_IMAGE_ASPECT_NONE; + } + + static VkPipelineStageFlags diff --git a/graphics/piglit/files/patch-tests_util_piglit-framework-gl.c b/graphics/piglit/files/patch-tests_util_piglit-framework-gl.c new file mode 100644 index 000000000000..eee43fbb89dd --- /dev/null +++ b/graphics/piglit/files/patch-tests_util_piglit-framework-gl.c @@ -0,0 +1,12 @@ +--- tests/util/piglit-framework-gl.c.orig 2020-09-09 08:57:32 UTC ++++ tests/util/piglit-framework-gl.c +@@ -27,6 +27,9 @@ + #include + #include + #include ++#ifdef __FreeBSD__ ++#include /* For basename(3) */ ++#endif + + #include "piglit-util-gl.h" + #include "piglit-framework-gl/piglit_gl_framework.h"