diff options
Diffstat (limited to 'audio/libofa/files')
-rw-r--r-- | audio/libofa/files/patch-configure | 16 | ||||
-rw-r--r-- | audio/libofa/files/patch-examples_example.cpp | 11 | ||||
-rw-r--r-- | audio/libofa/files/patch-examples_protocol.cpp | 15 | ||||
-rw-r--r-- | audio/libofa/files/patch-examples_uselame.cpp | 10 | ||||
-rw-r--r-- | audio/libofa/files/patch-examples_wavefile.cpp | 11 | ||||
-rw-r--r-- | audio/libofa/files/patch-lib_JAMA_tnt__math__utils.h | 33 | ||||
-rw-r--r-- | audio/libofa/files/patch-lib_signal__op.cpp | 10 |
7 files changed, 0 insertions, 106 deletions
diff --git a/audio/libofa/files/patch-configure b/audio/libofa/files/patch-configure deleted file mode 100644 index 8b6506185ed6..000000000000 --- a/audio/libofa/files/patch-configure +++ /dev/null @@ -1,16 +0,0 @@ ---- configure.orig 2016-07-26 15:10:24 UTC -+++ configure -@@ -20315,13 +20315,6 @@ _ACEOF - - - --if test "$GCC" = yes; then -- dnlCFLAGS="$CFLAGS -Wall -O2" -- CFLAGS="$CFLAGS -Wall -g" --fi --if test "$GXX" = yes; then -- CXXFLAGS="$CXXFLAGS -Wall -g" --fi - - - echo "$as_me:$LINENO: checking for XML_ExpatVersion in -lexpat" >&5 diff --git a/audio/libofa/files/patch-examples_example.cpp b/audio/libofa/files/patch-examples_example.cpp deleted file mode 100644 index e7ffccaaafda..000000000000 --- a/audio/libofa/files/patch-examples_example.cpp +++ /dev/null @@ -1,11 +0,0 @@ ---- examples/example.cpp.orig 2016-07-26 15:10:24 UTC -+++ examples/example.cpp -@@ -7,6 +7,8 @@ - - -------------------------------------------------------------------*/ - -+#include <stdio.h> -+#include <string.h> - #include "protocol.h" - - AudioData* loadWaveFile(char *file); diff --git a/audio/libofa/files/patch-examples_protocol.cpp b/audio/libofa/files/patch-examples_protocol.cpp deleted file mode 100644 index 88359a716274..000000000000 --- a/audio/libofa/files/patch-examples_protocol.cpp +++ /dev/null @@ -1,15 +0,0 @@ ---- examples/protocol.cpp.orig 2016-07-26 15:10:24 UTC -+++ examples/protocol.cpp -@@ -8,11 +8,11 @@ - -------------------------------------------------------------------*/ - #include <stdio.h> - #include <stdlib.h> -+#include <string.h> - #include <string> - #include <map> - #include <expat.h> - #include <curl/curl.h> --#include <curl/types.h> - #include <curl/easy.h> - - using namespace std; diff --git a/audio/libofa/files/patch-examples_uselame.cpp b/audio/libofa/files/patch-examples_uselame.cpp deleted file mode 100644 index c23a5ef61237..000000000000 --- a/audio/libofa/files/patch-examples_uselame.cpp +++ /dev/null @@ -1,10 +0,0 @@ ---- examples/uselame.cpp.orig 2016-07-26 15:10:24 UTC -+++ examples/uselame.cpp -@@ -12,6 +12,7 @@ - #else - #include <sys/wait.h> - #endif -+#include <unistd.h> - - AudioData *loadWaveFile(char *file); - diff --git a/audio/libofa/files/patch-examples_wavefile.cpp b/audio/libofa/files/patch-examples_wavefile.cpp deleted file mode 100644 index 0dedb8067616..000000000000 --- a/audio/libofa/files/patch-examples_wavefile.cpp +++ /dev/null @@ -1,11 +0,0 @@ ---- examples/wavefile.cpp.orig 2016-07-26 15:10:24 UTC -+++ examples/wavefile.cpp -@@ -11,6 +11,8 @@ - #include "io.h" - #endif - #include <fcntl.h> -+#include <sys/types.h> -+#include <unistd.h> - - static bool readBytes(int fd, unsigned char *buf, int size) { - int ct = 0; diff --git a/audio/libofa/files/patch-lib_JAMA_tnt__math__utils.h b/audio/libofa/files/patch-lib_JAMA_tnt__math__utils.h deleted file mode 100644 index db0d6997b6de..000000000000 --- a/audio/libofa/files/patch-lib_JAMA_tnt__math__utils.h +++ /dev/null @@ -1,33 +0,0 @@ ---- lib/JAMA/tnt_math_utils.h.orig 2016-07-26 15:10:24 UTC -+++ lib/JAMA/tnt_math_utils.h -@@ -20,6 +20,14 @@ inline const _Tp& max(const _Tp& __a, co - namespace TNT - { - /** -+ @returns the absolute value of a real (no-complex) scalar. -+*/ -+template <class Real> -+Real abs(const Real &a) -+{ -+ return (a > 0 ? a : -a); -+} -+/** - @returns hypotenuse of real (non-complex) scalars a and b by - avoiding underflow/overflow - using (a * sqrt( 1 + (b/a) * (b/a))), rather than -@@ -56,15 +64,6 @@ Scalar max(const Scalar &a, const Scalar - } - */ - --/** -- @returns the absolute value of a real (no-complex) scalar. --*/ --template <class Real> --Real abs(const Real &a) --{ -- return (a > 0 ? a : -a); --} -- - } - #endif - /* MATH_UTILS_H */ diff --git a/audio/libofa/files/patch-lib_signal__op.cpp b/audio/libofa/files/patch-lib_signal__op.cpp deleted file mode 100644 index dc6f53d552e3..000000000000 --- a/audio/libofa/files/patch-lib_signal__op.cpp +++ /dev/null @@ -1,10 +0,0 @@ ---- lib/signal_op.cpp.orig 2016-07-26 15:10:24 UTC -+++ lib/signal_op.cpp -@@ -13,6 +13,7 @@ - - - #include <math.h> -+#include <stdlib.h> - #include "signal_op.h" - #include "AFLIB/aflibConverter.h" - #include "error_op.h" |