freebsd-ports/x11/libinput/files/patch-tools_libinput-record.c
Guido Falsi 5e70841f87 x11/libinput: Add patch to fix build on recent head
This fixes build after src commit af93fea710385b2b11f0cabd377e7ed6f3d97c34

PR:		273354
Approved by:	x11 (manu)
2023-08-27 00:47:17 +02:00

20 lines
360 B
C

--- 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 {