From nobody Sun Feb 19 22:28:59 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 4PKgFR2hX4z3s7TL; Sun, 19 Feb 2023 22:28:59 +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 4PKgFR1dLyz4KtS; Sun, 19 Feb 2023 22:28:59 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676845739; 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=JOFtyz8Wc8DDNLlWiRKseepWXGbqO5Md2aPtTUObir4=; b=crKdOPOXHAIDZRDacLOWb+l9JzkqWxW03jmVIb2yPbyM81fqCWQ96ZdA92HBk+8U5fFrtt djVwePi20nCVnjmt6qpp3JEtL+fSATMe/qV7DRPEq0zfQN6N1Gl2baIn0Ibjg6ocJgw7DU 7l9wps9CnMK1D6z+EyMRJJGU5mwTxSaYwjDUXLtY2anbuMQ5v6Hp3k6QDAyFAfFyOiTz9m hB4Joip9aoDjTlzYJyq0PCgVRlgqjRBkDKdireN8WwhqzW71hlNBA5t6iZuNM2ifOWa3BR ztlusTi1sNbwZCILq1+ySbJOXt5lmSEWAVdcNKyltZ30hlgJdSdYsfeVTlRVOQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676845739; 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=JOFtyz8Wc8DDNLlWiRKseepWXGbqO5Md2aPtTUObir4=; b=RbVSAYQxMg6mUMy491//WmkSaP0KdW/r0I9dF4woUc+6Nfqlh/xTqGSvgiDnWo9+G7Yic5 fFqeyarvy/s6PlgjiJ3UNRRkiChP6teFC5OxGKgRGZJh5TofNX7RXCvDsSDMbcn9WPCGa0 MF2VwBIYf0WJS0r/Ov+WoiZlQKssf4RDzOVs3GBpclw1s1Mm2BuvLBnN8DTEdFAECSKB6K 2E7U/O4ktLJfLIY0WgJk1giCOqVOqFwVtBcUd9IQRaT2ruUxv29/WeQ0RLhXRP2D8RCgJY iPuAX/cumY1V3fpauquVJ5NvZI3efRrlSNd1Zv4S6o4ZVSLOR7F5hZSppSr3cg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1676845739; a=rsa-sha256; cv=none; b=xON2L7R9mj9wslWJFgMIyRAWwlwfnf8STjJ6Zm5VZaBS5s6xk6UFzDss6BXS95GCf9BzjU F4ySSlq2rETEx5NPIYafp4MNkmgfVZGKe3tHyPa7ymXAAhCyAZPCKL83rm+wOZlPfgiTYy YzDHzxdJs1MoYE6U35AVk7zZx5IRyZVkLvTSVd6Xi7Lu5H3sM3uaOrR4izsgnA3diZF9FF es8Sr5KxhSpmnGy3dy+KQKdias76qJEvTc7h7JsXfrEfbNuchhbOkaCZgm+aBbHRJqtWSz gFJw6F6Kr9INdGYyIXvtDgXT2YHXduMuq8SEHuYDcWJOdxrk2ywDfUIG64G5CA== 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 4PKgFR0f97zJcL; Sun, 19 Feb 2023 22:28:59 +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 31JMSxhu022917; Sun, 19 Feb 2023 22:28:59 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 31JMSxVh022916; Sun, 19 Feb 2023 22:28:59 GMT (envelope-from git) Date: Sun, 19 Feb 2023 22:28:59 GMT Message-Id: <202302192228.31JMSxVh022916@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Piotr Kubaj Subject: git: 7c57122016f0 - main - java/openjdk8: fix build on powerpc64* 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: pkubaj X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 7c57122016f08708b9329c308775dbaffd916338 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=7c57122016f08708b9329c308775dbaffd916338 commit 7c57122016f08708b9329c308775dbaffd916338 Author: Piotr Kubaj AuthorDate: 2023-02-18 23:46:02 +0000 Commit: Piotr Kubaj CommitDate: 2023-02-19 22:28:58 +0000 java/openjdk8: fix build on powerpc64* with clang 15 /wrkdirs/usr/ports/java/openjdk8/work/jdk8u-jdk8u362-b09.1/hotspot/agent/src/os/bsd/symtab.c:266:14: warning: call to undeclared function 'find_section_by_name'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] opd_sect = find_section_by_name(".opd", fd, &ehdr, scn_cache); ^ /wrkdirs/usr/ports/java/openjdk8/work/jdk8u-jdk8u362-b09.1/hotspot/agent/src/os/bsd/symtab.c:266:12: error: incompatible integer to pointer conversion assigning to 'struct elf_section *' from 'int' [-Wint-conversion] opd_sect = find_section_by_name(".opd", fd, &ehdr, scn_cache); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Bump PORTREVISION because the issue actually existed with previous clang versions, but didn't cause an error. find_section_by_name() is copied from Linux's symtab.c. --- java/openjdk8/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/java/openjdk8/Makefile b/java/openjdk8/Makefile index d80e69619d3b..64b0e1da605e 100644 --- a/java/openjdk8/Makefile +++ b/java/openjdk8/Makefile @@ -1,5 +1,6 @@ PORTNAME= openjdk PORTVERSION= ${JDK_MAJOR_VERSION}.${JDK_UPDATE_VERSION}.${JDK_BUILD_NUMBER}.${BSD_JDK_VERSION} +PORTREVISION= 1 CATEGORIES= java devel MASTER_SITES= LOCAL/jkim:jtreg PKGNAMESUFFIX?= ${JDK_MAJOR_VERSION}