summaryrefslogtreecommitdiffstats
path: root/ChangeLog
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2012-04-10 20:36:11 -0700
committerKaz Kylheku <kaz@kylheku.com>2012-04-10 20:36:11 -0700
commit7b825e541377fc8a6f6ec8e490187c7b19bda6c3 (patch)
tree2c6aa914a917c44ffd88e0d5afa0a4822728dbd6 /ChangeLog
parent38abf85defad8a15899687e35c7037bb2ddf42b0 (diff)
downloadtxr-7b825e541377fc8a6f6ec8e490187c7b19bda6c3.tar.gz
txr-7b825e541377fc8a6f6ec8e490187c7b19bda6c3.tar.bz2
txr-7b825e541377fc8a6f6ec8e490187c7b19bda6c3.zip
More NetBSD porting.
* Makefile (EXTRA_FLAGS): Handy new variable for additional ad-hoc CFLAGS. Needed by a new test in configure. * configure: Check for annoying warnings about char being used as an array subscript when calling the macros from <ctype.h>. If this occurs, suppress it by #undef-ing the macros. (lang_flags): Switching fromm _XOPEN_SOURCE to _XOPEN_SOURCE=2 because this is needed on NetBSD to obtain declarations of popen and pclose. * stream.c (pipe_close): If we don't have the WIFCONTINUED macro, then define it to expand to zero. It's absent on NetBSD and they already seem to have a hack for this because there is a warning about the function not being defined, but then the program links anyway. Let's do it properly and not rely on their hack.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog20
1 files changed, 20 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 838e5dbc..2659a307 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,25 @@
2012-04-10 Kaz Kylheku <kaz@kylheku.com>
+ More NetBSD porting.
+
+ * Makefile (EXTRA_FLAGS): Handy new variable for additional
+ ad-hoc CFLAGS. Needed by a new test in configure.
+
+ * configure: Check for annoying warnings about char being used
+ as an array subscript when calling the macros from <ctype.h>.
+ If this occurs, suppress it by #undef-ing the macros.
+ (lang_flags): Switching fromm _XOPEN_SOURCE to _XOPEN_SOURCE=2
+ because this is needed on NetBSD to obtain declarations of
+ popen and pclose.
+
+ * stream.c (pipe_close): If we don't have the WIFCONTINUED macro,
+ then define it to expand to zero. It's absent on NetBSD and they
+ already seem to have a hack for this because there is a warning about
+ the function not being defined, but then the program links anyway.
+ Let's do it properly and not rely on their hack.
+
+2012-04-10 Kaz Kylheku <kaz@kylheku.com>
+
* arith.c (INT_PTR_MAX_MP): New static variable.
(in_int_ptr_range): New function.
(arith_init): Initialize INT_PTR_MAX_MP.