From nobody Wed Aug 16 18:30:38 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 4RQxXG586wz4qxN1; Wed, 16 Aug 2023 18:30:38 +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 4RQxXG4h8vz4Pwd; Wed, 16 Aug 2023 18:30:38 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1692210638; 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=bCJatbXCM/Kl5uNnGHfs/yEKTHa+U5OPOxQT7Eq+Lao=; b=VrrdTVLNSTUm9T48lpvthhGhsXn7fQusH1SQC1ksyd6wKf7q1/cBnEYbBfjF0zVROg73eK Ptd8x5r+vqi6ObmQA23f9hoSTXks33Nm8kCyQW9BACp6kKba2be8WNa3+iB8/273oO9BLb QUWGiEd8bEd+2YzRHBsLjXqnofmJbdVK31CbwiYYxnN72NDOxqkMZdI4QfRTlDdR5ObYYw rih6WPtQ+6ytoaNQmb5EJb31p01Wm97F6uC/NsM23QgBZdXg7HpHkODKNCCSuG5JROm18R EpUwoWemf+m8hOhzXSabJ1GYELM4wWkggeCCe4r+fxVP9L0cGcShgLBIKeh+2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1692210638; 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=bCJatbXCM/Kl5uNnGHfs/yEKTHa+U5OPOxQT7Eq+Lao=; b=ej/1uNx//cqZar549jL7UDSAK1Nj425B1IlUuzS9cki2YXAq0EfNJgfUut4wcbTiQOpLy3 mRGB1CwKpILdfij0xZnAoAOGNsbYtS0Xxjw5L6NFf1A7dp42LD1UPTg3uK/3p/C+rm5FBI mWvX7TmTI/FuPsZwouUJHiREEO3FbEeYjIcFL+Bzl0wWiOPKi8k8fJaeh71BIZCStQK6/L YanwEMd0X0/v4Jg7LzMLBYOO01m+jQZ+XhTyRBbv1Ilc9ET7AxuvShEtHjTPsSdajf5Gtd HwLmrJ6QZdoD4J/hsMIyAQsoC24N3UOKY3OQgXw4AKJ3q8kfe1d9zPOAOuW/+w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1692210638; a=rsa-sha256; cv=none; b=c/aqw4WdAzDJGZQLNpuuLwkJRG8QryT7X0XkYe8OYVYnkd635ajeHFn88bVfEtmjtHdXk/ +O72Wl5lO96tPN+6YkDHslwHi7swMf5QHNVmi1MJGzK88gueL5gWfam3Qiitfgqmf8U6vd RQZIr6CeS9wfGbqqkSM7/H6N5ZwglBz9f59bec/24os2s6TEWWB9tAkhvz46FskGgbrQKU xJxZnf7JjhtNJFpGMtwoAwb3ehIKNCB/y1ECzlQKRHBS4y6qRzTUSnjhZhcKkUgST7gRTc W61gG9/gJGUY4x5ikx0v7Ghh0JO7lkRGAqQLyNhdTdMysOoSSI9FwxOGHfjb5w== 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 4RQxXG3NkTz11yw; Wed, 16 Aug 2023 18:30:38 +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 37GIUcwr024668; Wed, 16 Aug 2023 18:30:38 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 37GIUcEV024665; Wed, 16 Aug 2023 18:30:38 GMT (envelope-from git) Date: Wed, 16 Aug 2023 18:30:38 GMT Message-Id: <202308161830.37GIUcEV024665@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 12092ad379be - main - astro/cfitsio: Update to 4.3.0 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: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 12092ad379be36655a15e628826cbbd381832b1a Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=12092ad379be36655a15e628826cbbd381832b1a commit 12092ad379be36655a15e628826cbbd381832b1a Author: Po-Chuan Hsieh AuthorDate: 2023-08-16 18:07:53 +0000 Commit: Po-Chuan Hsieh CommitDate: 2023-08-16 18:25:09 +0000 astro/cfitsio: Update to 4.3.0 Changes: https://heasarc.gsfc.nasa.gov/FTP/software/fitsio/c/docs/changes.txt --- astro/cfitsio/Makefile | 5 +---- astro/cfitsio/distinfo | 6 +++--- astro/cfitsio/files/patch-fitsio2.h | 28 ++++++++++++++++++++++++++++ 3 files changed, 32 insertions(+), 7 deletions(-) diff --git a/astro/cfitsio/Makefile b/astro/cfitsio/Makefile index 6c95a96fd1ca..dbed5e4b5e4f 100644 --- a/astro/cfitsio/Makefile +++ b/astro/cfitsio/Makefile @@ -1,5 +1,5 @@ PORTNAME= cfitsio -PORTVERSION= 4.2.0 +PORTVERSION= 4.3.0 CATEGORIES= astro MASTER_SITES= https://heasarc.gsfc.nasa.gov/FTP/software/fitsio/c/ \ https://heasarc.gsfc.nasa.gov/FTP/software/fitsio/c/oldvers/ \ @@ -27,9 +27,6 @@ CPE_VENDOR= nasa OPTIONS_DEFINE= DOCS -post-patch: - @${REINPLACE_CMD} -e 's|||' ${WRKSRC}/*.[chl] - do-install: cd ${WRKSRC}/ && ${INSTALL_DATA} drvrsmem.h fitsio.h fitsio2.h longnam.h ${STAGEDIR}${PREFIX}/include/ ${INSTALL_DATA} ${WRKSRC}/libcfitsio.a ${STAGEDIR}${PREFIX}/lib/ diff --git a/astro/cfitsio/distinfo b/astro/cfitsio/distinfo index 39a9400708b3..aa3f39a0848e 100644 --- a/astro/cfitsio/distinfo +++ b/astro/cfitsio/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1669057507 -SHA256 (cfitsio-4.2.0.tar.gz) = eba53d1b3f6e345632bb09a7b752ec7ced3d63ec5153a848380f3880c5d61889 -SIZE (cfitsio-4.2.0.tar.gz) = 4356372 +TIMESTAMP = 1691069920 +SHA256 (cfitsio-4.3.0.tar.gz) = fdadc01d09cf9f54253802c5ec87eb10de51ce4130411415ae88c30940621b8b +SIZE (cfitsio-4.3.0.tar.gz) = 4367500 diff --git a/astro/cfitsio/files/patch-fitsio2.h b/astro/cfitsio/files/patch-fitsio2.h new file mode 100644 index 000000000000..7d04cb3729a5 --- /dev/null +++ b/astro/cfitsio/files/patch-fitsio2.h @@ -0,0 +1,28 @@ +from astro/p5-Astro-FITS-CFITSIO build log: + +/usr/local/include/fitsio2.h:271:5: error: invalid token at start of a preprocessor expression +#if MACHINE == CRAY + ^ +/usr/include/machine/param.h:59:18: note: expanded from macro 'MACHINE' +#define MACHINE "amd64" + ^ + +--- fitsio2.h.orig 2023-07-21 14:37:17 UTC ++++ fitsio2.h +@@ -268,14 +268,14 @@ extern int Fitsio_Pthread_Status; + + #endif + +-#if MACHINE == CRAY ++#if 0 + /* + Cray machines: the large negative integer corresponds + to the 3 most sig digits set to 1. If these + 3 bits are set in a floating point number (64 bits), then it represents + a reserved value (i.e., a NaN) + */ +-#define fnan(L) ( (L) >= 0xE000000000000000 ? 1 : 0) ) ++#define fnan(L) ( (L) >= 0xE000000000000000 ? 1 : 0) + + #else + /* these functions work for both big and little endian machines */