View | Details | Raw Unified | Return to bug 209945 | Differences between
and this patch

Collapse All | Expand All

(-)devel/jsoncpp/Makefile (-6 / +6 lines)
Lines 2-9 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	jsoncpp
4
PORTNAME=	jsoncpp
5
DISTVERSION=	1.7.2
5
DISTVERSION=	1.7.3
6
PORTREVISION=	1
7
CATEGORIES=	devel
6
CATEGORIES=	devel
8
7
9
MAINTAINER=	yuri@rawbw.com
8
MAINTAINER=	yuri@rawbw.com
Lines 15-21 Link Here
15
USE_GITHUB=	yes
14
USE_GITHUB=	yes
16
GH_ACCOUNT=	open-source-parsers
15
GH_ACCOUNT=	open-source-parsers
17
16
18
USES=		dos2unix scons
17
USES=		compiler:features dos2unix scons
19
USE_LDCONFIG=	yes
18
USE_LDCONFIG=	yes
20
19
21
MAKE_ARGS=	platform=linux-gcc
20
MAKE_ARGS=	platform=linux-gcc
Lines 22-30 Link Here
22
21
23
.include <bsd.port.pre.mk>
22
.include <bsd.port.pre.mk>
24
23
25
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1000000
24
.if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 33 || \
26
# NOTE Certain newest compiler features unlock some parts of jsoncpp API (ex. see JSON_HAS_RVALUE_REFERENCES).
25
    ${COMPILER_TYPE} == gcc   && ${COMPILER_VERSION} >= 48
27
# Use c++11 above to be most inclusive.
26
# Certain new compiler features unlock parts of jsoncpp API (ex. see JSON_HAS_RVALUE_REFERENCES).
27
# Use c++11 above to be the most inclusive.
28
USES+=		compiler:c++11-lang
28
USES+=		compiler:c++11-lang
29
CXXFLAGS+=	--std=c++11
29
CXXFLAGS+=	--std=c++11
30
.endif
30
.endif
(-)devel/jsoncpp/distinfo (-2 / +3 lines)
Lines 1-2 Link Here
1
SHA256 (open-source-parsers-jsoncpp-1.7.2_GH0.tar.gz) = 2179a7df19c1c6dc87e02c65b847efc914625a9b87df3e443d9610fc70c0f557
1
TIMESTAMP = 1467669507
2
SIZE (open-source-parsers-jsoncpp-1.7.2_GH0.tar.gz) = 205391
2
SHA256 (open-source-parsers-jsoncpp-1.7.3_GH0.tar.gz) = 1cfcad14054039ba97c22531888796cb9369e6353f257aacaad34fda956ada53
3
SIZE (open-source-parsers-jsoncpp-1.7.3_GH0.tar.gz) = 205738
(-)devel/jsoncpp/files/patch-include_json_config.h (-11 lines)
Lines 1-11 Link Here
1
--- include/json/config.h.orig	2016-05-09 23:16:22 UTC
2
+++ include/json/config.h
3
@@ -77,7 +77,7 @@
4
 
5
 #endif // defined(_MSC_VER)
6
 
7
-#if defined(_MSC_VER) && _MSC_VER <= 1600 // MSVC <= 2010
8
+#if defined(__FreeBSD__) || (defined(_MSC_VER) && _MSC_VER <= 1600) // MSVC <= 2010
9
 # define JSONCPP_OVERRIDE
10
 #else
11
 # define JSONCPP_OVERRIDE override
(-)devel/jsoncpp/pkg-plist (-1 / +1 lines)
Lines 12-16 Link Here
12
lib/libjsoncpp.a
12
lib/libjsoncpp.a
13
lib/libjsoncpp.so
13
lib/libjsoncpp.so
14
lib/libjsoncpp.so.1
14
lib/libjsoncpp.so.1
15
lib/libjsoncpp.so.1.7.2
15
lib/libjsoncpp.so.1.7.3
16
libdata/pkgconfig/jsoncpp.pc
16
libdata/pkgconfig/jsoncpp.pc

Return to bug 209945