parlay

yet another gentoo overlay
git clone https://git.parazyd.org/parlay
Log | Files | Refs | README

steghide-0.5.1-gcc34.patch (1767B)


      1 diff -ur a/src/AuSampleValues.cc b/src/AuSampleValues.cc
      2 --- a/src/AuSampleValues.cc	2003-09-28 19:30:30.000000000 +0400
      3 +++ b/src/AuSampleValues.cc	2019-11-06 18:42:01.574894484 +0300
      4 @@ -18,20 +18,21 @@
      5   *
      6   */
      7  
      8 +#include "common.h"
      9  #include "AuSampleValues.h"
     10  
     11  // AuMuLawSampleValue
     12 -const BYTE AuMuLawSampleValue::MinValue = 0 ;
     13 -const BYTE AuMuLawSampleValue::MaxValue = BYTE_MAX ;
     14 +template<> const BYTE  AuMuLawSampleValue::MinValue = 0 ;
     15 +template<> const BYTE AuMuLawSampleValue::MaxValue = BYTE_MAX ;
     16  
     17  // AuPCM8SampleValue
     18 -const SBYTE AuPCM8SampleValue::MinValue = SBYTE_MIN ;
     19 -const SBYTE AuPCM8SampleValue::MaxValue = SBYTE_MAX ;
     20 +template<> const SBYTE AuPCM8SampleValue::MinValue = SBYTE_MIN ;
     21 +template<> const SBYTE AuPCM8SampleValue::MaxValue = SBYTE_MAX ;
     22  
     23  // AuPCM16SampleValue
     24 -const SWORD16 AuPCM16SampleValue::MinValue = SWORD16_MIN ;
     25 -const SWORD16 AuPCM16SampleValue::MaxValue = SWORD16_MAX ;
     26 +template<> const SWORD16 AuPCM16SampleValue::MinValue = SWORD16_MIN ;
     27 +template<> const SWORD16 AuPCM16SampleValue::MaxValue = SWORD16_MAX ;
     28  
     29  // AuPCM32SampleValue
     30 -const SWORD32 AuPCM32SampleValue::MinValue = SWORD32_MIN ;
     31 -const SWORD32 AuPCM32SampleValue::MaxValue = SWORD32_MAX ;
     32 +template<> const SWORD32 AuPCM32SampleValue::MinValue = SWORD32_MIN ;
     33 +template<> const SWORD32 AuPCM32SampleValue::MaxValue = SWORD32_MAX ;
     34 diff -ur a/src/Makefile.am b/src/Makefile.am
     35 --- a/src/Makefile.am	2003-09-28 20:33:21.000000000 +0400
     36 +++ b/src/Makefile.am	2019-11-06 18:40:25.141385349 +0300
     37 @@ -33,5 +33,5 @@
     38  WavPCMSampleValue.cc error.cc main.cc msg.cc SMDConstructionHeuristic.cc
     39  LIBS = @LIBINTL@ @LIBS@
     40  localedir = $(datadir)/locale
     41 -LIBTOOL = $(SHELL) libtool
     42 +LIBTOOL = $(SHELL) libtool --tag=CXX
     43  MAINTAINERCLEANFILES = Makefile.in