x11/libinput: Add patch to fix build on recent head

This fixes build after src commit af93fea710385b2b11f0cabd377e7ed6f3d97c34

PR:		273354
Approved by:	x11 (manu)
This commit is contained in:
Guido Falsi 2023-08-27 00:47:17 +02:00
parent d575a648d3
commit 5e70841f87

View file

@ -0,0 +1,20 @@
--- tools/libinput-record.c.orig 2023-03-25 17:59:47 UTC
+++ tools/libinput-record.c
@@ -2577,7 +2577,7 @@ enum fposition {
enum fposition {
ERROR,
- NOFILE,
+ NO_FILE,
FIRST,
LAST,
};
@@ -2633,7 +2633,7 @@ find_output_file(int argc, char *argv[], const char **
return ERROR;
}
#undef _m
- return NOFILE;
+ return NO_FILE;
}
enum options {