From 8fd7bc607a8e4b26853b4263153a736767b163cd Mon Sep 17 00:00:00 2001 From: root Date: Sat, 15 Oct 2011 23:14:29 +0000 Subject: Sat Oct 15 23:14:29 UTC 2011 --- community/musepack-tools/math.patch | 22 ++++++---------------- 1 file changed, 6 insertions(+), 16 deletions(-) (limited to 'community/musepack-tools/math.patch') diff --git a/community/musepack-tools/math.patch b/community/musepack-tools/math.patch index 11588cbbf..61b3d07ec 100644 --- a/community/musepack-tools/math.patch +++ b/community/musepack-tools/math.patch @@ -1,22 +1,12 @@ ---- 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 -+ - #include - - 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 @@ +diff -aur musepack_src_r475.old/CMakeLists.txt musepack_src_r475/CMakeLists.txt +--- musepack_src_r475.old/CMakeLists.txt 2011-10-14 16:31:05.536450109 +0800 ++++ musepack_src_r475/CMakeLists.txt 2011-10-14 16:31:34.022962450 +0800 +@@ -16,7 +16,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") +- set(CMAKE_C_FLAGS "-O3 -Wall -fomit-frame-pointer -pipe") ++ set(CMAKE_C_FLAGS "-O3 -Wall -fomit-frame-pointer -pipe -lm") endif(NOT MSVC) add_subdirectory(libmpcdec) -- cgit v1.2.3-54-g00ecf