mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-09 14:33:22 +00:00
571c71e6f7
We are migrating packages that meet below requirements: 1. using `callPackage` 2. called path is a directory 3. overriding set is empty (`{ }`) 4. not containing path expressions other than relative path (to makenixpkgs-vet happy) 5. not referenced by nix files outside of the directory, other than`pkgs/top-level/all-packages.nix` 6. not referencing nix files outside of the directory 7. not referencing `default.nix` (since it's changed to `package.nix`) 8. `outPath` doesn't change after migration The tool is here: https://github.com/Aleksanaa/by-name-migrate.
36 lines
925 B
Diff
36 lines
925 B
Diff
--- a/daemons/lircd.cpp
|
|
+++ b/daemons/lircd.cpp
|
|
@@ -110,6 +110,17 @@ int clock_gettime(int clk_id, struct timespec *t){
|
|
#endif
|
|
#define WHITE_SPACE " \t"
|
|
|
|
+/* Defines removed in linux-headers-5.18:
|
|
+ https://sourceforge.net/p/lirc/git/merge-requests/45/
|
|
+ */
|
|
+#ifndef LIRC_CAN_SET_REC_FILTER
|
|
+# define LIRC_CAN_SET_REC_FILTER 0x08000000
|
|
+#endif
|
|
+
|
|
+#ifndef LIRC_CAN_NOTIFY_DECODE
|
|
+# define LIRC_CAN_NOTIFY_DECODE 0x01000000
|
|
+#endif
|
|
+
|
|
static const logchannel_t logchannel = LOG_APP;
|
|
|
|
/** How long we sleep while waiting for busy write sockets. */
|
|
--- a/tools/lirc-lsplugins.cpp
|
|
+++ b/tools/lirc-lsplugins.cpp
|
|
@@ -21,6 +21,12 @@
|
|
#include "config.h"
|
|
#include "lirc_private.h"
|
|
|
|
+/* Defines removed in linux-headers-5.18:
|
|
+ https://sourceforge.net/p/lirc/git/merge-requests/45/
|
|
+ */
|
|
+#ifndef LIRC_CAN_NOTIFY_DECODE
|
|
+# define LIRC_CAN_NOTIFY_DECODE 0x01000000
|
|
+#endif
|
|
|
|
#define USAGE \
|
|
"\nSynopsis:\n" \
|