Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/flathub/shared-modules.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lame
diff options
context:
space:
mode:
authorUnrud <unrud@outlook.com>2018-10-14 19:26:16 +0300
committerTingPing <tingping@tingping.se>2018-10-14 20:37:24 +0300
commitfe0c3d93636875e90362e2bbc5ba88114d98e482 (patch)
tree4158e91a484d8e70223b74beaaa7307a377792b7 /lame
parent7d800102bdcbaf6ca5adf349635a6f22be6f3328 (diff)
Fix lame with Freedesktop runtime 18.08
The compilation did fail. Patch from Gentoo.
Diffstat (limited to 'lame')
-rw-r--r--lame/lame-3.99.5.json5
-rw-r--r--lame/lame-tinfo.patch23
2 files changed, 28 insertions, 0 deletions
diff --git a/lame/lame-3.99.5.json b/lame/lame-3.99.5.json
index f6cf518..3b431dc 100644
--- a/lame/lame-3.99.5.json
+++ b/lame/lame-3.99.5.json
@@ -21,6 +21,11 @@
"path": "lame-ansi2knr2devnull.patch"
},
{
+ "type": "patch",
+ "path": "lame-tinfo.patch",
+ "strip-components": 0
+ },
+ {
"type": "script",
"dest-filename": "autogen.sh",
"commands": [
diff --git a/lame/lame-tinfo.patch b/lame/lame-tinfo.patch
new file mode 100644
index 0000000..cb570e7
--- /dev/null
+++ b/lame/lame-tinfo.patch
@@ -0,0 +1,23 @@
+initscr is not used anywhere in lame sourcetree, check for used tgetent instead
+check for separate tinfo library optionally built out from libncurses source tree,
+like used in debian and gentoo
+- ssuominen@g.o
+
+http://bugs.gentoo.org/454322
+
+--- configure.in
++++ configure.in
+@@ -372,9 +372,10 @@
+
+ AC_CHECK_HEADERS(termcap.h)
+ AC_CHECK_HEADERS(ncurses/termcap.h)
+-AC_CHECK_LIB(termcap, initscr, HAVE_TERMCAP="termcap")
+-AC_CHECK_LIB(curses, initscr, HAVE_TERMCAP="curses")
+-AC_CHECK_LIB(ncurses, initscr, HAVE_TERMCAP="ncurses")
++AC_CHECK_LIB(termcap, tgetent, HAVE_TERMCAP="termcap")
++AC_CHECK_LIB(curses, tgetent, HAVE_TERMCAP="curses")
++AC_CHECK_LIB(ncurses, tgetent, HAVE_TERMCAP="ncurses")
++AC_CHECK_LIB(tinfo, tgetent, HAVE_TERMCAP="tinfo")
+
+ AM_ICONV
+