diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/musepack-tools/math.patch |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/musepack-tools/math.patch')
-rw-r--r-- | community/musepack-tools/math.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/community/musepack-tools/math.patch b/community/musepack-tools/math.patch new file mode 100644 index 000000000..11588cbbf --- /dev/null +++ b/community/musepack-tools/math.patch @@ -0,0 +1,22 @@ +--- include/mpc/mpcmath.h.orig 2009-07-25 16:49:10.000000000 +0300 ++++ include/mpc/mpcmath.h 2009-07-31 15:33:45.000000000 +0300 +@@ -16,6 +16,8 @@ + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + ++#include <math.h> ++ + #include <mpc/mpc_types.h> + + typedef union mpc_floatint +--- CMakeLists.txt.orig 2008-03-29 20:23:23.000000000 +0100 ++++ CMakeLists.txt 2010-02-04 12:31:27.498930581 +0100 +@@ -9,7 +9,7 @@ + add_definitions(-DFAST_MATH -DCVD_FASTLOG) + + if(NOT MSVC) +-set(CMAKE_C_FLAGS "-O3 -fomit-frame-pointer -pipe") ++set(CMAKE_C_FLAGS "-O3 -fomit-frame-pointer -pipe -lm") + endif(NOT MSVC) + + add_subdirectory(libmpcdec) |