git: 5e70841f87b2 - main - x11/libinput: Add patch to fix build on recent head

From: Guido Falsi <madpilot_at_FreeBSD.org>
Date: Sat, 26 Aug 2023 22:48:29 UTC
The branch main has been updated by madpilot:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5e70841f87b2d316acc170b0f550e4eab205b6e2

commit 5e70841f87b2d316acc170b0f550e4eab205b6e2
Author:     Guido Falsi <madpilot@FreeBSD.org>
AuthorDate: 2023-08-26 22:47:17 +0000
Commit:     Guido Falsi <madpilot@FreeBSD.org>
CommitDate: 2023-08-26 22:47:17 +0000

    x11/libinput: Add patch to fix build on recent head
    
    This fixes build after src commit af93fea710385b2b11f0cabd377e7ed6f3d97c34
    
    PR:             273354
    Approved by:    x11 (manu)
---
 x11/libinput/files/patch-tools_libinput-record.c | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/x11/libinput/files/patch-tools_libinput-record.c b/x11/libinput/files/patch-tools_libinput-record.c
new file mode 100644
index 000000000000..0b67efceed08
--- /dev/null
+++ b/x11/libinput/files/patch-tools_libinput-record.c
@@ -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 {