From nobody Sun Mar 12 00:18:45 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 4PZ0ks574Tz3x4lr; Sun, 12 Mar 2023 00:18:45 +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 4PZ0ks4ZRRz4Q11; Sun, 12 Mar 2023 00:18:45 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678580325; 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=YxHcf9tLHNiRQoQobBL2GxFsdRFrjoQyI64QL3JIctw=; b=Vd+xGsMHHwGVtpRg4M3Z7q3eUSB5oFW1WTFog4H1lVJypEIlphC2OjPjAUFeIInEWRkgFo jEldILPGN9TgnZLXlS0/ZkHyN/85bJVe5aogFjjEhXYx2EBrQfxRzEcqMok6owARTY0FTl vgmX4vNeV6TxoZrKrH/itLSPchKetvkZ/EWyqIHrsP+uUV8TKtuRFz1yliZRMWih+uaAnc ofvGrddS+rEAlai0vEntgIBoCwvKyLnDOO+ALe+lnwPXKxhhud7JEMZtAniz0ORW7m/4eC uoD0vFerVlLeCXmZKU+DiBzaSD89lrX6shYonqXdaj8k5pzWqC1tEuKj3HzJmQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678580325; 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=YxHcf9tLHNiRQoQobBL2GxFsdRFrjoQyI64QL3JIctw=; b=Y9GI2RM/RODGV4sbQhk2WRMwUOgROBl1HOQYc+ikyzH4PR9/y+bSCLIYrxDtdqlBwDxAtS sMK4G4h0lryPNDagOtS8wkYn7ewOudYZm/sACyRX5f0rd/x3y+T0Z8/+BTsRlOWLQeL4KQ Oi8txl25GrqoyQxqOQrrDBPyNPlHDaaQy+XICUzL+RgyiR4mhcy04Sq2MZM/Zg4417u022 hujsaQ9DBRHxr5Dbe/twa+zMAb3tnMljFrs8HajBfSMbNR9aalK6Ri1Am/6nAzB/GgGhrG dV6jPC7eROEZDSlGfZumgDlqIaq2HKwwlvD3sJOBhuP28BRLRhMQ0N8GHapT8g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1678580325; a=rsa-sha256; cv=none; b=N8SfSQ1Sax+8y1r2h6+QbjvuiYyS8ki/BJObX3/E0ArSx79BJdE5LPlwYleKEtqDGRhMTb 1KhvbQAM/hEK9dMuvYGV2u8Of4IXABPU5pubvVU1wWsm3qqtCjBv+oV2drpAVt7W11pGpX 4JBWDuIBRjAlPx+SMleETkSe2XGG/lzOTF7t8Rfw3BdDX3zSGNXt9kWQnF8r63o7Y29W0m ncR59IhuReif5u2AYrac4lkfApkNr1DOITy7CvYZK9/M7M8DY7lcYW+2QlaBd3Lnfqir5v C2CROh/yT5PkyIBpEVpdPBf+NG2P5SWS1e7TsK/vZj7+1t8+Vv7/qHw+ycDVHg== 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 4PZ0ks3gBXzqss; Sun, 12 Mar 2023 00:18:45 +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 32C0IjJN028780; Sun, 12 Mar 2023 00:18:45 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 32C0Ij9s028779; Sun, 12 Mar 2023 00:18:45 GMT (envelope-from git) Date: Sun, 12 Mar 2023 00:18:45 GMT Message-Id: <202303120018.32C0Ij9s028779@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Piotr Kubaj Subject: git: adfc77c72256 - main - irc/srvx: fix build on armv? and powerpc 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: pkubaj X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: adfc77c722567936369ab7ad636d19d071e985b9 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=adfc77c722567936369ab7ad636d19d071e985b9 commit adfc77c722567936369ab7ad636d19d071e985b9 Author: Piotr Kubaj AuthorDate: 2023-03-12 00:00:56 +0000 Commit: Piotr Kubaj CommitDate: 2023-03-12 00:00:56 +0000 irc/srvx: fix build on armv? and powerpc They use long long for time_t. --- irc/srvx/Makefile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/irc/srvx/Makefile b/irc/srvx/Makefile index 2d5637e03ed6..7bd088e16aea 100644 --- a/irc/srvx/Makefile +++ b/irc/srvx/Makefile @@ -10,9 +10,6 @@ WWW= http://www.srvx.net/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING -BROKEN_armv6= fails to configure: Cannot detect format string for time_t -BROKEN_armv7= fails to configure: Cannot detect format string for time_t - USES= cpe GNU_CONFIGURE= yes CONFIGURE_ARGS= --without-getopt @@ -29,6 +26,12 @@ BAHAMUT_DESC= Enable Bahamut protocol (P10 is default) DEBUG_CONFIGURE_ON= --enable-debug BAHAMUT_CONFIGURE_ON= --with-protocol=bahamut +.include + +.if ${ARCH:Marmv?} || ${ARCH} == powerpc +CONFIGURE_ENV+= ac_cv_fmt_time_t="\"%lli\"" +.endif + post-patch: @${REINPLACE_CMD} -e 's|srvx\.conf|${PREFIX}/etc/srx.conf|' \ ${WRKSRC}/src/main.c