pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/math/ffts



Module Name:    pkgsrc
Committed By:   gson
Date:           Tue Jul  4 19:51:42 UTC 2017

Modified Files:
        pkgsrc/math/ffts: Makefile distinfo
Added Files:
        pkgsrc/math/ffts/patches: patch-src_Makefile.am patch-src_ffts_trig.c
Removed Files:
        pkgsrc/math/ffts/patches: patch-src_codegen.c patch-tests_test.c

Log Message:
Update math/ffts to 20170617.

The package does not include a change log, but one major feature
added since 20140106 is support for transforms of sizes other
than powers of two by means of the chirp Z transform.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/math/ffts/Makefile pkgsrc/math/ffts/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/math/ffts/patches/patch-src_Makefile.am \
    pkgsrc/math/ffts/patches/patch-src_ffts_trig.c
cvs rdiff -u -r1.1 -r0 pkgsrc/math/ffts/patches/patch-src_codegen.c \
    pkgsrc/math/ffts/patches/patch-tests_test.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/math/ffts/Makefile
diff -u pkgsrc/math/ffts/Makefile:1.1 pkgsrc/math/ffts/Makefile:1.2
--- pkgsrc/math/ffts/Makefile:1.1       Fri Jan 22 14:57:41 2016
+++ pkgsrc/math/ffts/Makefile   Tue Jul  4 19:51:42 2017
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.1 2016/01/22 14:57:41 gson Exp $
+# $NetBSD: Makefile,v 1.2 2017/07/04 19:51:42 gson Exp $
 
-GIT_COMMIT=            fa1780c68593762b1e4bdbc46d83912db3eba27a
+GIT_COMMIT=            fe86885ecafd0d16eb122f3212403d1d5a86e24e
 
 DISTNAME=              ${GIT_COMMIT}
-PKGNAME=               ffts-20140106
+PKGNAME=               ffts-20170617
 CATEGORIES=            math
 MASTER_SITES=          ${MASTER_SITE_GITHUB:=anthonix/}/ffts/archive/
 
@@ -14,9 +14,14 @@ LICENSE=             modified-bsd
 
 WRKSRC=                        ${WRKDIR}/ffts-${GIT_COMMIT}
 
+USE_TOOLS+=            gmake autoconf automake autoheader aclocal
 USE_LANGUAGES=         c c++
 USE_LIBTOOL=           yes
 GNU_CONFIGURE=         yes
 CONFIGURE_ARGS=                --enable-sse --enable-single
 
+pre-configure:
+       set -e; cd ${WRKSRC}; \
+       aclocal; autoheader; automake -a --foreign -i; autoconf
+
 .include "../../mk/bsd.pkg.mk"
Index: pkgsrc/math/ffts/distinfo
diff -u pkgsrc/math/ffts/distinfo:1.1 pkgsrc/math/ffts/distinfo:1.2
--- pkgsrc/math/ffts/distinfo:1.1       Fri Jan 22 14:57:41 2016
+++ pkgsrc/math/ffts/distinfo   Tue Jul  4 19:51:42 2017
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.1 2016/01/22 14:57:41 gson Exp $
+$NetBSD: distinfo,v 1.2 2017/07/04 19:51:42 gson Exp $
 
