bug#18898: Two portability patches

2014-10-29 Thread Thomas Klausner
coll_l, but not uselocale. Please merge them. Thanks, Thomas >From e984213342d68ab81932baff9c8896bcee2ea704 Mon Sep 17 00:00:00 2001 From: Thomas Klausner Date: Thu, 30 Oct 2014 00:33:39 +0100 Subject: [PATCH 2/2] test does not generally support '==' as comparison operator. It's a b

bug#24002: configure: missing call to AC_C_FLEXIBLE_ARRAY_MEMBER

2016-07-16 Thread Thomas Klausner
Hi! On NetBSD, the build of guile-2.0.12 breaks early because FLEXIBLE_ARRAY_MEMBER is not defined: In file included from strftime.c:33:0: time-internal.h:48:14: error: 'FLEXIBLE_ARRAY_MEMBER' undeclared here (not in a function) char abbrs[FLEXIBLE_ARRAY_MEMBER]; ^ config.h has

bug#24003: guile-2.0.12: test failure on NetBSD: test-loose-ends

2016-07-16 Thread Thomas Klausner
Hi! When running the self-tests on NetBSD-7.99.34/amd64, I see: PASS: test-language error: interrupted by the user PASS: test-guild-compile PASS: test-num2integral PASS: test-round PASS: test-list PASS: test-unwind PASS: test-conversion [1] Segmentation fault (core dumped) top_srcdir="../ F

bug#24003: guile-2.0.12: test failure on NetBSD: test-loose-ends

2016-07-16 Thread Thomas Klausner
On Sat, Jul 16, 2016 at 12:22:22PM +0200, Andy Wingo wrote: > > "/scratch/lang/guile20/work/guile-2.0.12/test-suite/standalone/test-loose-ends": > > not in executable format: File format not recognized > > I think that because test-loose-ends is built with libtool, the right > incantation here is

bug#25921: pkgsrc patches: Dragonfly support

2017-03-01 Thread Thomas Klausner
Hi! We have a couple of patches in pkgsrc for guile which I'd like to see merged. The attached ones are for supporting DragonFly (https://www.dragonflybsd.org/) better. Can you please merge them? Thomas $NetBSD: patch-lib_signal.in.h,v 1.1 2016/12/03 03:15:33 marino Exp $ DragonFly support. -

bug#25922: pkgsrc patches: older Darwin support

2017-03-01 Thread Thomas Klausner
Another pkgsrc patch concerns itself with supporting older Darwin releases, attached. Can you please merge it? Thomas $NetBSD: patch-libguile_stime.c,v 1.1 2016/10/19 14:56:17 adam Exp $ Fix building on Darwin. --- libguile/stime.c.orig 2016-10-19 07:55:02.0 + +++ libguile/stim

bug#25923: pkgsrc patches: improve mkostemp support

