diff --git a/srcpkgs/fbterm/patches/fix-musl.patch b/srcpkgs/fbterm/patches/fix-musl.patch new file mode 100644 index 00000000000..5d4f3b792bd --- /dev/null +++ b/srcpkgs/fbterm/patches/fix-musl.patch @@ -0,0 +1,51 @@ +--- src/improxy.cpp.orig 2015-09-03 21:53:02.344049550 +0200 ++++ src/improxy.cpp 2015-09-03 21:52:56.378049997 +0200 +@@ -24,6 +24,7 @@ + #include + #include + #include ++#include + #include "improxy.h" + #include "immessage.h" + #include "fbconfig.h" +--- src/signalfd.h.orig 2015-09-03 21:54:58.500040857 +0200 ++++ src/signalfd.h 2015-09-03 21:55:04.521040406 +0200 +@@ -20,6 +20,7 @@ + #define _SYS_SIGNALFD_H 1 + + #define __need_sigset_t ++#include + #include + #include + + +--- src/fbterm.cpp.orig 2015-09-03 22:05:54.491985444 +0200 ++++ src/fbterm.cpp 2015-09-03 22:04:51.465990161 +0200 +@@ -23,6 +23,8 @@ + #include + #include + #include ++#include ++#include + #include + #include + #include +@@ -211,7 +209,7 @@ void FbTerm::processSignal(u32 signo) + + case SIGCHLD: + if (mRun) { +- s32 pid = waitpid(WAIT_ANY, 0, WNOHANG); ++ s32 pid = waitpid(-1, 0, WNOHANG); + if (pid > 0) { + FbShellManager::instance()->childProcessExited(pid); + } +--- src/mouse.cpp.orig 2015-09-03 22:00:12.119017385 +0200 ++++ src/mouse.cpp 2015-09-03 22:00:21.070016715 +0200 +@@ -26,6 +26,7 @@ DEFINE_INSTANCE(Mouse) + + #include + #include ++#include + #include + #include + #include diff --git a/srcpkgs/fbterm/template b/srcpkgs/fbterm/template index 9072fc1fbea..0d704f07220 100644 --- a/srcpkgs/fbterm/template +++ b/srcpkgs/fbterm/template @@ -1,7 +1,7 @@ # Template file for 'fbterm' pkgname=fbterm version=1.7.0 -revision=1 +revision=2 wrksrc="${pkgname}-${version%.*}" build_style=gnu-configure configure_args="--enable-gpm"