[packages/rc] missing patch

arekm arekm at pld-linux.org
Mon Mar 9 19:52:57 CET 2026


commit 2c48fed45a048dd017230023bbd3e896a20cc534
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Mon Mar 9 19:52:45 2026 +0100

    missing patch

 rc-c23-bool.patch | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
---
diff --git a/rc-c23-bool.patch b/rc-c23-bool.patch
new file mode 100644
index 0000000..a9a8210
--- /dev/null
+++ b/rc-c23-bool.patch
@@ -0,0 +1,17 @@
+--- rc-1.7.4/rc.h.orig	2015-06-06 18:33:20.000000000 +0200
++++ rc-1.7.4/rc.h	2025-09-29 00:00:00.000000000 +0200
+@@ -44,9 +44,14 @@
+ 	eError, eBreak, eReturn, eVarstack, eArena, eFifo, eFd
+ } ecodes;
+
++#if __STDC_VERSION__ >= 202311L
++#define FALSE false
++#define TRUE true
++#else
+ typedef enum bool {
+ 	FALSE, TRUE
+ } bool;
++#endif
+
+ typedef enum redirtype {
+ 	rFrom, rCreate, rAppend, rHeredoc, rHerestring
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/rc.git/commitdiff/2c48fed45a048dd017230023bbd3e896a20cc534



More information about the pld-cvs-commit mailing list