uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
35
pkgs/development/libraries/lirc/linux-headers-5.18.patch
Normal file
35
pkgs/development/libraries/lirc/linux-headers-5.18.patch
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
--- 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" \
|
||||
Loading…
Add table
Add a link
Reference in a new issue