diff --git a/pkgs/osm/map-machine/default.nix b/pkgs/osm/map-machine/default.nix
index 7db177eae6eb8e8b7524329e2d13373c390d6481..33a46bacb59d0f629c95ee102f78435aaa837861 100644
--- a/pkgs/osm/map-machine/default.nix
+++ b/pkgs/osm/map-machine/default.nix
@@ -2,14 +2,14 @@ { lib, fetchFromGitHub, python3Packages, portolan }:
python3Packages.buildPythonApplication rec {
pname = "map-machine";
disabled = python3Packages.pythonOlder "3.9";
src = fetchFromGitHub {
owner = "enzet";
repo = pname;
};
propagatedBuildInputs = with python3Packages; [
diff --git a/pkgs/suckless/amused/default.nix b/pkgs/suckless/amused/default.nix
index 624fe7994dcde81529406ee948082e468c30b414..1e4019cfa79c64f2cc25c63cfe26af05337e03e2 100644
--- a/pkgs/suckless/amused/default.nix
+++ b/pkgs/suckless/amused/default.nix
@@ -1,36 +1,25 @@
-{ lib, stdenv, fetchFromGitHub, bmake, libbsd, imsg-compat, sndio, libevent, flac, mpg123, libvorbis, opusfile }:
+{ lib, stdenv, fetchFromGitHub, bmake, pkg-config, libbsd, imsg-compat, sndio, libevent, flac, mpg123, libvorbis, opusfile }:
stdenv.mkDerivation rec {
pname = "amused";
src = fetchFromGitHub {
owner = "omar-polo";
repo = pname;
};
buildInputs = [ libbsd libevent imsg-compat sndio flac mpg123 libvorbis opusfile ];
meta = with lib; {
description = "music player daemon NIH";
inherit (src.meta) homepage;
license = licenses.isc;
maintainers = [ maintainers.sikmir ];
platforms = platforms.unix;
};
}
diff --git a/pkgs/suckless/amused/linux.patch b/pkgs/suckless/amused/linux.patch
deleted file mode 100644
index ac9c3f35e7f923515d1f31687d10d72e6d4f3a28..0000000000000000000000000000000000000000
--- a/pkgs/suckless/amused/linux.patch
+++ /dev/null
@@ -1,94 +0,0 @@
-diff --git i/Makefile w/Makefile
-index 5a598e3..af94705 100644
---- i/Makefile
-+++ w/Makefile
-@@ -6,7 +6,7 @@ SRCS= amused.c control.c log.c xmalloc.c player.c ctl.c playlist.c \
--LDADD = -levent -lm -lsndio -lutil \
-+LDADD = -levent -lm -lsndio -lutil -lbsd -limsg \
-@@ -16,7 +16,7 @@ BINDIR ?= ${PREFIX}/bin
--CFLAGS += -Werror -Wall -Wstrict-prototypes -Wunused-variable
-+CFLAGS += -Wall -Wstrict-prototypes -Wunused-variable
-diff --git i/amused.h w/amused.h
-index 81634a0..ce89859 100644
---- i/amused.h
-+++ w/amused.h
-@@ -17,6 +17,18 @@
-+#ifndef OpenBSD
-+#define pledge(a, b) (0)
-+#endif
-+
-+#ifndef __dead
-+#define __dead attribute((noreturn))
-+#endif
-+
-+#ifndef INFTIM
-+#define INFTIM -1
-+#endif
-+
-diff --git i/ctl.c w/ctl.c
-index 03560a0..e4964dc 100644
---- i/ctl.c
-+++ w/ctl.c
-@@ -824,7 +824,7 @@ ctl(int argc, char **argv)
-- optreset = 1;
-+ //optreset = 1;
-diff --git i/log.h w/log.h
-index 0fa046f..c2a424d 100644
---- i/log.h
-+++ w/log.h
-@@ -21,6 +21,10 @@
-+#ifndef __dead
-+#define __dead attribute((noreturn))
-+#endif
-+
-diff --git i/player.c w/player.c
-index a1a9f1a..917dfe2 100644
---- i/player.c
-+++ w/player.c
-@@ -254,7 +254,7 @@ play(const void *buf, size_t len)
if (player_pfds[0].revents & (POLLHUP|POLLIN)) {
if (player_shouldstop()) {
-- sio_flush(hdl);
-+ sio_stop(hdl);
stopped = 1;
return 0;
}
-@@ -281,6 +281,7 @@ player(int debug, int verbose)
-+ setproctitle_init();
application/octet-stream
This content has been proxied by September (3851b).