chicken-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-hackers] Patch to make chicken build on DragonFlyBSD again


From: Markus Pfeiffer
Subject: [Chicken-hackers] Patch to make chicken build on DragonFlyBSD again
Date: Wed, 20 Sep 2017 17:17:04 +0100
User-agent: mu4e 0.9.16; emacs 25.2.1

Hi,

the following patch makes chicken build for DragonFly again (and hence
after a release would make it possible to include it in dports, etc).

Cheers,
Markus

diff --git a/Makefile.bsd b/Makefile.bsd
index 09c68ac5..ca4ebd8f 100644
--- a/Makefile.bsd
+++ b/Makefile.bsd
@@ -102,7 +102,7 @@ ifdef SYMBOLGC
        echo "#define C_COLLECT_ALL_SYMBOLS" >>$@
 endif
 # Of the BSDs, only FreeBSD hates composable feature macros...
-       echo "#ifndef __FreeBSD__" >> $@
+       echo "#if !defined(__FreeBSD__) && !defined(__DragonFly__)" >> $@
        echo "# define C_USE_STD_FEATURE_MACROS" >> $@
        echo "#endif" >> $@
        cat chicken-defaults.h >>$@

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]