From nobody Sat Aug 05 18:01:34 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 4RJ9Pq2L7Rz4mLql; Sat, 5 Aug 2023 18:01:35 +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 4RJ9Pp74xqz4T23; Sat, 5 Aug 2023 18:01:34 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691258495; 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=+u9LuGIyC56Gq05CNpX5aEdaI35chYHNhxYxJWXX51A=; b=r++wKGu4OP/dg9ftUmmPVC+K5fpAYT7gEI084N0+bneegL0Ghl/+FiKqmYATJLVzWf1vI7 HJSamoeqEtjo3uH+VDz5GVZCNnxmUBBr5ugNiohDedUg6U3SEn8prpyH/eUb3+JlNHfsbk xsN2eNp1FSefAnkXcX7droA82HvL+M9gVQvf8knCVXiDVaInCI1GUup23scILQpzOMP8PL AxUUPYGNIikhbbsNmuFsluiN3CgPmcWalM+ugRolUTbBCAsL+oqNVK/zvvyUkm8KwczX+Q LaGRauDqCw+u/vNy234IJPXyR5fEvLV11H5OnjiXItukfuVAfdMDXRHHujj/Fg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691258495; 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=+u9LuGIyC56Gq05CNpX5aEdaI35chYHNhxYxJWXX51A=; b=QM63OKlmDwR6nR+YQ4VwPsEWC0biIli0gqa1Bhv7doOcYRT7hejN/bQR3XwByMtolZ0RtR q3drM3RNzfGkES0l2E5thU6ODJITjGHt4AtozDJN+0flpanxNydZByQ0swAgwbdA3yMtFT 9l/lk1TNpXtgMlBdJcNRa+nSkExy0YCSwhWgy0ypiT8Qg5GnbOuIVaCVN590znw45ZRSXC JYWvmhZSgIooJO0dNbnvtdDQqYNrq2u1TOHAA/tb7hyUKw+1iCMbK3JaQOWruRRMqOvcv1 4wFP3dWdls+IoE9+g76zXdlnCHMmXHEcPy/6ltM2PKSGF17R4qae9XtsNrHzjg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1691258495; a=rsa-sha256; cv=none; b=pkG0M07zgkYzdhtPXEwcNp2vBtM48S01XkXNBPHimIlCWipQ+21ZGobaGDikAFinUZ5gh7 k4dVjoyUAbbBGjFXmdfrOEOl9x5ZN2REUorov+9tGAGObfwTTfLIo56mQUPe40jFc/yUSG JuYeO1QU9+Y6E1YXRwRTbjNn9BrZhqnpeIiW4wP9amdjMRTRkkedPvzG7RGeXTGW0BU4ZR SJiruQfJ/ynA/6BndbXQ51F2V5LunC9TEiLmRd38qYEwQu6/XRG8C38f7sCBlTUo9FgRkl eHMBdf9SDljFhvGMei6N8OKLp8OaAQqc+FKiJLMQMb1iwpIFtUNoUlnaycyTSw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4RJ9Pp6BxRzdv3; Sat, 5 Aug 2023 18:01:34 +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 375I1YOR090133; Sat, 5 Aug 2023 18:01:34 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 375I1Y5d090132; Sat, 5 Aug 2023 18:01:34 GMT (envelope-from git) Date: Sat, 5 Aug 2023 18:01:34 GMT Message-Id: <202308051801.375I1Y5d090132@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: 54fb1ff13211 - main - misc/hotkeys: 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: 54fb1ff1321110d95b825e7f2d15b3557d08574e Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=54fb1ff1321110d95b825e7f2d15b3557d08574e commit 54fb1ff1321110d95b825e7f2d15b3557d08574e Author: Muhammad Moinur Rahman AuthorDate: 2023-08-05 15:08:19 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-08-05 18:01:11 +0000 misc/hotkeys: Fix build with llvm16 - Pet portclippy Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- misc/hotkeys/Makefile | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/misc/hotkeys/Makefile b/misc/hotkeys/Makefile index b0556e23f46f..fe7a5b2c2193 100644 --- a/misc/hotkeys/Makefile +++ b/misc/hotkeys/Makefile @@ -14,14 +14,15 @@ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libxml2.so:textproc/libxml2 -WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} +USES= bdb gmake xorg +USE_XORG= x11 xft xkbfile xmu + +GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-db3-inc=${BDB_INCLUDE_DIR} \ --with-db3-lib=${BDB_LIB_DIR} \ --with-db-name=${BDB_LIB_NAME} -USES= bdb gmake xorg -USE_XORG= x11 xft xkbfile xmu -GNU_CONFIGURE= yes +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} OPTIONS_DEFINE= OSD OPTIONS_DEFAULT= OSD @@ -29,6 +30,12 @@ OPTIONS_DEFAULT= OSD OSD_LIB_DEPENDS= libxosd.so:misc/xosd OSD_CONFIGURE_WITH= xosd +.include + +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) +CFLAGS+= -Wno-error=incompatible-function-pointer-types +.endif + post-extract: @${CP} ${PATCHDIR}/error.h ${WRKSRC}/src @${CP} ${PATCHDIR}/eliteduo.def ${WRKSRC}/def @@ -37,6 +44,7 @@ post-extract: post-patch: @${REINPLACE_CMD} -e '/^install-exec-am/s/install-sysconfDATA//' \ ${WRKSRC}/src/Makefile.in + post-configure: ${REINPLACE_CMD} -e 's,-lXinerama,-lXinerama `pkgconf --libs pangoxft`,g' ${WRKSRC}/src/Makefile