From nobody Mon Jul 24 12:52:52 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 4R8g7901dDz4np4J; Mon, 24 Jul 2023 12:52:53 +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 4R8g786KjKz3pCc; Mon, 24 Jul 2023 12:52:52 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690203172; 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=EhnVa6ttOlaMJhkl09aQgTlJirFrJsG0ZIf5+XH2xGU=; b=kJX0+VkQZoKnb1js0jU6zKsU/vfFdzEhB/TFEmBlFMsZATTjenUY0LyivuKi3WzERStnWI oTnswxm/Q+OVOc29ATvMnIX+0XlGrzwvrKYsdfS4glTixR21YWGDESh1lqQTntr2KdPlVT 6n2+ThSEwd21G/uBogqLqt8JPBofLnZcDEVgX84LqgYc6397JvEs83dsxQz1Kxn9CUQZuX 49m0C4lwk4eCA3IUXr/I/pFJN2gtn2XJkpw8InrhUPVdSDHGXqNzqVFfk5W1z37YNDE0NC 4m/8CGgv/JXpwfc4YBC+o6atMnJ2VfaTpOGlx+zSsIONF3FYb+Oz58oeQ0RW5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690203172; 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=EhnVa6ttOlaMJhkl09aQgTlJirFrJsG0ZIf5+XH2xGU=; b=ExkIO/gOf64uOjfYHZ3KxlxC9MgI1f822c+s0OCFyZVT2B+XKFjboilZovFrIYgOXDMye5 5/4k6zTZWvbC42AAJ39QYfy6CgYc1090q0nVEyTtBxMoiG3sjIcaeTyxT2opayM4Q+kk1F +08BrptDeRUk4kkH23gCvlkQcmCf6rGOqQGRz9wgSZh3SWScqpcw0mnt+YmXK5pAxweyqg s4wgFyMkFCw7KIWYAWu7AkR9wqKJzEWL4GGAXV2rf7YKIXK7UKlIzDl97GGx+1BCBAB2It ZPMwqqi53AcvTW8XEwofxLs4B0Hg1uR5gEVMVnONI58NktB2mlPEf1CrKHnKUw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1690203172; a=rsa-sha256; cv=none; b=Zsh45ngYEE3urdsp7r4Ws8aljWGF/mEc/2HGx6OnnIcrYZPCAMykhZA/WycSSRLYtEldMK EOBafaxe3dTBG1EJtZ9USX9V1LnaP4TM9c2DdW8y61WxGEPfaSs8hzqsskjiNuHU3ebEha J65wfECSWQKwcLuDLzoVCLarhlUD7GIVR7W6sziyghCf0kpW/7C0sNNtAh2/tdj9AQC8fU NjAmlwy0f0vRrdJIV8+qwBz4kVaEU1wq5cvo1ZozBovH5MR4Aygyoa/63a0wx7F2dpCXsh JENMvRmhECZUBDSzQbk5EI1LmrDYNzCU5AT5eS1ltV1uVdaXFiN57hnzfHaH9g== 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 4R8g785QqKzJ6b; Mon, 24 Jul 2023 12:52:52 +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 36OCqqvS097015; Mon, 24 Jul 2023 12:52:52 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 36OCqqTv097014; Mon, 24 Jul 2023 12:52:52 GMT (envelope-from git) Date: Mon, 24 Jul 2023 12:52:52 GMT Message-Id: <202307241252.36OCqqTv097014@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: 2dad9fa1b47a - main - textproc/sary: Fix build with llvm16 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: bofh X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 2dad9fa1b47a53a9d10ae3b934cb1c6f961600a8 Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=2dad9fa1b47a53a9d10ae3b934cb1c6f961600a8 commit 2dad9fa1b47a53a9d10ae3b934cb1c6f961600a8 Author: Muhammad Moinur Rahman AuthorDate: 2023-07-24 12:06:04 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-07-24 12:52:37 +0000 textproc/sary: Fix build with llvm16 - Pet portclippy Sponsored by: The FreeBSD Foundation --- textproc/sary/Makefile | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/textproc/sary/Makefile b/textproc/sary/Makefile index 615b585bcdd2..94f45315f854 100644 --- a/textproc/sary/Makefile +++ b/textproc/sary/Makefile @@ -8,20 +8,29 @@ MAINTAINER= ports@FreeBSD.org COMMENT= Suffix array library and tools, which provide fast full-text search WWW= http://sary.sourceforge.net/index.html.en -GNU_CONFIGURE= yes USES= gnome libtool pathfix pkgconfig USE_GNOME= glib20 USE_LDCONFIG= yes +GNU_CONFIGURE= yes + OPTIONS_DEFINE= DOCS +.include + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +CFLAGS+= -Wno-error=incompatible-function-pointer-types +.endif + post-patch: @${REINPLACE_CMD} -e '/^SUBDIRS/s|docs||g' ${WRKSRC}/Makefile.in post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libsary.so + +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/docs && ${FIND} . ! -name "*Makefile*" | \ ${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${STAGEDIR}${DOCSDIR} - ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libsary.so .include