diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-03-09 16:53:27 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-03-09 16:53:27 +0000 |
commit | 80208fb578cf92cc308906660ca6d7860c6b2a1f (patch) | |
tree | 6f06818031b553c506fc10dfe9908a835df288aa /media-sound/bpmdetect/files | |
parent | 06a7b5647e11a8ddf69b1c3d3ded6a8ba28b923e (diff) |
gentoo resync : 09.03.2018
Diffstat (limited to 'media-sound/bpmdetect/files')
3 files changed, 0 insertions, 140 deletions
diff --git a/media-sound/bpmdetect/files/bpmdetect-0.6.1-fix-buildsystem.patch b/media-sound/bpmdetect/files/bpmdetect-0.6.1-fix-buildsystem.patch deleted file mode 100644 index fa6c0e59db68..000000000000 --- a/media-sound/bpmdetect/files/bpmdetect-0.6.1-fix-buildsystem.patch +++ /dev/null @@ -1,67 +0,0 @@ -* Fix QA issues in desktop file -* Make buildsystem respect CXX, CXXFLAGS and LDFLAGS -https://bugs.gentoo.org/show_bug.cgi?id=334465 - ---- bpmdetect/src/bpmdetect.desktop -+++ bpmdetect/src/bpmdetect.desktop -@@ -2,7 +2,7 @@ - Encoding=UTF-8 - Name=BPMDetect - Exec=bpmdetect --Icon=bpmdetect-icon.png -+Icon=bpmdetect-icon - Type=Application - Comment=Automatic BPM detection utility --Categories=Application;AudioVideo;Audio: -+Categories=AudioVideo;Audio; ---- bpmdetect/src/SConscript -+++ bpmdetect/src/SConscript -@@ -1,5 +1,6 @@ - #! /usr/bin/env python - import os, sys, glob -+import SCons.Util - - if not sys.platform.startswith('win'): - BOLD ="\033[1m" -@@ -156,17 +157,18 @@ - env.__delitem__('CPPPATH') - if env.has_key('CPPDEFINES'): - env.__delitem__('CPPDEFINES') -- if env.has_key('CXXFLAGS'): -- env.__delitem__('CXXFLAGS') - if env.has_key('LIBPATH'): - env.__delitem__('LIBPATH') - if env.has_key('LIBS'): - env.__delitem__('LIBS') -- if env.has_key('LINKFLAGS'): -- env.__delitem__('LINKFLAGS') - if env.has_key('QT3'): - env.__delitem__('QT3') - -+ if os.environ.has_key('CXXFLAGS'): -+ env['CXXFLAGS'] += SCons.Util.CLVar(os.environ['CXXFLAGS']) -+ if os.environ.has_key('LDFLAGS'): -+ env['LINKFLAGS'] += SCons.Util.CLVar(os.environ['LDFLAGS']) -+ - print BOLD + """ - --------------------------------------------------""" + NORMAL - print "Use MinGW compiler : ", -@@ -189,7 +191,6 @@ - env.Append(CXXFLAGS = '-g') - else: - print 'no ' -- env.Append(CXXFLAGS = '-O2' ) - env.Append(CPPDEFINES = ['NDEBUG', 'NO_DEBUG']) - env['DEBUG'] = 0 - -@@ -309,6 +310,10 @@ - ( 'LINKFLAGS', 'linker flags'), - ( 'QT3', 'use qt3') - ) -+if os.environ.has_key('CC'): -+ env['CC'] = os.environ['CC'] -+if os.environ.has_key('CXX'): -+ env['CXX'] = os.environ['CXX'] - opts.Update(env) - - # to avoid an error message 'how to make target configure... ?' diff --git a/media-sound/bpmdetect/files/bpmdetect-0.6.1-fix-printf-format.patch b/media-sound/bpmdetect/files/bpmdetect-0.6.1-fix-printf-format.patch deleted file mode 100644 index 89bf64445e76..000000000000 --- a/media-sound/bpmdetect/files/bpmdetect-0.6.1-fix-printf-format.patch +++ /dev/null @@ -1,37 +0,0 @@ -Fix broken printf statements: -* src/main.cpp:49:62: warning: too many arguments for format [-Wformat-extra-args] -* printf("Usage:\n bpmdetect [switches] [files]\n\n", version); -* -* src/track.cpp:111:57: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘double’ [-Wformat=] -* snprintf(buffer, BPM_LEN, "%05d", (int) dBPM * 100. ); - ---- bpmdetect/src/main.cpp -+++ bpmdetect/src/main.cpp -@@ -34,6 +34,7 @@ - #endif - - #include <getopt.h> -+#include <stdio.h> - - #include "track.h" - #include "trackfmod.h" // for FMOD system -@@ -46,7 +47,7 @@ - - void display_help() { - printf("BPMDetect version %s\n\n", version); -- printf("Usage:\n bpmdetect [switches] [files]\n\n", version); -+ fputs("Usage:\n bpmdetect [switches] [files]\n\n", stdout); - printf("Switches:\n"); - #ifndef NO_GUI - printf("-c --console - run in console mode\n"); ---- bpmdetect/src/track.cpp -+++ bpmdetect/src/track.cpp -@@ -108,7 +108,7 @@ - } else if( format == "000" ) { - snprintf(buffer, BPM_LEN, "%03d", (int) dBPM ); - } else if( format == "00000" ) { -- snprintf(buffer, BPM_LEN, "%05d", (int) dBPM * 100. ); -+ snprintf(buffer, BPM_LEN, "%05d", static_cast<int>(dBPM * 100.) ); - } else { // all other formats are converted to "0.00" - snprintf(buffer, BPM_LEN, "%.2f", dBPM ); - } diff --git a/media-sound/bpmdetect/files/bpmdetect-0.6.1-gcc44_and_fmodex_path.patch b/media-sound/bpmdetect/files/bpmdetect-0.6.1-gcc44_and_fmodex_path.patch deleted file mode 100644 index c29961645615..000000000000 --- a/media-sound/bpmdetect/files/bpmdetect-0.6.1-gcc44_and_fmodex_path.patch +++ /dev/null @@ -1,36 +0,0 @@ -diff -ur bpmdetect.orig/src/main.cpp bpmdetect/src/main.cpp ---- bpmdetect.orig/src/main.cpp 2008-05-01 12:50:18.000000000 +0300 -+++ bpmdetect/src/main.cpp 2009-06-03 22:24:56.000000000 +0300 -@@ -20,6 +20,8 @@ - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * - ***************************************************************************/ - -+#include <cstdio> -+ - #ifndef NO_GUI - #ifdef USE_QT3 - #include "dlgbpmdetect3.h" -diff -ur bpmdetect.orig/src/SConscript bpmdetect/src/SConscript ---- bpmdetect.orig/src/SConscript 2008-04-24 19:49:52.000000000 +0300 -+++ bpmdetect/src/SConscript 2009-06-03 22:33:57.000000000 +0300 -@@ -234,7 +234,7 @@ - - env.Append(LIBS = ['id3', 'fmodex', 'z']) - env.Append(CPPPATH = ['.', '..', '../includes']) -- env.Append(LIBPATH = ['.', '../libs']) -+ env.Append(LIBPATH = ['.', '../libs', '/opt/fmodex/api/lib']) - env['ISCONFIGURED']=1 - # And finally save the options in the cache - opts.Save(cachefile, env) -diff -ur bpmdetect.orig/src/track.cpp bpmdetect/src/track.cpp ---- bpmdetect.orig/src/track.cpp 2008-04-25 22:33:18.000000000 +0300 -+++ bpmdetect/src/track.cpp 2009-06-03 22:26:24.000000000 +0300 -@@ -20,6 +20,8 @@ - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * - ***************************************************************************/ - -+#include <cstdio> -+ - #include "track.h" - #include "trackfmod.h" - #include "BPMDetect.h" |