summaryrefslogtreecommitdiff
path: root/media-radio/unixcw/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /media-radio/unixcw/files
reinit the tree, so we can have metadata
Diffstat (limited to 'media-radio/unixcw/files')
-rw-r--r--media-radio/unixcw/files/unixcw-3.5-tinfo.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/media-radio/unixcw/files/unixcw-3.5-tinfo.patch b/media-radio/unixcw/files/unixcw-3.5-tinfo.patch
new file mode 100644
index 000000000000..af85350e7ae3
--- /dev/null
+++ b/media-radio/unixcw/files/unixcw-3.5-tinfo.patch
@@ -0,0 +1,30 @@
+--- configure.ac.old 2017-03-07 13:31:46.074580930 +0100
++++ configure.ac 2017-03-07 13:33:25.640924331 +0100
+@@ -347,7 +347,7 @@
+ AC_DEFINE([LIBCW_WITH_PULSEAUDIO], [1], [Define as 1 if your build machine can support PulseAudio.])
+ fi
+
+-
++PKG_PROG_PKG_CONFIG
+
+ if test "$enable_cwcp" = "no" ; then
+ WITH_CWCP='no'
+@@ -355,6 +355,7 @@
+ AC_CHECK_LIB(curses, initscr)
+ if test $ac_cv_lib_curses_initscr = 'yes' ; then
+ WITH_CWCP='yes'
++ PKG_CHECK_MODULES(ncurses, ncurses, [NCURSES_LIB="$ncurses_LIBS"], )
+ else
+ WITH_CWCP='no'
+ AC_MSG_WARN([Cannot find libcurses - unable to build cwcp])
+--- src/cwcp/Makefile.am.old 2017-03-07 13:30:10.813167002 +0100
++++ src/cwcp/Makefile.am 2017-03-07 13:30:28.950864931 +0100
+@@ -26,7 +26,7 @@
+ # target-specific preprocessor flags (#defs and include dirs)
+ #cwcp_CPPFLAGS = -I$(top_srcdir)/src/cwutils/ -I$(top_srcdir)/src/libcw/
+ # target-specific linker flags (objects to link)
+-cwcp_LDADD = -lcurses -L$(top_builddir)/src/libcw/.libs -lcw $(top_builddir)/src/cwutils/lib_cwcp.a
++cwcp_LDADD = $(ncurses_LIBS) -L$(top_builddir)/src/libcw/.libs -lcw $(top_builddir)/src/cwutils/lib_cwcp.a
+
+
+ # copy man page to proper directory during installation