From nobody Sat Jun 24 18:10:10 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 4QpMb63DkCz4hnKf; Sat, 24 Jun 2023 18:10:10 +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 4QpMb62h2qz3rxH; Sat, 24 Jun 2023 18:10:10 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687630210; 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=qeFnGCqrPkkKWZ7Pvd3IY3jbj3JRycfVEcYrSfi51/A=; b=SO40GaHGJyNMFsU7wPNvkNJXY09PmrP9z+wj2Wxxdyru7hKrSVMgXjD5LgpX+GoCOkY+GU UzqxH1BMCImdQeN9HjvwLR0iRD9skcnjiHJRRrab7ol4/U41n2r5e4Ftl6kqOwcBOnfVmp 13dlvNg2vxRHNYcEU2v2rI5bEFYWxwjen4MrPwldmkckYwwfBzHuXY3DNpIz24O3kva6dk 6Lq4luNkM4h2us++r8qMUJ+PvtBZGsYWpj8xbp+8psqlWDaRPm+Tdk0YwXAjYVDFHja+ts uDb4zSG4UF43i3X6SVVAFicg0dmB2eAlcazb1dyw1hg0RUCxKUVwqCT6QDN9gQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687630210; 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=qeFnGCqrPkkKWZ7Pvd3IY3jbj3JRycfVEcYrSfi51/A=; b=ooHezHYGHItECS5+0ZuOiz3uM2Y1n2oShXjXozPUMGIBfKyt7cKhO/o1+0QDQouxP5q+LN 1g3v+3HW8iO7K7Zlo1qxGzLbvWTgwejzwcY9350oauympIPugrPxTBlidhG2KFZNk9p1EI cVHujXYMSypSORyCQM7D21Qai9VRcS9Vies9dvnPgORWPqTM+lzDRu+5r6wUmfoHYCUKh8 1pTaZbp+7cIwOETMvt7qtQz2Sju4e0mlYPHOGDLcfkgGTNtPmgS9WGL7Q4kNNUyFRlWWto EU9AW5fCkg5+TgjbVhsgY3R4ikUtYZsEejSgL7rGhn76/CYsw/7+Prdb5SMzYw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1687630210; a=rsa-sha256; cv=none; b=FuAI3QkSpVtdBufT6Nif9efIIj8qFNtZfk0wH2SRHEoeyi2fnTmERMDw04/1n+HeFaMSvN 77FbMehUk/7A2qqtnyjFoiChfvAAOhvkY6Mkxd1SGmgdXIuoXIFixGTieJZV59dzsDNOBg 2JbofjUHcwM5EM1Te0ECLkgZMBZudE4J+GBHlFMTWqT9a8anknjIfZ1jH3RV76BGPbNljW qhM/1oHDMXUG8eIiLnXydafZbgK5qbnTLsQc5/atBd9JR1IKXiV8Fe9UVOeMj5kJCwZGIu wS99+DoSVHzJTmCAF2oTTnLunhlDdD/BL9NjXSeYL7Dx4lrHWWPjVeB+oxF9+w== 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 4QpMb61mmCzwKV; Sat, 24 Jun 2023 18:10:10 +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 35OIAAAQ014586; Sat, 24 Jun 2023 18:10:10 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 35OIAAf5014582; Sat, 24 Jun 2023 18:10:10 GMT (envelope-from git) Date: Sat, 24 Jun 2023 18:10:10 GMT Message-Id: <202306241810.35OIAAf5014582@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: 98190413142c - main - multimedia/py-librtmp: Fix build with llvm16 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: 98190413142cb7dc137d5f91ae51f4d50e362605 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=98190413142cb7dc137d5f91ae51f4d50e362605 commit 98190413142cb7dc137d5f91ae51f4d50e362605 Author: Muhammad Moinur Rahman AuthorDate: 2023-06-24 17:13:44 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-06-24 18:10:01 +0000 multimedia/py-librtmp: Fix build with llvm16 - Utilize USES=localbase Sponsored by: The FreeBSD Foundation --- multimedia/py-librtmp/Makefile | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/multimedia/py-librtmp/Makefile b/multimedia/py-librtmp/Makefile index e15c9f998481..214f43b64249 100644 --- a/multimedia/py-librtmp/Makefile +++ b/multimedia/py-librtmp/Makefile @@ -16,12 +16,15 @@ LIB_DEPENDS= librtmp.so:multimedia/librtmp BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=0:devel/py-cffi@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=0:devel/py-cffi@${PY_FLAVOR} -CFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib - -USES= python:3.6+ +USES= python:3.6+ localbase:ldflags USE_PYTHON= autoplist distutils +.include + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +CFLAGS+= -Wno-error=incompatible-function-pointer-types +.endif + post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/librtmp/_librtmp*.so