diff options
Diffstat (limited to 'media-sound/guitarix/files')
-rw-r--r-- | media-sound/guitarix/files/guitarix-0.40.0-noexecstack.patch | 26 | ||||
-rw-r--r-- | media-sound/guitarix/files/guitarix-0.40.0-nostrip.patch | 24 |
2 files changed, 50 insertions, 0 deletions
diff --git a/media-sound/guitarix/files/guitarix-0.40.0-noexecstack.patch b/media-sound/guitarix/files/guitarix-0.40.0-noexecstack.patch new file mode 100644 index 000000000000..f64a21f26b51 --- /dev/null +++ b/media-sound/guitarix/files/guitarix-0.40.0-noexecstack.patch @@ -0,0 +1,26 @@ +From fc3e0b4754425bb262c8bcfd24cd345dd10e8d60 Mon Sep 17 00:00:00 2001 +From: brummer10 <brummer-@web.de> +Date: Fri, 5 Jun 2020 06:41:30 +0200 +Subject: [PATCH] Fix issue #104 lv2 plugins contains executable stack, patch + by Alexander Tsoy + +--- + trunk/src/LV2/xputty/resources/wscript | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/LV2/xputty/resources/wscript b/src/LV2/xputty/resources/wscript +index a2f0402c..3c383393 100644 +--- a/src/LV2/xputty/resources/wscript ++++ b/src/LV2/xputty/resources/wscript +@@ -41,7 +41,7 @@ def img2obj(task): + src = " ".join(["'%s'" % os.path.splitext(v.name)[0] for v in task.inputs[0:]]) + cmd = ("cd src/LV2/xputty/resources/ \ + && for f in %s; do\ +- %s -r -b binary ${f}.png -o ${f}.o; \ ++ %s -r -b binary -z noexecstack ${f}.png -o ${f}.o; \ + done " % (src, env.LD[0]) ) + # Logs.debug("runner: system command -> %s" % cmd) + ret = task.exec_command(cmd, shell=True) +-- +2.26.2 + diff --git a/media-sound/guitarix/files/guitarix-0.40.0-nostrip.patch b/media-sound/guitarix/files/guitarix-0.40.0-nostrip.patch new file mode 100644 index 000000000000..2bc77f443b16 --- /dev/null +++ b/media-sound/guitarix/files/guitarix-0.40.0-nostrip.patch @@ -0,0 +1,24 @@ +From 3dd1e0a8ea7db95b76a7b38e27a9b54d6fe75c76 Mon Sep 17 00:00:00 2001 +From: Alexander Tsoy <alexander@tsoy.me> +Date: Fri, 5 Jun 2020 17:21:10 +0300 +Subject: [PATCH] Do not strip lv2 plugins + +--- + trunk/wscript | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/wscript b/wscript +index 2699325f..f2d8f86d 100644 +--- a/wscript ++++ b/wscript +@@ -375,7 +375,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 +-- +2.26.2 + |