pkgsrc-Changes archive

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

CVS commit: pkgsrc/editors/emacs24



Module Name:    pkgsrc
Committed By:   marino
Date:           Sat Dec  3 05:00:46 UTC 2016

Modified Files:
        pkgsrc/editors/emacs24: Makefile.common

Log Message:
editors/emacs24: Fix build on DragonFly

I believe the segfault seen during building on DragonFly is a common one
seen by many platforms using GCC 5.x and later.  It's been fixed on Emacs
25 though.  Even though it's a generic GCC 5+ fix, limit it to DragonFly
only for now.  Taken from DPorts (from archives)


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 pkgsrc/editors/emacs24/Makefile.common

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/editors/emacs24/Makefile.common
diff -u pkgsrc/editors/emacs24/Makefile.common:1.12 pkgsrc/editors/emacs24/Makefile.common:1.13
--- pkgsrc/editors/emacs24/Makefile.common:1.12 Mon Sep  7 12:02:05 2015
+++ pkgsrc/editors/emacs24/Makefile.common      Sat Dec  3 05:00:46 2016
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.12 2015/09/07 12:02:05 jperkin Exp $
+# $NetBSD: Makefile.common,v 1.13 2016/12/03 05:00:46 marino Exp $
 #
 # used by editors/emacs24/Makefile
 # used by editors/emacs24-nox11/Makefile
@@ -52,6 +52,10 @@ CHECK_WRKREF_SKIP+=  bin/emacs-${EMACS_VE
 
 .include "../../mk/bsd.prefs.mk"
 
+.if ${OPSYS} == "DragonFly"
+CFLAGS+=       -fno-builtin-malloc     # Not really DF, but GCC >= 5.0
+.endif
+
 .if (${OPSYS} == "NetBSD") && \
     !exists(/usr/lib/libgcc_s.so) && !exists(/usr/lib/libgcc.a)
 # NetBSD with native Clang doesn't provide libgcc, everything is in libc.



Home | Main Index | Thread Index | Old Index