From nobody Mon Jun 05 14:23:59 2023 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 4QZbSw0qyxz4bGf5; Mon, 5 Jun 2023 14:24:00 +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 4QZbSv71p8z420N; Mon, 5 Jun 2023 14:23:59 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685975040; 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=GWUbcnsnoqoYBTCo79JtLCqHzJTCeCYpG4lGcQ4MxnU=; b=WbFoBi+6iVDHNRVNL9jwEctWZSJQqUQAOzoPAyrQTy5tCkQMNuk5cflVvXz57op1d2P/nW h7nm0HEfUaaDbPJZQ8JeVm2QgreHkv9H7GzkIXXS+MzLYSAPd78vI9PSy/kD9VS9fXOIHg XD+GB14KHpGuRYtxK2BW3MwESYtleLjtp7Dx8nPFTpRVfXByKiHSRY1EMGa3s29cq+1ssA xJXhAGd4v67gWZ0iwOAFOceEQ++95v3IOvTW2bl1hXIn8xtF+EzpZP5EqOPWo+2jXwgA5p s/2ZsnUbaMF+qst+wJPwMmYVwr5balpHHmaHL0JARUQN3vrlPiZZ/GzDUY63CQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685975040; 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=GWUbcnsnoqoYBTCo79JtLCqHzJTCeCYpG4lGcQ4MxnU=; b=xRwdSF1COqlVHmMejw7AzZAvIW62lDTfwtk+TJ0AuP3cH70uMeUrnwhO9CDp4NdgQHVns5 yMuJn3DqAOCk2YHsCeiM+RGN/P8sOLFfuQ68gdjhRpvu8l8L2xbkjBfxoUxz0PYuSpcdIL Uyu/3gCQYTfDVYasVuP40J/nyOUWNSW0kAt0UmFain3mCSgffxOqsdAdqGIpm9TkK0r6aI NSzdwGsV0YIzxFWqvg52H7Wh8pFQtri5dnke90Nb0NB8DSrhRqBpFanSnBTqmvDk6z7zc0 YqLJUt95P6cPeI7hQpYR/8aOt/ZoYMXIpNsWkJWqZoXNRWaaFk01q+J6VFTAjQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1685975040; a=rsa-sha256; cv=none; b=pg3nI0fI8TbqrabBKmlXlwETyGKmevB251A6bE26a2IDeSwD0ib06Q6E5+k9doRRsVKzX6 OdjTmMmDA3tql3CQm75Cd0nwM5RhQwfQlzx1dipk/vKCK+Mn0Xo2rTTD11O2JqWqtaBZ76 9WhUoG12Ke1o9uORnlJ7nlNETKlVF7awtrc2Fs2vy798O6LrVDGS9zefbsVBAzNv4sQp9P Dx/toK1/Tf0gdNS1/SCE3tN+tpL/TD9Wtzi+UHRV1rM7PzTBDZLyBSeNvc8dNX5nnHfL5c A4cChvW5vriVDe3NQsiQp5PtsXhOEL80A/oZQEbLR660zgrFu2xzIsGYesbeEw== 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 4QZbSv64jFzrSp; Mon, 5 Jun 2023 14:23: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 355ENx1c000947; Mon, 5 Jun 2023 14:23:59 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 355ENxKA000946; Mon, 5 Jun 2023 14:23:59 GMT (envelope-from git) Date: Mon, 5 Jun 2023 14:23:59 GMT Message-Id: <202306051423.355ENxKA000946@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Muhammad Moinur Rahman Subject: git: 148f9e0f2cd9 - main - comms/{py-}libimobiledevice: Fix build on llvm15 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: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bofh X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 148f9e0f2cd9090ac22b2a426ee382c312ece6a6 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=148f9e0f2cd9090ac22b2a426ee382c312ece6a6 commit 148f9e0f2cd9090ac22b2a426ee382c312ece6a6 Author: Muhammad Moinur Rahman AuthorDate: 2023-06-05 14:00:13 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-06-05 14:23:45 +0000 comms/{py-}libimobiledevice: Fix build on llvm15 - While I am here utilize USES=localbase:ldflags Approved by: portmgr (blanket) --- comms/libimobiledevice/Makefile | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/comms/libimobiledevice/Makefile b/comms/libimobiledevice/Makefile index bb58a406dc91..e19006b9dadc 100644 --- a/comms/libimobiledevice/Makefile +++ b/comms/libimobiledevice/Makefile @@ -13,12 +13,10 @@ LICENSE_FILE= ${WRKSRC}/COPYING.LESSER SLAVE_PORT?= no -USES+= cpe libtool localbase pathfix pkgconfig ssl tar:bzip2 +USES+= cpe libtool localbase:ldflags pathfix pkgconfig ssl tar:bzip2 GNU_CONFIGURE= yes CONFIGURE_ARGS+=openssl_CFLAGS="-I${OPENSSLINC}" \ openssl_LIBS="-L${OPENSSLLIB} -lssl -lcrypto" -CFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib INSTALL_TARGET= install-strip .if ${SLAVE_PORT} == no @@ -46,4 +44,10 @@ post-install: .endif # ${SLAVE_PORT} == no -.include +.include + +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) +CFLAGS+= -Wno-error=int-conversion +.endif + +.include