diff options
Diffstat (limited to 'media-plugins')
3 files changed, 15 insertions, 1 deletions
diff --git a/media-plugins/cmt-plugins/cmt-plugins-1.17-r1.ebuild b/media-plugins/cmt-plugins/cmt-plugins-1.17-r1.ebuild index 9ef01406f196..f38bf2a8d5a3 100644 --- a/media-plugins/cmt-plugins/cmt-plugins-1.17-r1.ebuild +++ b/media-plugins/cmt-plugins/cmt-plugins-1.17-r1.ebuild @@ -22,6 +22,7 @@ RDEPEND="" PATCHES=( "${FILESDIR}/${P}-makefile.patch" + "${FILESDIR}/${P}-clang.patch" ) DOCS="../README" diff --git a/media-plugins/cmt-plugins/files/cmt-plugins-1.17-clang.patch b/media-plugins/cmt-plugins/files/cmt-plugins-1.17-clang.patch new file mode 100644 index 000000000000..621816beaf5f --- /dev/null +++ b/media-plugins/cmt-plugins/files/cmt-plugins-1.17-clang.patch @@ -0,0 +1,13 @@ +diff --git a/src/disintegrator.cpp b/src/disintegrator.cpp +index 867fe37..7563a5d 100644 +--- a/src/disintegrator.cpp ++++ b/src/disintegrator.cpp +@@ -67,7 +67,7 @@ namespace disintegrator { + }; + + template<OutputFunction write_output> +- static void run(LADSPA_Handle instance, ++ void run(LADSPA_Handle instance, + unsigned long sample_count) { + + Plugin *pp = (Plugin *) instance; diff --git a/media-plugins/cmt-plugins/files/cmt-plugins-1.17-makefile.patch b/media-plugins/cmt-plugins/files/cmt-plugins-1.17-makefile.patch index ca76e859b5f7..93f3ab5df99c 100644 --- a/media-plugins/cmt-plugins/files/cmt-plugins-1.17-makefile.patch +++ b/media-plugins/cmt-plugins/files/cmt-plugins-1.17-makefile.patch @@ -16,7 +16,7 @@ index 159dd46..5c2c0f4 100644 plugin: $(PLUGIN_LIB) +%.o: %.cpp -+ $(CXX) $(INCLUDES) $(CFLAGS) -c -o $*.o $*.cpp ++ $(CXX) $(INCLUDES) $(CFLAGS) -fPIC -c -o $*.o $*.cpp + + targets: $(PLUGIN_LIB) |