-SHA1 (fa1780c68593762b1e4bdbc46d83912db3eba27a.tar.gz) = 6dfb95b6c9575005d5cc06b6acb8b5cb47a27328
-RMD160 (fa1780c68593762b1e4bdbc46d83912db3eba27a.tar.gz) = 495ae3f6ffcd03740553765dbd0cff03b5f7e89b
-SHA512 (fa1780c68593762b1e4bdbc46d83912db3eba27a.tar.gz) = 2bfab39f3661e53fb625a465f7c05986b2923af2679f8e2c493ec8130032e6dd68f379501bcb6ea28c728ce2d605faf9868cd57d96442e26507cd0e00f4d4b71
-Size (fa1780c68593762b1e4bdbc46d83912db3eba27a.tar.gz) = 414064 bytes
-SHA1 (patch-src_codegen.c) = 09b9d234092607fbad9747ac08df0f0962df693d
-SHA1 (patch-tests_test.c) = 14b291a46caaccb3d78462bedee171e0e9e01797
+SHA1 (fe86885ecafd0d16eb122f3212403d1d5a86e24e.tar.gz) = bd54bc97b9592335f3196c216f7e0e456729b254
+RMD160 (fe86885ecafd0d16eb122f3212403d1d5a86e24e.tar.gz) = d832f7375d82b851e008b3a82747e3914b15fd3b
+SHA512 (fe86885ecafd0d16eb122f3212403d1d5a86e24e.tar.gz) = 3d96705a22948cb1b06b32bcad2fcaf516fb9f5da594e8626879be122edc29cd5b1c2eec3a493f4e98b49034b0a14d179765716ac59ba12bab6b4b388d299a66
+Size (fe86885ecafd0d16eb122f3212403d1d5a86e24e.tar.gz) = 588465 bytes
+SHA1 (patch-src_Makefile.am) = 1f8827b30b9e3909268957e0d35714109c99e156
+SHA1 (patch-src_ffts_trig.c) = 7732a617f43e54dc61ae64b87a7ac3d6d6174036

Added files:

Index: pkgsrc/math/ffts/patches/patch-src_Makefile.am
diff -u /dev/null pkgsrc/math/ffts/patches/patch-src_Makefile.am:1.1
--- /dev/null   Tue Jul  4 19:51:42 2017
+++ pkgsrc/math/ffts/patches/patch-src_Makefile.am      Tue Jul  4 19:51:42 2017
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_Makefile.am,v 1.1 2017/07/04 19:51:42 gson Exp $
+
+Fix build error.  Submitted upstream in https://github.com/anthonix/ffts/pull/60.
+
+--- src/Makefile.am
++++ src/Makefile.am
+@@ -2,7 +2,7 @@
+ 
+ lib_LTLIBRARIES = libffts.la
+ 
+-libffts_la_SOURCES = ffts.c ffts_nd.c ffts_real.c ffts_real_nd.c ffts_transpose.c ffts_trig.c ffts_static.c
++libffts_la_SOURCES = ffts.c ffts_nd.c ffts_real.c ffts_real_nd.c ffts_transpose.c ffts_trig.c ffts_static.c ffts_chirp_z.c
+ libffts_la_SOURCES += codegen.h codegen_arm.h codegen_sse.h ffts.h ffts_nd.h ffts_real.h ffts_real_nd.h ffts_small.h ffts_static.h macros-alpha.h macros-altivec.h macros-neon.h macros-sse.h 
macros.h neon.h neon_float.h patterns.h types.h vfp.h
+ 
+ if DYNAMIC_DISABLED
Index: pkgsrc/math/ffts/patches/patch-src_ffts_trig.c
diff -u /dev/null pkgsrc/math/ffts/patches/patch-src_ffts_trig.c:1.1
--- /dev/null   Tue Jul  4 19:51:42 2017
+++ pkgsrc/math/ffts/patches/patch-src_ffts_trig.c      Tue Jul  4 19:51:42 2017
@@ -0,0 +1,22 @@
+$NetBSD: patch-src_ffts_trig.c,v 1.1 2017/07/04 19:51:42 gson Exp $
+
+Fix build error.  Submitted upstream in https://github.com/anthonix/ffts/pull/60.
+
+--- src/ffts_trig.c
++++ src/ffts_trig.c
+@@ -881,7 +881,7 @@ int
+ ffts_generate_cosine_sine_pow2_32f(ffts_cpx_32f *const table, int table_size)
+ {
+     const ffts_cpx_64f *FFTS_RESTRICT ct;
+-    const double_t *FFTS_RESTRICT hs;
++    const ffts_double_t *FFTS_RESTRICT hs;
+     ffts_cpx_64f FFTS_ALIGN(16) w[32];
+     int i, log_2, offset;
+ 
+@@ -1136,4 +1136,4 @@ last:
+     }
+ 
+     return 0;
+-}
+\ No newline at end of file
++}



Home | Main Index | Thread Index | Old Index