pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/electric-fence



Module Name:    pkgsrc
Committed By:   mrg
Date:           Thu Mar 28 02:12:45 UTC 2019

Modified Files:
        pkgsrc/devel/electric-fence: Makefile

Log Message:
turn off builtins for: calloc, malloc, memalign, realloc, valloc, and free.

bump pkg revision.

this makes efence work with modern compilers.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 pkgsrc/devel/electric-fence/Makefile

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

Modified files:

Index: pkgsrc/devel/electric-fence/Makefile
diff -u pkgsrc/devel/electric-fence/Makefile:1.6 pkgsrc/devel/electric-fence/Makefile:1.7
--- pkgsrc/devel/electric-fence/Makefile:1.6    Tue Aug  1 17:40:10 2017
+++ pkgsrc/devel/electric-fence/Makefile        Thu Mar 28 02:12:45 2019
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.6 2017/08/01 17:40:10 wiz Exp $
+# $NetBSD: Makefile,v 1.7 2019/03/28 02:12:45 mrg Exp $
 
 DISTNAME=              electric-fence_2.1.13-0.1
 PKGNAME=               electric-fence-2.1.13.0.1
-PKGREVISION=           1
+PKGREVISION=           2
 CATEGORIES=            devel
 MASTER_SITES=          http://perens.com/works/software/ElectricFence/
 
@@ -29,5 +29,14 @@ CFLAGS+=             -g -DPAGE_PROTECTION_VIOLATED_
 CFLAGS+=               -g
 .endif
 
+.if ${OPSYS} == "NetBSD"
+CFLAGS+=       -fno-builtin-calloc \
+               -fno-builtin-malloc \
+               -fno-builtin-memalign \
+               -fno-builtin-realloc \
+               -fno-builtin-valloc \
+               -fno-builtin-free
+.endif
+
 .include "../../mk/pthread.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index