From ce437c7488cd9f9c89ee0da498ecc75d8084d5de Mon Sep 17 00:00:00 2001 From: Daniel Brunner Date: Fri, 2 Jun 2017 16:18:04 +0200 Subject: [PATCH 1/2] fixes wrong type for iconv This fixes issue #178, on FreeBSD the type should be `char **`. original commit: cc60b7d951770b0635186333f1c55d1704686630 --- c/version.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/c/version.h b/c/version.h index 30bd8bd9c4..7be60a1212 100644 --- a/c/version.h +++ b/c/version.h @@ -140,7 +140,7 @@ typedef int tputsputcchar; #define NSECATIME(sb) (sb).st_atimespec.tv_nsec #define NSECCTIME(sb) (sb).st_ctimespec.tv_nsec #define NSECMTIME(sb) (sb).st_mtimespec.tv_nsec -#define ICONV_INBUF_TYPE const char ** +#define ICONV_INBUF_TYPE char ** #define UNUSED __attribute__((__unused__)) #endif From 46651d2f22ab55689b2c5d483f1082bf0dc2846b Mon Sep 17 00:00:00 2001 From: Daniel Brunner Date: Fri, 2 Jun 2017 16:28:14 +0200 Subject: [PATCH 2/2] adds entry to LOG original commit: b6951c9b8b55a63c304ca226caee632c4792931d --- LOG | 2 ++ 1 file changed, 2 insertions(+) diff --git a/LOG b/LOG index f3954e4524..6d17a5c72d 100644 --- a/LOG +++ b/LOG @@ -477,3 +477,5 @@ - fix strip-fasl-file for immutable strings and vectors, fix an $oops call, and fix a vector-index increment in hashing strip.ss, 7.ss, newhash.ss, misc.ms +- fix c/version.h for FreeBDS (machine types i3fb, ti3fb, a6fb, ta6fb) +