diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-03-11 12:45:52 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-03-11 12:45:52 +0000 |
commit | 8b4349b75818953123e2d4b80963181a9640c8e3 (patch) | |
tree | bd5d9faded1a62202daa603120c8ccd5216c79e9 /media-sound/guitarix/files | |
parent | e96f09a840f1ac865c504febe44bad831c63750e (diff) |
gentoo auto-resync : 11:03:2024 - 12:45:51
Diffstat (limited to 'media-sound/guitarix/files')
3 files changed, 57 insertions, 0 deletions
diff --git a/media-sound/guitarix/files/guitarix-0.44.1-fix-flto.patch b/media-sound/guitarix/files/guitarix-0.44.1-fix-flto.patch new file mode 100644 index 000000000000..695c89c4de7a --- /dev/null +++ b/media-sound/guitarix/files/guitarix-0.44.1-fix-flto.patch @@ -0,0 +1,16 @@ +From ecea56a6fa388cfcf29aaff3817ddc0e3518637f Mon Sep 17 00:00:00 2001 +From: brummer10 <brummer-@web.de> +Date: Sat, 9 Mar 2024 09:12:36 +0100 +Subject: [PATCH] Fix issue #149 build system: LTO detection fails if + -flto=auto or similar is used + +--- a/waftools/cpu_optimization.py ++++ b/waftools/cpu_optimization.py +@@ -168,6 +168,6 @@ def configure(conf): + conf.env['OPT'] = False + cpu_model = append_optimization_flags(conf, cxxflags) + +- if '-flto' in cxxflags: ++ if any(x.startswith('-flto') for x in cxxflags): + cxxflags.append ("-ffat-lto-objects") + diff --git a/media-sound/guitarix/files/guitarix-0.45.0-fix-flto.patch b/media-sound/guitarix/files/guitarix-0.45.0-fix-flto.patch new file mode 100644 index 000000000000..8f832da0c102 --- /dev/null +++ b/media-sound/guitarix/files/guitarix-0.45.0-fix-flto.patch @@ -0,0 +1,11 @@ +--- a/waftools/cpu_optimization.py ++++ b/waftools/cpu_optimization.py +@@ -168,7 +168,7 @@ def configure(conf): + conf.env['OPT'] = False + cpu_model = append_optimization_flags(conf, cxxflags) + +- if '-flto' in cxxflags: ++ if any(x.startswith('-flto') for x in cxxflags): + conf.env['LTO'] = True + cxxflags.append ("-ffat-lto-objects") + diff --git a/media-sound/guitarix/files/guitarix-0.45.0-nostrip.patch b/media-sound/guitarix/files/guitarix-0.45.0-nostrip.patch new file mode 100644 index 000000000000..e26256ae7aa0 --- /dev/null +++ b/media-sound/guitarix/files/guitarix-0.45.0-nostrip.patch @@ -0,0 +1,30 @@ +--- a/waftools/lv2.py ++++ b/waftools/lv2.py +@@ -40,7 +40,7 @@ def lv2_add_common(tg, target, install_path, defines=None, linkflags=None, cxxfl + @Configure.conf + def lv2(bld, *k, **kw): + lv2_base, dst = get_lv2_base(bld, kw) +- tg = bld.shlib(features='strip', *k, **kw) ++ tg = bld.shlib(*k, **kw) + cxxflags = [] + if not bld.env['OPT'] and bld.env['SSE2']: + cxxflags = [ "-msse2", "-mfpmath=sse"] +@@ -57,7 +57,7 @@ def lv2_gui(bld, *k, **kw): + if not bld.env['LV2GUI']: + return None + lv2_base, dst = get_lv2_base(bld, kw) +- tg = bld.shlib(features='strip', *k, **kw) ++ tg = bld.shlib(*k, **kw) + lv2_add_common(tg, lv2_base+'_gui', dst, ["LV2_GUI"], bld.env['OS_LV2_CXXFLAGS']) + return tg + +--- a/wscript ++++ b/wscript +@@ -418,7 +418,6 @@ def configure(conf): + conf.env['DESKAPPS_DIR'] = os.path.normpath(os.path.join(conf.env['SHAREDIR'], 'applications')) + conf.env['BIN_NAME'] = APPNAME + if opt.lv2: +- conf.gxload('strip') + conf.gxload('lv2') + conf.env['LADSPA'] = opt.ladspa + conf.env['NEW_LADSPA'] = opt.new_ladspa |