Pullup ticket #4458 - requested by obache textproc/json-c: bug fix patch Revisions pulled up: - textproc/json-c/Makefile 1.10 - textproc/json-c/hacks.mk 1.1 --- Module Name: pkgsrc Committed By: obache Date: Thu Jul 17 09:18:27 UTC 2014 Modified Files: pkgsrc/textproc/json-c: Makefile Added Files: pkgsrc/textproc/json-c: hacks.mk Log Message: Add hack for using gcc builtin atomic function, missing for i386. PR pkg/48990. Bump PKGREVISION.diff -r1.9 -r1.9.2.1 pkgsrc/textproc/json-c/Makefile
(tron)
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.9 2014/05/10 04:09:41 pho Exp $
+# $NetBSD: Makefile,v 1.9.2.1 2014/07/17 22:32:01 tron Exp $
DISTNAME= json-c-0.12
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= textproc
MASTER_SITES= https://s3.amazonaws.com/json-c_releases/releases/
# $NetBSD: hacks.mk,v 1.1.2.2 2014/07/17 22:32:01 tron Exp $
.if !defined(JSON_C_HACKS_MK)
JSON_C_HACKS_MK= # defined
# json-c>=0.12 depends on builtin functions which enabled with i486 and
# later with GCC.
#
.include "../../mk/compiler.mk"
.if !empty(MACHINE_PLATFORM:MNetBSD-[0-5].*-i386) && !empty(CC_VERSION:Mgcc-*)
GNU_ARCH.i386= i486
CFLAGS+= -march=i486
.endif
.endif