media-radio/qrq: Add missing patch file
authorThomas Beierlein <tomjbe@gentoo.org>
Mon, 22 Apr 2019 17:49:53 +0000 (19:49 +0200)
committerThomas Beierlein <tomjbe@gentoo.org>
Mon, 22 Apr 2019 17:49:53 +0000 (19:49 +0200)
Thanks to Toralf Foerster for reporting

Closes:https://bugs.gentoo.org/684032

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org>
media-radio/qrq/files/qrq-0.3.2-tinfo.patch [new file with mode: 0644]

diff --git a/media-radio/qrq/files/qrq-0.3.2-tinfo.patch b/media-radio/qrq/files/qrq-0.3.2-tinfo.patch
new file mode 100644 (file)
index 0000000..6a0f38d
--- /dev/null
@@ -0,0 +1,20 @@
+--- a/Makefile 2019-04-19 16:16:08.354994946 +0200
++++ b/Makefile 2019-04-19 16:18:30.711734410 +0200
+@@ -56,7 +56,7 @@
+               endif
+ else ifeq ($(USE_PA), YES)
+               CFLAGS:=$(CFLAGS) -D PA -pthread
+-              LDFLAGS:=$(LDFLAGS) -lpthread -lpulse-simple -lpulse -lncurses
++              LDFLAGS:=$(LDFLAGS) -lpthread -lpulse-simple -lpulse $(shell pkg-config ncurses --libs)
+               OBJECTS=qrq.o pulseaudio.o
+ else ifeq ($(USE_WIN32), YES)
+               CFLAGS:=$(CFLAGS) -D WIN32 -Iinclude -Iinclude/ncursesw
+@@ -64,7 +64,7 @@
+               OBJECTS=qrq.o qrq.res lib/libncursesw.a
+ else
+               OBJECTS=qrq.o oss.o
+-              LDFLAGS:=$(LDFLAGS) -lpthread -lncurses
++              LDFLAGS:=$(LDFLAGS) -lpthread $(shell pkg-config ncurses --libs)
+               CFLAGS:=$(CFLAGS) -D OSS
+ endif