Download raw body.
[patch] audio/moc: enable ui resize
audio/moc is using autotools to check for some Posix support, but that
in turn disable the SIGWINCH signal, which only recently became part of
Posix.
I don't know if my diff is the correct way to reenable it. But it was the
quickest for me. And it didn't impact music playback in my quick test.
diff --git audio/moc/Makefile audio/moc/Makefile
index f74e77135..48d98e1c2 100644
--- audio/moc/Makefile
+++ audio/moc/Makefile
@@ -3,7 +3,7 @@ COMMENT = console audio player
DIST_TUPLE+= gitlab tomaszg mocp fb0a63b564b40fa861204e2f804b696c6ee573da .
PKGNAME = moc-2.6alpha3
CATEGORIES = audio
-REVISION = 4
+REVISION = 5
# GPLv3+
PERMIT_PACKAGE = Yes
@@ -70,7 +70,7 @@ CONFIGURE_ARGS += \
--with-magic \
--with-ltdl-include=${LOCALBASE}/include \
--with-ltdl-lib=${LOCALBASE}/lib
-CONFIGURE_ENV = CPPFLAGS="-Wno-unused-but-set-parameter -I${LOCALBASE}/include" \
+CONFIGURE_ENV = CPPFLAGS="-D_BSD_SOURCE=1 -Wno-unused-but-set-parameter -I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
pre-install:
[patch] audio/moc: enable ui resize