ping ... ________________________________ 发件人: owner-po...@openbsd.org <owner-po...@openbsd.org> 代表 wen heping <wenheping2...@hotmail.com> 发送时间: 2019年8月23日 22:27 收件人: Rafael Sadowski <raf...@sizeofvoid.org> 抄送: ports@openbsd.org <ports@openbsd.org> 主题: 回复: 回复: [Update] math/cfitsio : Update to 3.47
Hi, Here is the revised patch, set PKGNAME=${DISTNAME}0. 4 ports depends on math/cfitsio: astro/kstars graphics/ufraw astro/wcslib x11/kde-applications/gwenview All build well with this patch on amd64-head system. Comments? OK? wen ________________________________ 发件人: owner-po...@openbsd.org <owner-po...@openbsd.org> 代表 wen heping <wenheping2...@hotmail.com> 发送时间: 2019年8月21日 9:55 收件人: Rafael Sadowski <raf...@sizeofvoid.org> 抄送: ports@openbsd.org <ports@openbsd.org> 主题: 回复: [Update] math/cfitsio : Update to 3.47 I would test these ports, need some time. wen ________________________________ 发件人: Rafael Sadowski <raf...@sizeofvoid.org> 发送时间: 2019年8月18日 21:02 收件人: wen heping <wenheping2...@hotmail.com> 抄送: ports@openbsd.org <ports@openbsd.org> 主题: Re: [Update] math/cfitsio : Update to 3.47 On Sun Aug 18, 2019 at 02:15:03AM +0000, wen heping wrote: > No other ports depends on it. > No? Please see in: astro/kstars astro/wcslib graphics/ufraw x11/kde-applications/gwenview > Index: Makefile > =================================================================== > RCS file: /cvs/ports/math/cfitsio/Makefile,v > retrieving revision 1.13 > diff -u -p -r1.13 Makefile > --- Makefile 12 Jul 2019 20:47:40 -0000 1.13 > +++ Makefile 18 Aug 2019 02:10:13 -0000 > @@ -5,9 +5,7 @@ CATEGORIES= math graphics devel > > HOMEPAGE= https://heasarc.gsfc.nasa.gov/fitsio/fitsio.html > > -DISTNAME= cfitsio3450 > - > -PKGNAME= cfitsio-3.450 > +DISTNAME= cfitsio-3.47 > > SHARED_LIBS += cfitsio 1.0 # 0.0 > > @@ -22,7 +20,7 @@ WANTLIB += c crypto curl m nghttp2 ssl z > CONFIGURE_STYLE=gnu > > #ALL_TARGET= all fitscopy imcopy shared fpack funpack > -ALL_TARGET= utils shared > +ALL_TARGET= libcfitsio.a shared utils > SHLIB_SUFFIX= .so.${LIBcfitsio_VERSION} > MAKE_FLAGS= SHLIB_SUFFIX=${SHLIB_SUFFIX} > > @@ -33,8 +31,6 @@ LIB_DEPENDS+= net/curl \ > www/nghttp2 > > DOCDIR=${PREFIX}/share/doc/cfitsio > - > -WRKDIST= ${WRKDIR}/cfitsio > > post-patch: > sed -i 's|<malloc.h>|<stdlib.h>|' ${WRKSRC}/*.[chl] ${WRKSRC}/zlib/*.h > Index: distinfo > =================================================================== > RCS file: /cvs/ports/math/cfitsio/distinfo,v > retrieving revision 1.5 > diff -u -p -r1.5 distinfo > --- distinfo 2 May 2019 13:13:08 -0000 1.5 > +++ distinfo 18 Aug 2019 02:10:13 -0000 > @@ -1,2 +1,2 @@ > -SHA256 (cfitsio3450.tar.gz) = v2AS2+Zo7LIsOZxLeygUVX7igsdKfV3HBOsXww2fuS4= > -SIZE (cfitsio3450.tar.gz) = 4738748 > +SHA256 (cfitsio-3.47.tar.gz) = QYUW8Q7h4PG1IJJu7Ka3fOY5vtiIBMfFRedPJrPt9O8= > +SIZE (cfitsio-3.47.tar.gz) = 4853990 > Index: patches/patch-configure > =================================================================== > RCS file: /cvs/ports/math/cfitsio/patches/patch-configure,v > retrieving revision 1.1 > diff -u -p -r1.1 patch-configure > --- patches/patch-configure 2 May 2019 13:13:08 -0000 1.1 > +++ patches/patch-configure 18 Aug 2019 02:10:13 -0000 > @@ -1,9 +1,9 @@ > -$OpenBSD: patch-configure,v 1.1 2019/05/02 13:13:08 rsadowski Exp $ > +$OpenBSD$ > > Index: configure > --- configure.orig > +++ configure > -@@ -4768,7 +4768,7 @@ esac > +@@ -4851,7 +4851,7 @@ esac > # Darwin uses gcc (=cc), but needs different flags (see above) > if test "x$EXT" != xdarwin && test "x$EXT" != xcygwin && test "x$EXT" != > xmingw32; then > if test "x$GCC" = xyes; then > Index: patches/patch-fitsio2_h > =================================================================== > RCS file: /cvs/ports/math/cfitsio/patches/patch-fitsio2_h,v > retrieving revision 1.3 > diff -u -p -r1.3 patch-fitsio2_h > --- patches/patch-fitsio2_h 3 May 2019 13:32:57 -0000 1.3 > +++ patches/patch-fitsio2_h 18 Aug 2019 02:10:13 -0000 > @@ -1,4 +1,5 @@ > -$OpenBSD: patch-fitsio2_h,v 1.3 2019/05/03 13:32:57 kn Exp $ > +$OpenBSD$ > + > Index: fitsio2.h > --- fitsio2.h.orig > +++ fitsio2.h