From nobody Tue Jul 25 08:36:36 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 4R99P05Rs8z4p2L2; Tue, 25 Jul 2023 08:36:36 +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 4R99P04HZmz45xT; Tue, 25 Jul 2023 08:36:36 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690274196; 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=YpWZABIMPR2GEl/6zAdbUCcLhZcPpWLlRU5nPBd1vIY=; b=vPBYlqhOD9mOsPhoWUkT76HFgd7rvin1wf3NlK1a+8vO9NqA0bbp4pbajiCVnFfBdEcrwq jkiAgKwv1JVnwDNajLnAkdTRpML6NA6eEgY2tHmqjHPcMVYtdT7ED5j3sjd90hIrVN2dXA CKNCWWT7GIedTKevBXbZ68eT6yi6V8K3ZcZcGFkhBtxtc2zWMkr9PxHhZaRrncGsrgvNDW DiOM5/bLCn/IVxucwCsR6SxCyG29rv2UBTM733JJ6JEbFeYqz7l2n1xUhUqeD0atMCzOfj Xb1livs/FRGWavOdPPwcHaoJvxdi58ozxVSDpaBwXVUqDqsdKezeH5LFoYOB3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690274196; 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=YpWZABIMPR2GEl/6zAdbUCcLhZcPpWLlRU5nPBd1vIY=; b=f8u3teAdFj8A/BMDtTcSY+NsNDMHNM9eV2TNClIsI/sXKZzW5lMsha8S8YSYgzEUZVJ1t+ crXZDcZ67sDHg0SgoRYU6moC3HTi3K+uohK5CDCWzbAHzgSR3ng4JYGiewH+WU1p0dpqJ5 6ldTCkSGXZug1PKcWfWG430x5GpH2ESL0bshT+t3TruBqqgZeBD+aQLboAt7YH2B7pGzIC emOelZSGObvgk35xNd5efgVIradB0+rwtmvEzbD78rI2hXHL51wUcIPLxANnPiEMBWXgzy RHONwouNjq5DlTLoB0aUjJCLQko/oEfPVmwsrph83DDGcdYPLJaB5oIsV+Sx1A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1690274196; a=rsa-sha256; cv=none; b=S78LEd4yxTeSQJ4vCw5Jl7EpBqwiUNtKHCGvycrbPZaJpYV591qELS0/aEvpO1wRMvBkw1 fT7QpkZJw+c1V04xk4DIlLEmSfKOal3jqlMtdbvx9gsLHZ1HTqO2lyHRyFeKfpI7EFZMp7 Q+14d82AZ6jwiUOfu5OpnqlnRNFDrOX2/oSb/vy+kOAP9RQDXZgV7ajRhc/DK45WMlITwA S11NoIgpz7e9ni4GegOMIyHo/T63A35r1X0AKRsPBGNIVtVSmIiG3sviJA4x9Dtf/sTTya 9jl+T/11IAVvT0IFpiMPCbjBEFgfqiaU7LZPXpREYbtkkBvwvf/vw01iVQ6uiA== 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 4R99P03MLZztRN; Tue, 25 Jul 2023 08:36:36 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 36P8aaOB054029; Tue, 25 Jul 2023 08:36:36 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 36P8aaqr054028; Tue, 25 Jul 2023 08:36:36 GMT (envelope-from git) Date: Tue, 25 Jul 2023 08:36:36 GMT Message-Id: <202307250836.36P8aaqr054028@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: 2bb0c72ce579 - main - print/openprinting: 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: 2bb0c72ce57992ece2b9694065a96c9129afebe2 Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=2bb0c72ce57992ece2b9694065a96c9129afebe2 commit 2bb0c72ce57992ece2b9694065a96c9129afebe2 Author: Muhammad Moinur Rahman AuthorDate: 2023-07-24 18:43:08 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-07-25 08:36:26 +0000 print/openprinting: Fix build with llvm16 - Utilize USES=localbase - Pet portclippy Sponsored by: The FreeBSD Foundation --- print/openprinting/Makefile | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/print/openprinting/Makefile b/print/openprinting/Makefile index 1bb83f2e91e6..7efa1c41bcb0 100644 --- a/print/openprinting/Makefile +++ b/print/openprinting/Makefile @@ -10,17 +10,18 @@ MAINTAINER= ports@FreeBSD.org COMMENT= Sun's implementation of the OpenPrinting API (PAPI) WWW= http://openprinting.sourceforge.net/ -WRKSRC= ${WRKDIR}/papi-${PORTVERSION}_beta - -USES= gettext gmake iconv libtool tar:bzip2 +USES= gettext gmake iconv libtool localbase tar:bzip2 USE_LDCONFIG= yes + GNU_CONFIGURE= yes -INSTALL_TARGET= install-strip + MAKE_JOBS_UNSAFE= yes -LLD_UNSAFE= yes +INSTALL_TARGET= install-strip + +WRKSRC= ${WRKDIR}/papi-${PORTVERSION}_beta -CPPFLAGS+= -I${LOCALBASE}/include -LIBS+= -L${LOCALBASE}/lib -lintl +LIBS+= -lintl +LLD_UNSAFE= yes # TODO: Get mod_ipp to actually work; Sun's example seems to be broken # under both Apache 1.3/2.0, this could be a papi issue; does not build @@ -34,6 +35,10 @@ LIBS+= -L${LOCALBASE}/lib -lintl .include +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +CFLAGS+= -Wno-error=incompatible-function-pointer-types +.endif + # NOTE: This has only been tested with www/apache20, with integrated APR. .if defined(WITH_MOD_IPP) IGNORE= no supported apache versions available