From nobody Sun Mar 26 21:35:18 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 4Pl8PM2MLZz41BJQ; Sun, 26 Mar 2023 21:35:19 +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 4Pl8PM1cG5z4HM6; Sun, 26 Mar 2023 21:35:19 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1679866519; 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=6AeMBzBjsMSM6yijP/lEPfPSvUh6wuMjwUmaiL1VMkg=; b=wrrkcKtmWL5AF3MaZ05IQoWnILLVQ/eX90HmNOCb032Cbv7roRO0/8hKmmmGF577xEYIze IbsxILsP7Jt73zER1k5JqhasY/lIVwiDp6dlkwI/sf36ArdvCJLB5p7KCy+1hM6gksm/sh oRedskgtyBad61ZARmN5loOG2Ybd8eihtkrQ+DYlFG99RJyULeRyeYnGl+0lms2FW9DV0h 5TgEX+kGZ5vwNAxbNNXH5kRtjVECclW7xxh6aWr0K1yGI3DzPer7gLh/YgopiJXueQNpKG S8LEWI7DyCGMEl3/T8BB2hGAAdrS9nX98GBQW+TnVIV1LO/tEYVGymMhLG+YmQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1679866519; 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=6AeMBzBjsMSM6yijP/lEPfPSvUh6wuMjwUmaiL1VMkg=; b=KA7JKpEzjHWSs/llMIg7qrolQMvYa5w9KI/md9LbLO3qljUCndjmNlGftw17HGViLb1ypr Fa5ClBZPI/u+rqnMtPJ/4+V86IY3AYFgrx/2MS3LiMS7ebvcmRkpaq/Rbo1W0dUO5Ersa4 bKivG6eaUFVVM01QSv7+xi59547J5VOLh6Y+qQEK8VkQ8fmHFNcEDAHRYWy6U5Qv4Yl5+9 +DOIj3Ss4fZk/7nzjdVz7nqSHPy1sD+C+IFyv3GoufzGLrhAod6pLgeh3BMDrLxiIo86eF a8MFU1Mk2By2xVONdaX+a/SQT6XGihwz9y/pV0/k9EI/Ypxq0qcIy/Sp3YlXnA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1679866519; a=rsa-sha256; cv=none; b=yS26fhrNBESiQo3biGKo60qFx/Xx49+5OSXNiCOC3VPcQ99SA+PHk87RA12Qdq5xBB5NVB bVP4NXRszBmfQzepiJov89N2zpAkFPrKwP3XPspnr8P1JdYuvMS2UiJN+RQX2mRJ4vczyv s4aWnt4POCosssu/RIbHg3JzKV7mlYDU932Sg/ivOfYE1S7EPggXc1kZ7Exu2yV6gMlRSE giF2yBoQxeom1pbwn7JwzXcNCcGK3oEL00oqWOrD75bl1n/1AsopHAI8C+In9Ws161M2/t Tdm9XuY6zQl8tmy3AlESEzT/rFveSgbf8oGakk8ryX4fzu2taQsKEc3SCs/ZSg== 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 4Pl8PM0fn5zwZY; Sun, 26 Mar 2023 21:35:19 +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 32QLZI7f093989; Sun, 26 Mar 2023 21:35:18 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 32QLZISP093988; Sun, 26 Mar 2023 21:35:18 GMT (envelope-from git) Date: Sun, 26 Mar 2023 21:35:18 GMT Message-Id: <202303262135.32QLZISP093988@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Adriaan de Groot Subject: git: ccb492f209b5 - main - math/readstat: repair build (missing prototype in modern C) 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: adridg X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: ccb492f209b57055e2e5456b48d5d3cce809734f Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by adridg: URL: https://cgit.FreeBSD.org/ports/commit/?id=ccb492f209b57055e2e5456b48d5d3cce809734f commit ccb492f209b57055e2e5456b48d5d3cce809734f Author: Adriaan de Groot AuthorDate: 2023-03-20 21:08:51 +0000 Commit: Adriaan de Groot CommitDate: 2023-03-26 21:31:31 +0000 math/readstat: repair build (missing prototype in modern C) --- math/readstat/Makefile | 2 +- math/readstat/files/patch-src_readstat__bits.c | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/math/readstat/Makefile b/math/readstat/Makefile index ed2be537b797..bfdce5912113 100644 --- a/math/readstat/Makefile +++ b/math/readstat/Makefile @@ -1,6 +1,6 @@ PORTNAME= readstat DISTVERSION= 1.1.8 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= math kde MASTER_SITES= https://github.com/WizardMac/ReadStat/releases/download/v${DISTVERSION}/ diff --git a/math/readstat/files/patch-src_readstat__bits.c b/math/readstat/files/patch-src_readstat__bits.c new file mode 100644 index 000000000000..5ccc9f5e1147 --- /dev/null +++ b/math/readstat/files/patch-src_readstat__bits.c @@ -0,0 +1,11 @@ +--- src/readstat_bits.c.orig 2023-03-16 22:38:26 UTC ++++ src/readstat_bits.c +@@ -8,7 +8,7 @@ + + #include "readstat_bits.h" + +-int machine_is_little_endian() { ++int machine_is_little_endian(void) { + int test_byte_order = 1; + return ((char *)&test_byte_order)[0]; + }