shithub: sox

Download patch

ref: 42e0042516e2315f52a3abacb96fff06c2e4642c
parent: f1ebb3d4d6f46a896ac91a2aef166ac1f84b86ee
author: robs <robs>
date: Sat Feb 9 07:31:25 EST 2008

Added deprecation table & FORTIFY_SOURCE

--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -32,7 +32,7 @@
 project(sox)
 
 if(CMAKE_COMPILER_IS_GNUCC)
-  add_definitions(-Wall -W -Wmissing-prototypes -Wstrict-prototypes -pedantic)
+  add_definitions(-D_FORTIFY_SOURCE=2 -Wall -W -Wmissing-prototypes -Wstrict-prototypes -pedantic)
 endif(CMAKE_COMPILER_IS_GNUCC)
 
 include(TestBigEndian)
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,25 +4,47 @@
 This file contains a list of all changes starting after the release of
 sox-11gamma.
 
-sox-14.0.2	2008-xx-xx
+sox-14.0.2	2008-TBD
 ----------
 
-  File formats:
+File formats:
 
-  Effects:
+  o No change
 
+Effects:
+
   o Added effect to splice together audio sections.  (robs)
   o Added remix effect (complements the mixer effect).  (robs)
 
-  Other new features:
+Other new features:
 
   o Command line support for multiple file comments.  (robs)
 
-  Bug fixes:
+Bug fixes:
 
   o Fix [1864216] comments mangled when writing ogg-vorbis.  (robs)
 
-  Internal improvements:
+Internal improvements:
+
+  o Use FORTIFY_SOURCE with gcc.  (robs)
+
+Feature deprecation & removal:
+
+  Deprec-  Feature    [O(ption)]                           Removal
+  ated in  [F(ormat)] [E(ffect)]   Replacement             due in
+  -------  ----------------------  ----------------------  -------
+  13.0.0   O -e                    -n                      14.0.2
+  13.0.0   O -b/-w/-l/-d           -1/-2/-4/-8             14.0.2
+  13.0.0   E avg, pick             mixer                   14.0.2
+  13.0.0   E highp, lowp           highpass -1, lowpass -1 14.0.2
+  13.0.0   E mask                  dither                  14.0.2
+  13.0.0   E rate                  ~= resample             14.0.2
+  13.0.0   E vibro                 ~= tremolo              14.0.2
+  13.0.0   F auto                  Becomes internal only   14.0.2
+  14.0.0   E stretch               ~= tempo                2008-09-11
+  14.0.0   E pitch                 ~= key                  2008-09-11
+  14.0.2   F wve (native)          wve (libsndfile)        14.0.2 + 1 year
+  14.0.2   F flac: libFLAC 1.1.1   libFLAC > 1.1.1         14.0.2 + 6 months
 
 
 sox-14.0.1	2008-01-29
--- a/configure.ac
+++ b/configure.ac
@@ -69,7 +69,7 @@
 
 dnl Extra CFLAGS if we have gcc
 if test "$GCC" = yes; then
-    CFLAGS="$CFLAGS -Wall -W -Wmissing-prototypes -Wstrict-prototypes -pedantic"
+    CFLAGS="$CFLAGS -D_FORTIFY_SOURCE=2 -Wall -W -Wmissing-prototypes -Wstrict-prototypes -pedantic"
     dnl Define stricter policy on GNU/Linux, all symbols must be resolved
     case $target in
       *linux*)