aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido Falsi <madpilot@FreeBSD.org>2023-08-26 22:47:17 +0000
committerGuido Falsi <madpilot@FreeBSD.org>2023-08-26 22:47:17 +0000
commit5e70841f87b2d316acc170b0f550e4eab205b6e2 (patch)
tree5f3c561da261278469b398e1e7e73e071e17b5b3
parentd575a648d38a7946927562a662207dc1ee93f6ab (diff)
downloadports-5e70841f87b2d316acc170b0f550e4eab205b6e2.tar.gz
ports-5e70841f87b2d316acc170b0f550e4eab205b6e2.zip
x11/libinput: Add patch to fix build on recent head
This fixes build after src commit af93fea710385b2b11f0cabd377e7ed6f3d97c34 PR: 273354 Approved by: x11 (manu)
-rw-r--r--x11/libinput/files/patch-tools_libinput-record.c20
1 files changed, 20 insertions, 0 deletions
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 {