Skip to contentSkip to conversation

fluidsynth: Explicitly disable readline support

PATCH In review Adrian Bunk 2 participants 2 messages May 8, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fluidsynth: Explicitly disable readline support

readline is GPL, so make it explicit that it shouldn't be enabled accidentally.

---
 meta-multimedia/recipes-multimedia/fluidsynth/fluidsynth_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-multimedia/recipes-multimedia/fluidsynth/fluidsynth_git.bb +1 -1
index 4f600a218..9a8cb87ba 100644
@@ -8,7 +8,7 @@ SRC_URI += " \
     file://0003-Use-ARM-NEON-accelaration-for-float-multithreaded-se.patch \
 "
 
-EXTRA_OECMAKE = "-Denable-floats=ON -DLIB_SUFFIX=${@d.getVar('baselib').replace('lib', '')}"
+EXTRA_OECMAKE = "-Denable-floats=ON -DLIB_SUFFIX=${@d.getVar('baselib').replace('lib', '')} -Denable-readline=OFF"
 
 do_configure_append() {
     make_tables.exe ${B}/
Signature · 1 line
2.17.1
#1 lore raw
Quoted 14 lines · Adrian Bunk

readline is GPL, so make it explicit that it shouldn't be enabled accidentally.

---
 meta-multimedia/recipes-multimedia/fluidsynth/fluidsynth_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-multimedia/recipes-multimedia/fluidsynth/fluidsynth_git.bb +0 -0
index 4f600a218..9a8cb87ba 100644

meta-multimedia/recipes-multimedia/fluidsynth/fluidsynth_git.bb SRC_URI += " \ · line 12

Quoted 6 lines
meta-multimedia/recipes-multimedia/fluidsynth/fluidsynth_git.bb +1 -1
@@ -8,7 +8,7 @@ SRC_URI += " \
     file://0003-Use-ARM-NEON-accelaration-for-float-multithreaded-se.patch \
 "
 
-EXTRA_OECMAKE = "-Denable-floats=ON -DLIB_SUFFIX=${@d.getVar('baselib').replace('lib', '')}"
+EXTRA_OECMAKE = "-Denable-floats=ON -DLIB_SUFFIX=${@d.getVar('baselib').replace('lib', '')} -Denable-readline=OFF"
 

If yo don't like it make a packageconfig out of it but keep it enabled because I am not willing to test this change for you.

Andreas