summaryrefslogtreecommitdiff
path: root/audio/musepack/patches
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2017-12-18 13:01:17 +0000
committerjperkin <jperkin@pkgsrc.org>2017-12-18 13:01:17 +0000
commit0358248809d44caced2b45763edf09343be1d0db (patch)
tree03b9ae94e799cdb6c00fe77deeb492243b763d3f /audio/musepack/patches
parentdebbd921e43eb3146f310c6b2b8e7dc0c8d78e6a (diff)
downloadpkgsrc-0358248809d44caced2b45763edf09343be1d0db.tar.gz
musepack: Don't overwrite user CFLAGS with bogus ones.
Diffstat (limited to 'audio/musepack/patches')
-rw-r--r--audio/musepack/patches/patch-CMakeLists.txt17
1 files changed, 17 insertions, 0 deletions
diff --git a/audio/musepack/patches/patch-CMakeLists.txt b/audio/musepack/patches/patch-CMakeLists.txt
new file mode 100644
index 00000000000..0bfe0f5ed00
--- /dev/null
+++ b/audio/musepack/patches/patch-CMakeLists.txt
@@ -0,0 +1,17 @@
+$NetBSD: patch-CMakeLists.txt,v 1.1 2017/12/18 13:01:17 jperkin Exp $
+
+Don't overwrite user CFLAGS with bogus ones.
+
+--- CMakeLists.txt.orig 2010-07-13 11:15:24.000000000 +0000
++++ CMakeLists.txt
+@@ -15,10 +15,6 @@ endif(WIN32)
+
+ add_definitions(-DFAST_MATH -DCVD_FASTLOG)
+
+-if(NOT MSVC)
+- set(CMAKE_C_FLAGS "-O3 -Wall -fomit-frame-pointer -pipe")
+-endif(NOT MSVC)
+-
+ add_subdirectory(libmpcdec)
+ add_subdirectory(libmpcpsy)
+ add_subdirectory(libmpcenc)