summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/herrie/files/herrie-2.2-fix-buildsystem.patch')
-rw-r--r--media-sound/herrie/files/herrie-2.2-fix-buildsystem.patch14
1 files changed, 7 insertions, 7 deletions
diff --git a/media-sound/herrie/files/herrie-2.2-fix-buildsystem.patch b/media-sound/herrie/files/herrie-2.2-fix-buildsystem.patch
index 03a2c7397da..ce01e5c0c6e 100644
--- a/media-sound/herrie/files/herrie-2.2-fix-buildsystem.patch
+++ b/media-sound/herrie/files/herrie-2.2-fix-buildsystem.patch
@@ -3,19 +3,19 @@ Fix ncurses underlinking by using the pkg-config output instead of assuming
directive. See also:
https://bugs.gentoo.org/show_bug.cgi?id=573522
---- herrie-2.2/configure
-+++ herrie-2.2/configure
+--- a/configure
++++ b/configure
@@ -215,7 +215,7 @@
exit 1
fi
CFLAGS_main="-DAUDIO_OUTPUT=\\\"$CFG_AO\\\" -DCONFFILE=\\\"$CONFFILE\\\""
-LDFLAGS="$LDFLAGS -L$PREFIX/lib -l$CFG_CURSES_LIB"
-+LDFLAGS="$LDFLAGS -L$PREFIX/lib `pkg-config --libs $CFG_CURSES_LIB`"
++LDFLAGS="$LDFLAGS -L$PREFIX/lib `${PKG_CONFIG} --libs $CFG_CURSES_LIB`"
SRCS="audio_file audio_output_$CFG_AO config gui_browser gui_draw \
gui_input gui_msgbar gui_playq gui_vfslist main playq playq_party \
playq_xmms vfs vfs_playlist vfs_regular"
---- herrie-2.2/src/audio_format_modplug.c
-+++ herrie-2.2/src/audio_format_modplug.c
+--- a/src/audio_format_modplug.c
++++ b/src/audio_format_modplug.c
@@ -31,7 +31,7 @@
#include "stdinc.h"
@@ -25,8 +25,8 @@ https://bugs.gentoo.org/show_bug.cgi?id=573522
#include "audio_file.h"
#include "audio_format.h"
---- herrie-2.2/src/main.c
-+++ herrie-2.2/src/main.c
+--- a/src/main.c
++++ b/src/main.c
@@ -165,7 +165,7 @@
#endif /* CLOSE_STDERR */
if ((errmsg = vfs_lockup()) != NULL) {