Hi ports@,

Attached is a diff to update SoundTouch to 1.9.0. Various miscellaneous 
improvements to the library have been made in this version. Changelog is 
Section 5 on this page: 
http://svn.code.sf.net/p/soundtouch/code/trunk/README.html. Existing function 
signatures have been altered, specifically related to boolean types and 
function constness, so the major number on libSoundTouch has been bumped.

Tested on amd64.

- Eric

Here is an updated version of the diff which removes both patch fuzz and hard-coded -O3 compiler flags. Ping.

- Eric

Index: Makefile
===================================================================
RCS file: /cvs/ports/audio/soundtouch/Makefile,v
retrieving revision 1.13
diff -u -p -r1.13 Makefile
--- Makefile    14 Apr 2015 08:31:43 -0000      1.13
+++ Makefile    4 Jul 2015 17:48:54 -0000
@@ -2,8 +2,8 @@
 
 COMMENT=       tempo/pitch audio processing library
 
-DISTNAME=      soundtouch-1.8.0
-SHARED_LIBS += SoundTouch      1.0      # .0.0
+DISTNAME=      soundtouch-1.9.0
+SHARED_LIBS += SoundTouch      2.0      # .0.0
 CATEGORIES=    audio devel
 
 HOMEPAGE=      http://www.surina.net/soundtouch/
Index: distinfo
===================================================================
RCS file: /cvs/ports/audio/soundtouch/distinfo,v
retrieving revision 1.3
diff -u -p -r1.3 distinfo
--- distinfo    14 Apr 2015 08:31:43 -0000      1.3
+++ distinfo    4 Jul 2015 17:48:54 -0000
@@ -1,2 +1,2 @@
-SHA256 (soundtouch-1.8.0.tar.gz) = PUFh10yiXFqYxp27jqEP0r5Am6GjoL+B20B8TCYfFms=
-SIZE (soundtouch-1.8.0.tar.gz) = 106229
+SHA256 (soundtouch-1.9.0.tar.gz) = H+T8A8v+aWwSgf1iPQibr/4bcCZazGDqx6bZtXQpca0=
+SIZE (soundtouch-1.9.0.tar.gz) = 169038
Index: patches/patch-Makefile_am
===================================================================
RCS file: /cvs/ports/audio/soundtouch/patches/patch-Makefile_am,v
retrieving revision 1.4
diff -u -p -r1.4 patch-Makefile_am
--- patches/patch-Makefile_am   14 Apr 2015 08:31:43 -0000      1.4
+++ patches/patch-Makefile_am   4 Jul 2015 17:48:54 -0000
@@ -1,11 +1,11 @@
---- Makefile.am.orig   Tue Jan  7 12:28:51 2014
-+++ Makefile.am        Mon Jan 19 19:15:01 2015
-@@ -28,10 +28,11 @@ SUBDIRS=include source
- 
+--- Makefile.am.orig   Mon May 18 11:57:14 2015
++++ Makefile.am        Sun Jun 28 08:03:14 2015
+@@ -27,10 +27,11 @@ include $(top_srcdir)/config/am_include.mk
+ SUBDIRS=include source
  
  # list files that are documentation to be packaged in a release tarball and 
installed
--pkgdoc_DATA=COPYING.TXT README.html
-+pkgdoc_DATA=README.html
+-dist_doc_DATA=COPYING.TXT README.html
++dist_doc_DATA=README.html
  
  # extra data files that are to be pacakged in a release tarball and installed 
into the data directory
  #pkgdata_DATA=
Index: patches/patch-configure_ac
===================================================================
RCS file: /cvs/ports/audio/soundtouch/patches/patch-configure_ac,v
retrieving revision 1.1
diff -u -p -r1.1 patch-configure_ac
--- patches/patch-configure_ac  14 Apr 2015 08:31:43 -0000      1.1
+++ patches/patch-configure_ac  4 Jul 2015 17:48:54 -0000
@@ -1,8 +1,8 @@
---- configure.ac.orig  Tue Jan  7 12:28:51 2014
-+++ configure.ac       Mon Jan 19 20:33:09 2015
-@@ -23,7 +23,7 @@ AC_INIT(SoundTouch, 1.8.0, [http://www.surina.net/soun
- AC_CONFIG_AUX_DIR(config)
- AM_CONFIG_HEADER([include/soundtouch_config.h])
+--- configure.ac.orig  Mon May 18 11:57:14 2015
++++ configure.ac       Sun Jun 28 08:03:14 2015
+@@ -24,7 +24,7 @@ AC_CONFIG_AUX_DIR(config)
+ AC_CONFIG_MACRO_DIR([config/m4])
+ AM_CONFIG_HEADER([config.h include/soundtouch_config.h])
  AM_INIT_AUTOMAKE
 -AM_SILENT_RULES([yes])
 +m4_ifndef([AM_SILENT_RULES], [m4_define([AM_SILENT_RULES],[])])
Index: patches/patch-source_SoundStretch_Makefile_am
===================================================================
RCS file: patches/patch-source_SoundStretch_Makefile_am
diff -N patches/patch-source_SoundStretch_Makefile_am
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-source_SoundStretch_Makefile_am       4 Jul 2015 17:48:54 
-0000
@@ -0,0 +1,11 @@
+--- source/SoundStretch/Makefile.am.orig       Sat Jul  4 10:00:23 2015
++++ source/SoundStretch/Makefile.am    Sat Jul  4 10:02:15 2015
+@@ -48,7 +48,7 @@ soundstretch_LDADD=../SoundTouch/libSoundTouch.la -lm
+ #soundstretch_LDFLAGS=-s
+ 
+ ## additional compiler flags
+-soundstretch_CXXFLAGS=-O3 $(AM_CXXFLAGS)
++soundstretch_CXXFLAGS=$(AM_CXXFLAGS)
+ 
+ #clean-local: 
+ #     -rm -f additional-files-to-remove-on-make-clean
Index: patches/patch-source_SoundTouch_Makefile_am
===================================================================
RCS file: patches/patch-source_SoundTouch_Makefile_am
diff -N patches/patch-source_SoundTouch_Makefile_am
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-source_SoundTouch_Makefile_am 4 Jul 2015 17:48:54 -0000
@@ -0,0 +1,17 @@
+--- source/SoundTouch/Makefile.am.orig Mon May 18 11:57:14 2015
++++ source/SoundTouch/Makefile.am      Sat Jul  4 10:36:42 2015
+@@ -34,7 +34,7 @@ libSoundTouch_la_SOURCES=AAFilter.cpp FIRFilter.cpp FI
+     InterpolateShannon.cpp
+ 
+ # Compiler flags
+-AM_CXXFLAGS+=-O3
++AM_CXXFLAGS+=
+ 
+ # Compile the files that need MMX and SSE individually.
+ libSoundTouch_la_LIBADD=libSoundTouchMMX.la libSoundTouchSSE.la
+@@ -70,4 +70,4 @@ endif
+ # noinst_LTLIBRARIES = libSoundTouchOpt.la
+ # libSoundTouch_la_LIBADD = libSoundTouchOpt.la
+ # libSoundTouchOpt_la_SOURCES = mmx_optimized.cpp sse_optimized.cpp 
+-# libSoundTouchOpt_la_CXXFLAGS = -O3 -msse -fcheck-new -I../../include
++# libSoundTouchOpt_la_CXXFLAGS = -msse -fcheck-new -I../../include

Reply via email to