[packages/mtx] Missing patch
arekm
arekm at pld-linux.org
Mon Mar 9 18:35:44 CET 2026
commit 335027a6552104d5d8b95a703e42b1283a3495dd
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Mon Mar 9 18:35:23 2026 +0100
Missing patch
mtx-c23-bool.patch | 12 ++++++++++++
1 file changed, 12 insertions(+)
---
diff --git a/mtx-c23-bool.patch b/mtx-c23-bool.patch
new file mode 100644
index 0000000..6377df2
--- /dev/null
+++ b/mtx-c23-bool.patch
@@ -0,0 +1,12 @@
+--- mtx-1.3.12/mtx.h.orig 2008-08-20 22:02:54.000000000 +0200
++++ mtx-1.3.12/mtx.h 2024-11-20 00:00:00.000000000 +0100
+@@ -222,7 +222,8 @@
+ #define Input 0
+ #define Output 1
+ #else
+-typedef enum { false, true } boolean;
++#include <stdbool.h>
++typedef bool boolean;
+
+ typedef enum { Input, Output } Direction_T;
+ #endif
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/mtx.git/commitdiff/335027a6552104d5d8b95a703e42b1283a3495dd
More information about the pld-cvs-commit
mailing list