libofa-gcc4.3.patch 1.2 KB

123456789101112131415161718192021222324252627282930313233343536
  1. diff -ur libofa-0.9.3.orig/examples/example.cpp libofa-0.9.3/examples/example.cpp
  2. --- libofa-0.9.3.orig/examples/example.cpp 2006-05-10 21:05:37.000000000 +0300
  3. +++ libofa-0.9.3/examples/example.cpp 2008-04-16 15:51:49.000000000 +0300
  4. @@ -9,6 +9,8 @@
  5. #include "protocol.h"
  6. +#include <string.h>
  7. +
  8. AudioData* loadWaveFile(char *file);
  9. AudioData* loadDataUsingLAME(char *file);
  10. Vain hakemistossa libofa-0.9.3/examples: example.cpp.orig
  11. diff -ur libofa-0.9.3.orig/examples/protocol.cpp libofa-0.9.3/examples/protocol.cpp
  12. --- libofa-0.9.3.orig/examples/protocol.cpp 2006-05-10 21:05:42.000000000 +0300
  13. +++ libofa-0.9.3/examples/protocol.cpp 2008-04-16 15:51:49.000000000 +0300
  14. @@ -8,6 +8,7 @@
  15. -------------------------------------------------------------------*/
  16. #include <stdio.h>
  17. #include <stdlib.h>
  18. +#include <cstring>
  19. #include <string>
  20. #include <map>
  21. #include <expat.h>
  22. diff -ur libofa-0.9.3.orig/lib/signal_op.cpp libofa-0.9.3/lib/signal_op.cpp
  23. --- libofa-0.9.3.orig/lib/signal_op.cpp 2006-05-10 21:01:12.000000000 +0300
  24. +++ libofa-0.9.3/lib/signal_op.cpp 2008-04-16 15:51:49.000000000 +0300
  25. @@ -12,6 +12,7 @@
  26. // DATE CREATED: 1/12/06
  27. +#include <cstdlib>
  28. #include <math.h>
  29. #include "signal_op.h"
  30. #include "AFLIB/aflibConverter.h"