diff options
author | Jean-Yves Lefort <jylefort@FreeBSD.org> | 2006-12-04 16:07:56 +0000 |
---|---|---|
committer | Jean-Yves Lefort <jylefort@FreeBSD.org> | 2006-12-04 16:07:56 +0000 |
commit | 0d2a4ca76efa34339608f9ba29777fe742de4c4c (patch) | |
tree | 3657232bc0f1f7b34630666ce9aaf359edbfc39c /audio/lmms/files | |
parent | 7e15092dd076cf9a52128cafa45d06ebf9e9985c (diff) |
Notes
Diffstat (limited to 'audio/lmms/files')
5 files changed, 70 insertions, 0 deletions
diff --git a/audio/lmms/files/patch-configure.in b/audio/lmms/files/patch-configure.in new file mode 100644 index 000000000000..c43122575d02 --- /dev/null +++ b/audio/lmms/files/patch-configure.in @@ -0,0 +1,12 @@ +--- configure.in.orig Mon Dec 4 15:23:38 2006 ++++ configure.in Mon Dec 4 15:35:43 2006 +@@ -62,9 +62,6 @@ + fi + fi + +-CFLAGS="$DEFAULTFLAGS $CFLAGS" +-CXXFLAGS="$DEFAULTFLAGS $CXXFLAGS" +- + AC_PATH_XTRA + gw_CHECK_QT + diff --git a/audio/lmms/files/patch-plugins_ladspa__base_ladspa__manager.cpp b/audio/lmms/files/patch-plugins_ladspa__base_ladspa__manager.cpp new file mode 100644 index 000000000000..10189ab360b3 --- /dev/null +++ b/audio/lmms/files/patch-plugins_ladspa__base_ladspa__manager.cpp @@ -0,0 +1,17 @@ +--- plugins/ladspa_base/ladspa_manager.cpp.orig Mon Dec 4 15:22:27 2006 ++++ plugins/ladspa_base/ladspa_manager.cpp Mon Dec 4 16:06:22 2006 +@@ -63,12 +63,11 @@ + configManager::inst()->ladspaDir() ); + #endif + +- ladspaDirectories.push_back( "/usr/lib/lmms/ladspa" ); ++ ladspaDirectories.push_back( "@PREFIX@/lib/lmms/ladspa" ); + /* // set default-directory if nothing is specified... + if( ladspaDirectories.isEmpty() ) + {*/ +- ladspaDirectories.push_back( "/usr/lib/ladspa" ); +- ladspaDirectories.push_back( "/usr/local/lib/ladspa" ); ++ ladspaDirectories.push_back( "@LOCALBASE@/lib/ladspa" ); + // } + for( QStringList::iterator it = ladspaDirectories.begin(); + it != ladspaDirectories.end(); ++it ) diff --git a/audio/lmms/files/patch-plugins_ladspa__effect_caps_Makefile.am b/audio/lmms/files/patch-plugins_ladspa__effect_caps_Makefile.am new file mode 100644 index 000000000000..f4352906490c --- /dev/null +++ b/audio/lmms/files/patch-plugins_ladspa__effect_caps_Makefile.am @@ -0,0 +1,20 @@ +--- plugins/ladspa_effect/caps/Makefile.am.orig Mon Dec 4 15:22:22 2006 ++++ plugins/ladspa_effect/caps/Makefile.am Mon Dec 4 16:16:23 2006 +@@ -1,8 +1,6 @@ + AUTOMAKE_OPTIONS = foreign 1.4 + + +-AM_CXXFLAGS := $(AM_CXXFLAGS) -O6 -ffast-math -funroll-loops -ftracer +- + DEST = $(libdir)/$(PACKAGE)/ladspa + SOURCES = $(wildcard *.cc) + HDRS = $(wildcard *.h) $(wildcard dsp/*.h) +@@ -23,7 +21,7 @@ + -rm $(DEST)/caps.so + + depend: $(SOURCES) +- $(CXX) -MM $(AM_CXXFLAGS) $(SOURCES) > depend ++ $(CXX) -MM $(CPPFLAGS) $(AM_CXXFLAGS) $(SOURCES) > depend + + .cc.o: + $(CXX) $(CXXFLAGS) $(AM_CXXFLAGS) -c $< diff --git a/audio/lmms/files/patch-plugins_organic_organic.cpp b/audio/lmms/files/patch-plugins_organic_organic.cpp new file mode 100644 index 000000000000..92490cd0df8c --- /dev/null +++ b/audio/lmms/files/patch-plugins_organic_organic.cpp @@ -0,0 +1,10 @@ +--- plugins/organic/organic.cpp.orig Mon Dec 4 15:22:23 2006 ++++ plugins/organic/organic.cpp Mon Dec 4 16:02:07 2006 +@@ -64,6 +64,7 @@ + #include "embed.cpp" + #include "volume_knob.h" + ++#define log2f(x) (logf((x)) / logf(2)) + + extern "C" + { diff --git a/audio/lmms/files/patch-src_core_config__mgr.cpp b/audio/lmms/files/patch-src_core_config__mgr.cpp new file mode 100644 index 000000000000..5a2efa7c41c8 --- /dev/null +++ b/audio/lmms/files/patch-src_core_config__mgr.cpp @@ -0,0 +1,11 @@ +--- src/core/config_mgr.cpp.orig Mon Dec 4 15:22:34 2006 ++++ src/core/config_mgr.cpp Mon Dec 4 16:00:06 2006 +@@ -875,7 +875,7 @@ + #ifdef LADSPA_SUPPORT + if( m_ladDir == "" ) + { +- m_ladDir = "/usr/lib/ladspa/:/usr/local/lib/ladspa/"; ++ m_ladDir = "@LOCALBASE@/lib/ladspa/"; + } + #endif + |