2017-03-01 Thread Thomas Klausner
And the final pkgsrc patch tries to use only the flags for mkostemp that are supported on the operating system, in particular for Darwin and NetBSD. Please merge this one as well. Thanks, Thomas $NetBSD: patch-libguile_filesys.c,v 1.3 2017/02/21 15:55:28 gdt Exp $ When using mkostemp (an interf

bug#24002: configure: missing call to AC_C_FLEXIBLE_ARRAY_MEMBER

2017-03-15 Thread Thomas Klausner
On Wed, Mar 01, 2017 at 09:26:52AM +0100, Andy Wingo wrote: > Hi Thomas, > > On Sat 16 Jul 2016 11:13, Thomas Klausner writes: > > > On NetBSD, the build of guile-2.0.12 breaks early because > > FLEXIBLE_ARRAY_MEMBER is not defined: > > > > In file inc

bug#25921: pkgsrc patches: Dragonfly support

2017-03-15 Thread Thomas Klausner
On Tue, Mar 14, 2017 at 12:27:18PM +0100, Andy Wingo wrote: > On Wed 01 Mar 2017 21:27, Thomas Klausner writes: > > > $NetBSD: patch-lib_signal.in.h,v 1.1 2016/12/03 03:15:33 marino Exp $ > > > > DragonFly support. > > > > --- lib/signal.in.h.orig

bug#25922: pkgsrc patches: older Darwin support

2017-03-15 Thread Thomas Klausner
On Tue, Mar 14, 2017 at 12:30:32PM +0100, Andy Wingo wrote: > On Wed 01 Mar 2017 21:28, Thomas Klausner writes: > > > Another pkgsrc patch concerns itself with supporting older Darwin > > releases, attached. Can you please merge it? > > Thomas > > > > $NetBS

bug#26123: guile-2.2.0: AI_ADDRCONFIG

2017-03-16 Thread Thomas Klausner
Hi! When compiling guile-2.2.0 on NetBSD_7.99.65/amd64, I see: SNARF net_db.doc net_db.c:468:***Missing or erroneous `#define FUNC_NAME s_AI_ADDRCONFIG);' net_db.c:488:***Missing or erroneous #undef for AI_ADDRCONFIG);: Compilation continues even though this looks like an error. Thomas

bug#26122: guile-2.2.0: locale redefinitions warnings

2017-03-16 Thread Thomas Klausner
Hi! When compiling guile-2.2.0 on NetBSD-7.99.65/amd64, I see the following warnings: i18n.c:131:0: warning: "LC_CTYPE_MASK" redefined # define LC_CTYPE_MASK 1 ^ In file included from ../lib/locale.h:38:0, from i18n.c:36: /usr/include/locale.h:99:0: note: this is the location

bug#26121: guile-2.2.0: date -d argument problem

2017-03-16 Thread Thomas Klausner
Hi! When building guile-2.2.0 on NetBSD, I see: gmake[2]: Entering directory '/scratch/lang/guile21/work/guile-2.2.0/libguile' date: Expected digit in canonical time date: -d date: ^ Usage: date [-ajnu] [-d date] [-r seconds] [+format] [[CC]yy]mm]dd]HH]MM[.SS]] GEN libpath.h Thomas

bug#29940: guile-2.2.3 does not work pax mprotect

2018-01-02 Thread Thomas Klausner
Hi! guile-2.2.3 does not compile on NetBSD 8 and NetBSD-current. During build, it writes stuff like this for basically every file: gmake[2]: Entering directory '/scratch/lang/guile22/work/guile-2.2.3/bootstrap' BOOTSTRAP GUILEC ice-9/eval.go ;;; WARNING: loading compiled file /scratch/lang/gui

bug#29940: Acknowledgement (guile-2.2.3 does not work pax mprotect)

2018-01-08 Thread Thomas Klausner
The attached patch is a workaround: we can mark the guile binary to not use the PAX mprotect feature using paxctl +m. On Linux, paxctl has different flags, so I wrapped it in an "if", and it uses knowledge of libtool internals, so it is not a good idea to integrate this patch as-is. Better would b

bug#29940: Acknowledgement (guile-2.2.3 does not work pax mprotect)

2018-01-08 Thread Thomas Klausner
Jörg Sonnenberger just committed the attached patch to pkgsrc, which fixes the problem for me as well, with the commit message: "Use correct mmap permissions for later PROT_WRITE mprotect." Thomas $NetBSD: patch-libguile_loader.c,v 1.1 2018/01/08 22:37:08 joerg Exp $ --- libguile/loader.c.orig

bug#40075: guile-3.0.1: --without-threads build failure on NetBSD

2020-03-15 Thread Thomas Klausner
Hi! guile-2.2.7 builds fine, but when I try to build guile 3.0.1 --without-threads on NetBSD-9.99.49/amd64, I see: CCLD libguile-3.0.la ld: .libs/libguile_3.0_la-posix.o: in function `scm_tmpnam': /scratch/wip/guile30/work/guile-3.0.1/libguile/posix.c:1605: warning: warning: tmpnam() possi

bug#61957: NetBSD: JIT doesn't work

2023-03-04 Thread Thomas Klausner
Hi! guile 3.0.9 on NetBSD 10.99.2/amd64 defaults to enabling the JIT, butthen fails to build with: CCLD libguile-3.0.la ld: .libs/libguile_3.0_la-posix.o: in function `scm_tmpnam': /scratch/lang/guile30/work/guile-3.0.9/libguile/posix.c:1757: warning: warning: tmpnam() possibly used unsafe

guile-1.6.1 & NetBSD

2003-01-21 Thread Thomas Klausner
Hi! I tried compiling guile-1.6.1 on NetBSD-1.6L/macppc, and had to add the attached patch to make it compile. Since I don't know much about guile, I just tried the 'check' target to test usability, and got the attached result, which didn't look so bad; for comparison, the result on NetBSD-1.6L/i