artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67dbf7d
)
Do not neuter __attribute__ with __STRICT_ANSI__
author
tb
<tb@openbsd.org>
Tue, 1 Nov 2022 20:26:20 +0000
(20:26 +0000)
committer
tb
<tb@openbsd.org>
Tue, 1 Nov 2022 20:26:20 +0000
(20:26 +0000)
This broke readline support in newer Pythons and generally seems a
bad idea. Upstream have removed this conditional in 5.0.
ok millert
gnu/lib/libreadline/rlstdc.h
patch
|
blob
|
history
diff --git
a/gnu/lib/libreadline/rlstdc.h
b/gnu/lib/libreadline/rlstdc.h
index
d6a22b3
..
847fa9c
100644
(file)
--- a/
gnu/lib/libreadline/rlstdc.h
+++ b/
gnu/lib/libreadline/rlstdc.h
@@
-37,7
+37,7
@@
#endif
#ifndef __attribute__
-# if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 8)
|| __STRICT_ANSI__
+# if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 8)
# define __attribute__(x)
# endif
#endif