Skip to content

Commit

Permalink
media-radio/qrq: Add missing patch file
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
dl1jbe committed Apr 22, 2019
1 parent c2eb616 commit 43ec94a
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions media-radio/qrq/files/qrq-0.3.2-tinfo.patch
@@ -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

0 comments on commit 43ec94a

Please sign in to comment.